post https://api.fabric.inc/v3/orders/order-number//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 the cancellation request by order number. You can additionally specify lineItemIds
to get the eligibility of specific line items.
Note: If you do not have order number, use the corresponding order ID-based endpoint - /orders/{orderId}/actions/check-cancel-eligibility
.