Order Cancellation
This flow allows you to cancel a specific order, indicating:
- whether the order should be refunded (the refund, if made, occurs on the original payment method);
- whether the customer should be notified;
- the cancellation reason.
Note
Stock restocking is not performed in case of cancellation.
Structure
{
"orderName": "#1082",
"shouldBeRefunded": true,
"notifyCustomer": true,
"reason": "Product not available"
}
Flow configurations
| Field | Value | Note |
|---|---|---|
Base Url | https://adapt.flowlyze.com | adapter URL |
Resource Path | /api/adp/shopify/egress/order-cancellation | adapter path for order cancellation flow |
Headers :: x-api-key | ********** | API key for endpoint interaction verification |
Headers :: x-shopify-graphql-url | https://SHOPIFYURL.myshopify.com/ | Shopify shop URL to connect to |
Headers :: x-shopify-access-token | shpat_CODICEALFANUMERICO | secret of the custom app created for integration |