orderCancel
This service will cancel part from an open order. You must call the orderStatus service first. This will give you the proper orderNumber, pid, and lineNumber.
WSDL LinkBasic Request elements
element | Value |
---|---|
xmlUser | assigned by Encompass |
xmlPassword | assigned by Encompass |
serviceName | XML.ORDER.CANCEL |
serviceMode | SOAP |
Additional Request elements
element | required | description | sample data |
---|---|---|---|
customerType | n | customer type (not used for all accounts) | SERVICEGROUP |
customerNumber | y | customer number | 12345 |
useCustomerCross | n | map your customer number to ours (not available for all accounts) (y/n) | n |
orderNumber | y | order number to cancel items from | 1-23456 |
partlist | y | array of parts information | see partlist array elements table |
partlist array elements
element | required | description | sample data |
---|---|---|---|
lineNumber | y | line number from order | 2 |
pid | y | internal part id used from order | 5937132 |
cancelQuantity | y | quantity of part to cancel | 1 |
Returned elements
element | description | sample data |
---|---|---|
This service does not return any elements. |
Service errorCode values
errorCode | errorMessage |
---|---|
-200 | files did not open |
-201 | invalid xmlUser |
-202 | invalid customer number from customer cross |
-203 | customer number is required |
-204 | invalid customer number |
-205 | orderNumber is required |
-206 | orderNumber is being modified, try later |
-207 | orderNumber does not exist |
-208 | Customer number does not match order |
-209 | orderNumber is already in the cancellation process |
-210 | orderNumber has already been picked |
-211 | core bill back orders may not be cancelled |
-212 | core bill back orders may not be cancelled |
-213 | pid is required |
-214 | invalid product |
-215 | invalid productx |
-216 | invalid lineNumber |
-217 | pid does not exist on lineNumber |
-218 | less then 1 part was ordered |
-219 | invalid cancelQuantity |
-220 | pid is a special order product, please call |
-221 | no valid parts were submitted |
-222 | orderNumber is a drop ship and may not be cancelled |
This documentation is only designed as a guide for the corresponding WSDL file.