Update subscription
PATCH /api/subscriptions/v1/subscriptions/{subscription_id}
PATCH
/api/subscriptions/v1/subscriptions/{subscription_id}
Update a target subscription.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” subscription_id
required
string format: uuid
Example
1d85591b-891b-4b10-9d60-2078940d8e74Subscription identifier.
Header Parameters
Section titled “Header Parameters ” X-CUSTOMER-AUTH
string format: jwt
User access token.
X-CUSTOMER-RID
string format: uuid
Example
8ba5dd43-496e-4432-9c8a-74fdc74139feUser RID identifier. RID header will be used if both are set.
There is a deprecated way to call the endpoint.
Please use access token with authorization_flow=processing instead if you need
to do some non user-initiated action like background processing or calls from the admin.
Query Parameters
Section titled “Query Parameters ” external_id
string
User ID in external system
Request Body
Section titled “Request Body ”object
auto_renew
Controls whether the subscription should automatically renew after the due date.
boolean
Example
trueResponses
Section titled “ Responses ”object
message
string
object
code
string
message
string
param
string
payment_id
string
type
string
error_id
string
object
code
string
message
string
param
string
payment_id
string
type
string
error_id
string
object
code
string
message
string
param
string
payment_id
string
type
string
error_id
string
object
code
string
message
string
param
string
payment_id
string
type
string
error_id
string