Fetch switch details
Changed onThis endpoint retrieves details of a given subscription switch (e.g. upgrade, downgrade).
get/subscription_switches/{switchId}
Request
- Base URLhttps://mediastoreapi-sandbox.cleeng.com
- URLhttps://mediastoreapi-sandbox.cleeng.com/subscription_switches/{switchId}
- AuthAPI key in header Authorization
Path parameters
switchIdstring required
Cleeng ID of a switch
Response
200
Example response
{
"responseData": {
"id": "4d4d43c7-9eb1-4d91-9f02-0dcd948585a5",
"customerId": 811464559,
"direction": "downgrade",
"algorithm": "DEFERRED",
"fromOfferId": "S582784366_PL",
"toOfferId": "S661289578_PL",
"subscriptionId": "524689128",
"status": "inprogress",
"createdAt": 1659692497,
"updatedAt": 1659692497
}
}Changes
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
31-fetch-switch-detailsremoved and replaced withfetch-switch-details - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning