PATCH
/
subscriptions
/
{id}
Update subscription
curl --request PATCH \
  --url https://api.smokeball.com/subscriptions/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "tierId": "8d074e85-4d95-4d9a-8a63-187719470d49",
  "addOnIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "interval": "Monthly",
  "reason": "<string>"
}'
This response does not have an example.

Authorizations

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

Path Parameters

id
string<uuid>
required

The unique identifier of the subscription to update

Body

The subscription update request

The body is of type object.

Response

200

Successfully updated the subscription