Actions26
Order → Cancel
AI-generatedSummary
Cancel an order and optionally restock items on Shopify or WooCommerce platforms.
Inputs
- Platform (required) — Select either Shopify or WooCommerce as the e-commerce platform.
- Store URL (required) — The full URL of the store to connect to.
- API Key / Consumer Key (required) — API key for authentication.
- API Secret / Consumer Secret — API secret for authentication; required only for WooCommerce platform.
- Order ID / Number (required) — The unique system ID or human-readable order number of the order to cancel (required for Shopify).
Output shape
a single record representing the cancelled order with updated status and inventory changes if applicable
Requires valid authentication with the selected platform. The 'orderId' is mandatory for Shopify and is used to identify the order to cancel. Cancellation triggers order status update and restocks items as per platform behavior.
Examples
Example 1: Cancel a Shopify order by its system ID or order number
Set Platform to Shopify, provide Store URL, API Key, and Order ID/Number.
Example 2: Cancel a WooCommerce order identified by store URL and API credentials
Set Platform to WooCommerce, provide Store URL, API Key, API Secret, and order identifier.
