Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How do I extend a customers free Trial to my App

How do I extend a customers free Trial to my App

cammark
Shopify Partner
11 0 0

Hi,

 

I have an App and I want to extend a users free trial by another 30 days

 

I saw that the GraphQL api should enable it via

 

 
mutation AppSubscriptionTrialExtend {
    appSubscriptionTrialExtend(id: "[id number]", days: 30) {
        userErrors {
            field
            message
        }
    }
}

However, the id i am trying does not work and I just get the error of 

 

Invalid global id
What id needs to be used in this call and where can I find out the retrieve it
 
Thanks
Mark
 
Replies 0 (0)