Lists components applied to each subscription.
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
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 20. The maximum allowed values is 200; any per_page value over 200 will be changed to 200.
Use in query per_page=200.
value <= 20020The attribute by which to sort. Use in query: sort=updated_at.
Value in
Controls the order in which results are returned.
Use in query direction=asc.
Value in
Filter to use for List Subscription Components For Site operation
The type of filter you'd like to apply to your search. Use in query: date_field=updated_at.
Value in
The start date (format YYYY-MM-DD) with which to filter the date_field. Returns components with a timestamp at or after midnight (12:00:00 AM) in your site’s time zone on the date specified. Use in query start_date=2011-12-15.
The start date and time (format YYYY-MM-DD HH:MM:SS) with which to filter the date_field. Returns components with a timestamp at or after exact time provided in query. You can specify timezone in query - otherwise your site''s time zone will be used. If provided, this parameter will be used instead of start_date. Use in query start_datetime=2022-07-01 09:00:05.
The end date (format YYYY-MM-DD) with which to filter the date_field. Returns components with a timestamp up to and including 11:59:59PM in your site’s time zone on the date specified. Use in query end_date=2011-12-16.
The end date and time (format YYYY-MM-DD HH:MM:SS) with which to filter the date_field. Returns components with a timestamp at or before exact time provided in query. You can specify timezone in query - otherwise your site''s time zone will be used. If provided, this parameter will be used instead of end_date. Use in query end_datetime=2022-07-01 09:00:05.
Allows fetching components allocation with matching subscription id based on provided ids. Use in query subscription_ids=1,2,3.
1 <= length <= 2001 <= items <= 200Allows fetching components allocation only if price point id is present. Use in query price_point_ids=not_null.
Value in
Allows fetching components allocation with matching product family id based on provided ids. Use in query product_family_ids=1,2,3.
Allows including additional data in the response. Use in query include=subscription,historic_usages.
Value in
application/json
curl -X GET -G \ --url 'https://subdomain.chargify.com/subscriptions_components.json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN'