Apply an immediate midterm change
Last updated
Last updated
Preview Change API provides the preview response for the changes which includes the credit, sub total, total tax and total amount due to be paid if the preview changes results in due amount. This API return the cart details (if created) in the response of the preview API. If “proratedUnitPrice” attribute is present then it overrides all other prices and skip normal proration. If “proratedUnitPrice” attribute is not present then GC pricing and proration applies. If subscription is perpetual subscription and we don’t pass “proratedUnitPrice” attribute into the request payload then prorated transaction price calculates on the basis of perpetual price.
/v1/subscriptions/{subId}/preview-cart
Subscription Id
Basic authorization (dispatch Key and Secret) - Client Admin key
principal header is required only for price overriding. By default principal type will be a site. Other principal type (company, user) need to pass explicitly in header.
Product quantity
If “proratedUnitPrice” attribute is present then it overrides all other prices and skip normal proration.
This API to change the subscription quantity immediately so that client have increased subscription management capability via API
/v1/subscriptions/{subId}/reduce
Subscription Id
Basic authorization (dispatch Key and Secret) - Client Admin key or Full access token
Product quantity
No body
Preview Change API provides the preview response for the changes which includes the credit, sub total, total tax and total amount due to be paid if the preview changes results in due amount. This API does not return the cart details (if created) in the response of the preview API. If “proratedUnitPrice” attribute is present then it overrides all other prices and skip normal proration. If “proratedUnitPrice” attribute is not present then GC pricing and proration applies. If subscription is perpetual subscription and we don’t pass “proratedUnitPrice” attribute into the request payload then prorated transaction price calculates on the basis of perpetual price.
/v1/subscriptions/{subId}/preview
Subscription Id
Basic authorization (dispatch Key and Secret) - Client Admin key
principal header is required only for price overriding. By default principal type will be a site. Other principal type (company, user) need to pass explicitly in header.
Product quantity
If “proratedUnitPrice” attribute is present then it overrides all other prices and skip normal proration.