App reviews, troubleshooting, and recommendations
I am trying to implement app subscription for my app and when while researching the topic I've found out that the order of updates can sometimes be a problem, eg out of order, or even missing some updates due to network issues. So it seems that the best approach is to use the API to get the most recent version of the `AppSubscription` but I cannot find any way to get the subscription inside the `REST` nor preferably the `GRAPHQL` API docs.
I want to get this `AppSubscription` object via the graphql using the global ID I get from `appSubscriptionCreate` mutation
ref
Solved! Go to the solution
This is an accepted solution.
query {
node(id: "gid://shopify/AppSubscription/<subsciption_id>") {
...on AppSubscription {
createdAt
currentPeriodEnd
id
name
status
test
}
}
}
This is an accepted solution.
query {
node(id: "gid://shopify/AppSubscription/<subsciption_id>") {
...on AppSubscription {
createdAt
currentPeriodEnd
id
name
status
test
}
}
}
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025