Cancel a subscription item
Cancel a specific subscription item. The subscription item can be canceled immediately or at the end of the current billing period.
Path parameters
The ID of the subscription item to cancel
Query parameters
Whether to cancel the subscription immediately (true) or at the end of the current billing period (false, default)
Response
A commerce subscription item.
Changes
Changed in 3 of the 15 revisions of this API.16
- ●
added the new
payer-creditsenum value to thepayment_method/payment_typeresponse property for the response status200response-property-enum-value-added
- ●
- ○
added
CommerceTotalsResponse-2to thetotalsresponse propertyallOflist for the response status200response-property-all-of-added
- ○
removed
schemas-CommerceTotalsResponsefrom thetotalsresponse propertyallOflist for the response status200response-property-all-of-removed
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
next_payment/allOf[CommerceSubscriptionItemNextPaymentResponse]/per_unit_totalsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
next_payment/allOf[CommerceSubscriptionItemNextPaymentResponse]/totalsto the response with the200statusresponse-optional-property-added
- ○
added
schemas-CommerceTotalsResponseto thetotalsresponse propertyallOflist for the response status200response-property-all-of-added
- ○
removed
CommerceTotalsResponsefrom thetotalsresponse propertyallOflist for the response status200response-property-all-of-removed
- ○