DELETE orders
Delete one or more orders by order number
Request Information
URI Parameters
None.
Body Parameters
A list of order numbers to delete
OrderNumbersModel
Name | Description | Type | Additional information |
---|---|---|---|
OrderNumbers | A comma separated list of order numbers | Collection of integer | None. |
Request Formats
application/json, text/json
Sample:
{ "OrderNumbers": [ 12, 13, 14 ] }
application/xml, text/xml
Sample:
<OrderNumbersModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OrderNumbers> <int>12</int> <int>13</int> <int>14</int> </OrderNumbers> </OrderNumbersModel>
Response Information
Resource Description
Delete one or more orders by order number
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
[ { "OrderNumber": 1, "Success": false, "Error": "Order does not exist or you do not have permission to access it." }, { "OrderNumber": 2, "Success": true } ]
application/xml, text/xml
Sample:
<ArrayOfOrderDeleteResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OrderDeleteResponse> <Success>false</Success> <Error>Order does not exist or you do not have permission to access it.</Error> <OrderNumber>1</OrderNumber> </OrderDeleteResponse> <OrderDeleteResponse> <Success>true</Success> <OrderNumber>2</OrderNumber> </OrderDeleteResponse> </ArrayOfOrderDeleteResponse>