Update subscription by ID
Update a single subscription.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Path parameters
publicationId
The prefixed ID of the publication object
subscriptionId
The prefixed ID of the subscription object
Request
This endpoint expects an object.
tier
Optional parameter to set the tier for this subscription.
Allowed values:
stripe_customer_id
The Stripe Customer ID of the subscription (not required)
unsubscribe
A boolean value specifying whether to unsubscribe this subscription from the publication (not required)
custom_fields
An array of custom field objects to update
Response
OK
data
The subscription object