Skip to content

Set next renewal

PUT/admin/v1/stores/{store_id}/subscriptions/{subscription_id}/next-renewal
  • customers:write

Moves the next renewal to another date within a year.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • subscription_idstringrequired

    The subscription's ID, like sub_01k8qs5s….

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • next_renewal_attimestamprequired

    Within the next year.

Returns

200 The subscription now.

Errors

  • 422validation_failedNot within the next year.