Cancel Orders (action=cancel)

6. Create cancel – action=cancel

Description:
Submits cancellation requests for one or more orders. For API orders, the request is forwarded to the upstream provider. Refunds are handled asynchronously by cron.

Parameters

  • key (required)
  • action (required) = cancel
  • orders (required): Comma-separated API order IDs (up to 100).

Example response

[
  {
    "order": 9,
    "cancel": {
      "error": "Incorrect order ID"
    }
  },
  {
    "order": 2,
    "cancel": 1
  }
]

Notes

  • Orders that are already Completed, Partial or Canceled cannot be cancelled.
  • Services must have cancel capability enabled to accept cancellation.