PATCH
/
subscriptions
/
{subscriptionId}
/
tiers
/
{id}
Switch product tier
curl --request PATCH \
  --url https://api.smokeball.com/subscriptions/{subscriptionId}/tiers/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "promotionId": "<string>",
  "interval": "Monthly",
  "reason": "<string>"
}'
This response does not have an example.

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

subscriptionId
string<uuid>
required

The unique identifier of the subscription to update

id
string<uuid>
required

The identifier of the target product tier

Body

Response

200

Successfully switched the product tier