Lists segments created for a given price point, in order of creation.
You can pass page and per_page parameters in order to access all of the segments. By default it will return 30 records. You can set per_page to 200 at most.
You may specify component and/or price point by using either the numeric ID or the handle:gold syntax.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
ID or Handle for the Component
ID or Handle for the Price Point belonging to the Component
Result records are organized in pages. By default, the first page of results is displayed. The page parameter specifies a page number of results to fetch. You can start navigating through the pages to consume the results. You do this by passing in a page parameter. Retrieve the next page by adding ?page=2 to the query string. If there are no results to return, then an empty result set will be returned.
Use in query page=1.
1 <= value1This parameter indicates how many records to fetch in each request. Default value is 30. The maximum allowed values is 200; any per_page value over 200 will be changed to 200.
Use in query per_page=200.
value <= 20030Filter to use for List Segments for a Price Point operation
application/json
application/json
curl -X GET -G \ --url 'https://subdomain.chargify.com/components/COMPONENT_ID/price_points/PRICE_POINT_ID/segments.json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN'