post https://api.fabric.inc/v3/orders//actions/check-cancel-eligibility
Either customer may initiate cancellation due to an incorrect order placement or as a merchant, you may initiate cancellation due to product unavailability, pricing errors, payment failure, or shipping restrictions. Before processing cancellation, it's crucial to determine the eligibility of the cancellation request.
This endpoint gets the eligibility of order cancellation by order ID. You can additionally specify lineItemIds
to get the eligibility of specific line items.
Note: If you do not have order ID, use the corresponding order number-based endpoint -POST /orders/order-number/{orderNumber}/actions/check-exchange-eligibility
.