Updates an existing subscription’s details such as name, or metadata. Can also schedule a future cancellation date.
Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.
The unique external identifier of the subscription
Update request for a subscription.
The name of the subscription.
"Subscription_1"
The effective start date of the subscription; can be past, current, or future. Date must be provided in ISO 8601 format
"2025-06-01T00:00:00Z"
The subscription will terminate on this date without renewal. Date must be provided in ISO 8601 format
"2028-01-01T00:00:00Z"
If the status field is not defined and multiple active and pending subscriptions exists, we will update the active subscription. However, if you wish to update a pending subscription, please ensure that you include the status attribute with the pending value in your request body.
PENDING, ACTIVE, TERMINATED, CANCELED "ACTIVE"
Updated subscription object
External reference to the customer
"client-jkl101"
The subscription external unique identifier supplied by client. Must contain only alphanumeric characters, underscores, and hyphens.
"SUB_1752779018503"
The plan code
"Plan-Code-1753840215"
The name of the subscription.
"Subscription_1"
The effective start date of the subscription; can be past, current, or future. Date must be provided in ISO 8601 format
"2025-06-01T00:00:00Z"
The subscription will terminate on this date without renewal. Date must be provided in ISO 8601 format
"2028-01-01T00:00:00Z"
The billing time for the subscription, which can be set as either anniversary or calendar
CALENDAR, ANNIVERSARY "CALENDAR"
Unique identifier for the subscription
"b71befc2-4799-402c-9d13-ca1f72759c64"
The status of the subscription
PENDING, ACTIVE, TERMINATED, CANCELED "ACTIVE"
The date at which a pending subscription is canceled.
"2025-01-01T00:00:00Z"
The date at which an active subscription is canceled.
"2025-01-01T00:00:00Z"
Start date of the current billing period
"2025-05-01T00:00:00Z"
End date of the current billing period
"2025-06-01T00:00:00Z"
The date when the free trial is ended, represented in ISO 8601 date format
"2025-05-01T00:00:00Z"