v1
latestOpenAPI 3.1.02026-08-062951103.4 KBsubscriptions
Update a subscription
Update a subscription. Only the custom properties of a subscription can be modified.
Returns the updated subscription on success.
patch/subscriptions/{id}
Path parameters
idstring required
Subscription ID to update
Request body
Example request
{
"properties": {
"number_of_contacts": 5800,
"is_professional": true
}
}Response
OK
Example response
{
"id": "subn_dp79dRR5wIy1kGW4PCO41wit",
"platform_id": "sub_JE1trB8eUAnh0r",
"subscriber_id": "subr_GQmXBebvivMb5tHhassNV9kj",
"mrr": "399.95",
"status": "active",
"properties": [
{
"property": {
"id": "prop_S6A17y8S8wgKBBJbveQHpLW6",
"key": "is_professional",
"name": "Is professional",
"type": "boolean",
"format": "null"
},
"formatted_value": "True"
}
]
}