Retrieves subscription details.
If you have the new Catalog experience enabled, some subscriptions may not have an associated product. For subscriptions without an associated product, 'product', 'product_price_point_id', and 'product_price_point_type' are returned as 'null'.
Self-Service Page token for the subscription is not returned by default. If this information is desired, the include[]=self_service_page_token parameter must be provided with the request.
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
The Chargify id of the subscription.
Allows including additional data in the response. Use in query: include[]=coupons&include[]=self_service_page_token.
application/json
curl -X GET -G \ --url 'https://subdomain.chargify.com/subscriptions/1.json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN'