For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
Is there a way for me to connect a subscription contract, which was created via shopify checkout, to the selling plan group it was derived from?
Solved! Go to the solution
This is an accepted solution.
Each line will have a sellingPlanId. With that, assuming you're saving data in your system that connects plans and groups you can make the connection yourself:
This is an accepted solution.
Each line will have a sellingPlanId. With that, assuming you're saving data in your system that connects plans and groups you can make the connection yourself:
Hi @Brian_S , Thanks for answering.
Will there be a way to use the selling plan id in order to easily query for the selling plan group, or would i need to fetch all the groups and filter for the group contains the relevant selling plan?
As of the last time I checked there is not a way to query groups by selling plan id. To make things even more complicated, the original selling plan that was purchased with could have been deleted but the group could still exist. So if you don't save the groups' selling plans in perpetuity you'll never be able to make the connection moving forward