Terminates subscription products
post
/ccstore/v1/selfservice/subscriptionProducts/terminate
Terminates the specified subscription products
Request
Supported Media Types
- application/json
Request payload to terminate subscription products
Root Schema : terminateSubscriptionProductsRequest
Type:
Show Source
object
Example:
{
"cart":{
"items":[
{
"reason":"Reason for termination",
"comment":"Comment for termination",
"rootAssetKey":"abo_6da32e86-02be-487b-8e41-c4494a46e34c14",
"effectiveDate":"2025-06-25"
},
{
"reason":"Reason for termination",
"comment":"Comment for termination",
"rootAssetKey":"abo_6da32e86-02be-487b-8e41-c4494a46e34c15",
"effectiveDate":"2025-06-25"
}
]
}
}
Nested Schema : subscriptionProductTerminateRequestItem
Type:
Show Source
object
-
comment:
string
The comment for terminating the asset
-
effectiveDate(required):
string(date)
The date when the asset should be terminated, It should be in ISO date formate: yyyy-MM-dd.
-
reason(required):
string
The reason for terminating the asset
-
rootAssetKey(required):
string
The key of the asset to be terminated
Response
Supported Media Types
- application/json
200 Response
Successful response
Root Schema : terminateSubscriptionProductsResponse
Type:
Show Source
object
-
links:
array links
-
transactionId:
string
The ID of the transaction resulting from the terminate operation
Nested Schema : Link
Type:
Show Source
object
-
href:
string
The hyperlink reference
-
rel:
string
The relation of the link
Example Response (application/json)
{
"transactionId":"21275813"
}
400 Response
Bad request
500 Response
Internal server error