Subscriptions
Cancel and get checkout for a different subscription variant
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
subscriptionId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/stores/string/subscriptions/string/rebuy" \ -H "Content-Type: application/json" \ -d '{ "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf" }'{ "checkoutUrl": "string"}