admin graphql api appSubscriptionTrialExtend in node js

1080
Shopify Partner
282 8 38


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)