Modify subscription products
post
/ccstore/v1/selfservice/subscriptionProducts/modify
Modify the specified subscription products
Request
Supported Media Types
- application/json
Request payload to modify subscription products
Root Schema : modifySubscriptionProductsRequest
Type:
Show Source
object
Example:
{
"cart":{
"items":[
{
"reason":"Reason for modification",
"quantity":1,
"ratePlanId":"planB",
"comment":"Comment for modification",
"rootAssetKey":"abo_6da32e86-02be-487b-8e41-c4494a46e34c14",
"effectiveDate":"2025-07-27"
},
{
"reason":"Reason for modification",
"quantity":1,
"ratePlanId":"planC",
"comment":"Comment for modification",
"rootAssetKey":"abo_6da32e86-02be-487b-8e41-c4494a46e34c15",
"effectiveDate":"2025-07-27"
}
]
}
}
Nested Schema : subscriptionProductModifyRequestItem
Type:
Show Source
object
-
comment:
string
The comment for modifying the asset
-
effectiveDate:
string
The amend effective date, refers to the specific date when changes made to the subscription becomes active (should be in ISO Date format: yyyy-MM-dd). Defaults to current date if asset contract start date is in past or contract start date.
-
quantity:
integer
The new quantity of the asset
-
ratePlanId:
string
The new rate plan number for the asset
-
reason:
string
The reason for modifying the asset
-
rootAssetKey(required):
string
The key of the asset to be modified
Response
Supported Media Types
- application/json
200 Response
Successful response
Root Schema : modifySubscriptionProductsResponse
Type:
Show Source
object
-
links:
array links
-
orderId:
string
The ID of the order created for the modify subscription operation.
-
transactionId:
string
The ID of the transaction resulting from the modify operation.
Nested Schema : Link
Type:
Show Source
object
-
href:
string
The hyperlink reference
-
rel:
string
The relation of the link
Example Response (application/json)
{
"orderId":"o31245",
"transactionId":"21275813"
}
400 Response
Bad request
500 Response
Internal server error