I’m importing orders for a store that sells products including subscription beauty products. I need to retrieve the subscription details for these orders using the Shopify REST API.
Could someone please guide me on how to access subscription information for orders through the REST API? Are there specific endpoints or fields I should be aware of for fetching these details?
Hi - this may be easier to achieve with the GraphQL API rather than the REST API. There is a subscriptionContract query on the GraphQL API which you could use to get info about a subscription contract that is associated with an order, it could look something like this: