I’m developing a subscription app using post-purchase extension for it, I have several subscriptions example made in orders, but when I try to query available contracts to show this information in app admin the query don’t return any contracts.
Thank you for your patience. Is this problem still persisting today? If so, does the query return any error, or just an empty list of subscriptions contracts though you know some exist. Could you share the store URL so I could try the documentation’s query on it?
You need to keep track of the draft ID returned by the subscriptionContractCreate mutation, so you can later use this ID to retrieve the draft created or update it.
What seems strange for me is that I’m finishing orders buying products with plans like you can see with the post purchase option, in this case, the correct is generate a contract, isn’t it?