DELETE salesorder/cancel?customerNumber={customerNumber}&salesOrderNumber={salesOrderNumber}&purchaseOrderNumber={purchaseOrderNumber}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerNumber | string |
Required |
|
salesOrderNumber | string |
None. |
|
purchaseOrderNumber | string |
None. |
Body Parameters
None.
Response Information
Resource Description
CancelOrderResponseName | Description | Type | Additional information |
---|---|---|---|
SalesOrderNumber | string |
None. |
|
OrderRejected | boolean |
None. |
|
Errors | Collection of ERPError |
None. |
|
Warnings | Collection of ERPWarning |
None. |
Response Formats
application/json, text/json
Sample:
{ "SalesOrderNumber": "sample string 1", "OrderRejected": true, "Errors": [ { "Code": "sample string 1", "Message": "sample string 2" }, { "Code": "sample string 1", "Message": "sample string 2" } ], "Warnings": [ { "Code": "sample string 1", "Message": "sample string 2" }, { "Code": "sample string 1", "Message": "sample string 2" } ] }
application/xml, text/xml
Sample:
<CancelOrderResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SalesOrderNumber>sample string 1</SalesOrderNumber> <OrderRejected>true</OrderRejected> <Errors> <ERPError> <Code>sample string 1</Code> <Message>sample string 2</Message> </ERPError> <ERPError> <Code>sample string 1</Code> <Message>sample string 2</Message> </ERPError> </Errors> <Warnings> <ERPWarning> <Code>sample string 1</Code> <Message>sample string 2</Message> </ERPWarning> <ERPWarning> <Code>sample string 1</Code> <Message>sample string 2</Message> </ERPWarning> </Warnings> </CancelOrderResponse>