capabilities.work

Cancel and Restock an Order

A 3-step recipe with Shopify. We can help you get access.

Recipe · 3 steps

Cancel and Restock an Order

with Shopify · Order Fulfilment Management

Cancel an order with restock and confirm the cancellation.

  1. Read the order to confirm it exists before cancelling.
  2. Cancel the order with a documented reason, restocking items and emailing the customer per the supplied flags.
  3. Read the order back to confirm the cancellation reason and timestamp.
What you'll need to have ready
  • orderId: The ID of the order to cancel.
  • reason: Cancellation reason (customer, fraud, inventory, declined, or other).
  • email: Whether to send a cancellation email to the customer.
  • restock: Whether to restock the order's items.
For your developer

Arazzo workflow shopify:cancel-and-restock-order, 3 operations: getOrder → cancelOrder → getOrder. Specs on APIs.io.