Migrate Subscription Plan
/rpy/be-subscription/v1/subscriptions/{subscriptionId}/plans/migrationMigrate Subscription Plan
This endpoint enables the migration of a subscription from one plan to another. It allows merchants to update the terms of an existing subscription by assigning a different predefined plan to it.
Usage Scenarios:
- Migrating legacy subscriptions to new or updated plans.
- Adjusting a subscription’s features or pricing structure without requiring cancellation and recreation.
Header Parameters
User who is registering. This information can be used for audit purposes.
Path Parameters
Subscription plan change.
Body application/json
Identifier of the original plan, that is, the original plan_id of the Subscription.
Identifier of the target plan, that is, the plan_id to which you want to migrate the Subscription.
Response
Request made successfully
Invalid Requisition
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Signature not found.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Unprocessable Entity
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Internal server or service error
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
The service is unavailable. Please try again later.