Skip to main content
PATCH
Update a subscription

Path Parameters

id
string
required

The ID of the subscription to update

Example:

"67a61d5561e4f9de302c02a1"

Body

application/json
status
enum<string>

The status of the subscription.

Available options:
active,
cancelled
Example:

"cancelled"

variantId
string

The Shopify variant ID. Subscriptions are variant-level only — cannot be unset.

Example:

"456789123"

Response

The subscription has been successfully updated.

data
object
required

Response data