Associate an order with a subscription?

Associate an order with a subscription?

sleyhane
Shopify Partner
21 3 9

If a store has a subscription app installed, is it possible for another app to know if an order is associated with a subscription or not? Is there any read-only access to subscription data via webhooks or otherwise?

 

We have a fulfillment app for digital access to content. We'd like to support recurring subscriptions for access, regardless of which subscription app is used. For example, we need to know:

 

  • for a new order: the subscription contract id, if associated with a subscription
  • when a subscription is cancelled
  • change to the quantity of a subscription

 

I don't see any properties in the 'Order' webhooks that indicate whether a particular order is associated with a new or existing subscription. And it doesn't seem like we can set a scope to get access to the 'BillingAttempt' or 'SubscriptionContract' webhooks.

 

Is there any chance for an app to get read-only access to the Subscriptions API, without actually being an app that implements recurring subscriptions? Or do we need to rely on integration provided by the subscription apps for this kind of data?

 

Reply 1 (1)

PAPsupport
Visitor
1 0 2

This is exactly the problem we are dealing with right now. Could somebody from Shopify team reply to this?

 

Thank you very much 🙂