Act on my subscription
POST
/ store/ v1/ customers/ me/ subscriptions/ {subscription_id}/ {action}- Idempotency-Key supported
Skips the next renewal of one of the customer's subscriptions, pauses, resumes or cancels it.
Path parameters
subscription_idstringrequiredThe subscription's ID, like
sub_01k8qs5s….actionenumrequiredskip, pause, resume or cancel
- skip
- pause
- resume
- cancel
Headers
X-Customer-TokenstringrequiredCustomer session token
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Returns
200 The subscription now.
Errors
- 401
unauthenticatedNo valid customer session. - 404
not_foundNot one of the customer's subscriptions. - 409It was cancelled.