The subscription replacement feature allows merchants to seamlessly transition a customer's subscription to another product without the need to cancel the existing subscription and create a new one. This feature is designed to simplify the process for merchants while ensuring transparency and efficiency in managing subscription changes.
You can replace a subscription by initiating replacement request, the new SubscriptionID is in the request and old subscriptionID is sent in the endpoint.
/v1/clients/{clientId}/subscriptions/{subscriptionId}/replacement
{
"newSubscriptionId": "new-subscription-id",
"subscriptionProductId": "new-product-id",
"billingDayOffset": 10,
"activation": {
"type": "AFTER_CURRENT_PERIOD"
},
"metadata": [
{
"key": "order-id",
"value": "9a1a03f5-dbb0-4e32-9fc2-89c9be29780a"
}
]
}
{
"subscriptionId": "new-subscription-id3",
"oldSubscriptionId": "old-subscription-id2",
"subscriptionProductId": "new-product-id",
"billingDayOffset": 10,
"activation": {
"type": "AFTER_CURRENT_PERIOD",
"date": "2023-03-01"
},
"status": "PENDING",
"createdAt": "2023-02-01",
"updatedAt": "2023-02-14",
"activationDate": "2023-03-01",
"metadata": [
{
"key": "order-id",
"value": "9a1a03f5-dbb0-4e32-9fc2-89c9be29780a"
}
]
}
Invoicing associated with the replacement process includes:
The subscription replacement feature offers the following benefits to merchants: