Billing
Cancel a subscription item
Changed onCancel a specific subscription item. The subscription item can be canceled immediately or at the end of the current billing period.
delete/billing/subscription_items/{subscription_item_id}
Request
- Base URL: https://api.clerk.com/v1
- URL: https://api.clerk.com/v1/billing/subscription_items/{subscription_item_id}
- Auth: HTTP bearer
Path parameters
subscription_item_idstring required
The ID of the subscription item to cancel
Query parameters
end_nowboolean
Whether to cancel the subscription immediately (true) or at the end of the current billing period (false, default)
Response
A commerce subscription item.
Changes
- warning
added the new
payer-creditsenum value to the/response property for the response status
- warning
- info
added to the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status
- info