Support Center

API Method: POST cancelorders

Last Updated: Sep 02, 2013 01:42PM IST
Overview
This method allows you to cancel one or more open orders.

For this POST operation, you need to specify a JSON body for the request. It is also required to specify the following HTTP header:
​Content-Type: application/json​
​The IDs of the orders to cancel should be passed in the body of the request in JSON format. The JSON document should look as follow:
[
  {
    "Id":"<orderId>"
  },
  {
    "Id":"<orderId>"
  },
  ...
]
For example:
[
  ​{
    "Id":"142dd556-beb4-4a46-9cfc-e366c34fc334"
  }
]

Return Value
The return value is an array containing the order IDs of the orders that have successfully been cancelled:
["7e746d0f-457a-4252-85b7-f4d67f1445ea","781c864b-c40f-4208-b784-191fae52499d"]

Description of the fields:
  • Id: Unique Id of the order you want to cancel
support@predictious.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete