Idempotency Supported
Cancel order and create a refundable credit note for the order
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/orders/{order-id}/cancel
Input Parameters
Cancellation reason.
Enum Values
shipping_cut_off_passed
The invoice has been paid late and Chargebee cancel's the first order for the invoice.
product_unsatisfactory
Product unsatisfactory.
third_party_cancellation
Third party cancellation.
product_not_required
Product not required.
delivery_date_missed
Delivery date missed.
Returns
Order object
Resource object representing order