Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

admin graphql api appSubscriptionTrialExtend in node js

admin graphql api appSubscriptionTrialExtend in node js

1080
Shopify Partner
301 9 65


here graphql query 

 

 

  mutation {
      appSubscriptionTrialExtend(days:"999", id: "${appSubscriptionId}") {
        appSubscription {
          id
        }
        userErrors {
          field
          message
        }
      }
    }

 

 

URL endpoint 

 

 

 

https://${shop}.myshopify.com/admin/api/2023-01/graphql.json

 

 


Error getting 

 

 

 errors: [
    {
      message: "Field 'appSubscriptionTrialExtend' is missing required arguments: id, days",
      locations: [Array],
      path: [Array],
      extensions: [Object]
    },
    {
      message: "Field 'appSubscriptionTrialExtend' doesn't accept argument 'input'",
      locations: [Array],
      path: [Array],
      extensions: [Object]
    }
  ]

 

 




Replies 0 (0)