Order Update Interface#
Through the Order Update Interface, large volumes of orders from different external systems, such as ERP systems and WMS systems, can be updated in bulk. The maximum number of orders that can be updated in a single request is 100.Configuration Instructions#
oTMS provides Web Service interfaces in both production and testing environments, where the testing environment is primarily used for integration testing. In both environments, API account credentials must be assigned by the oTMS system administrator before they can be used.Important Notes#
Please use the public interfaces reasonably. If abnormal calls or any issues affecting system performance are detected, we will impose restrictions on the API account calls, or even deactivate them.
Call Limitations#
Currently, the call limit for this interface is set to a maximum of 20 requests per second per company.Request
Body Params application/xml
<?xml version="1.0" encoding="UTF-8"?>
<orderUpdateRequest version="0.1" login="login" password="password">
<orders>
<order sequence="1">
<branch></branch>
<columnName></columnName>
<orderNumber>AXDHBMAV009887</orderNumber>
<allowUpdate>true</allowUpdate>
<cargoDetails>
<totalWeight>900</totalWeight>
<totalVolume>3</totalVolume>
<cargoType>1</cargoType>
</cargoDetails>
<orderLines>
<orderLine>
<cargoDescription>
<productCode>1211</productCode>
<productName>wenju</productName>
<unitType>2</unitType>
</cargoDescription>
<customFields>
<customText5></customText5>
<customText38>12.00</customText38>
<customText46>LC00151</customText46>
<customText50>2022-10-25</customText50>
<customText55>Y151-1802</customText55>
</customFields>
<quantity>50</quantity>
<weight>900</weight>
<volume>3</volume>
<remarks></remarks>
</orderLine>
</orderLines>
</order>
</orders>
</orderUpdateRequest>
Request Code Samples
curl --location --request PUT 'https://login.otms.com/ws/orderUpdate' \
--header 'Authorization;' \
--header 'Content-Type: application/xml' \
--data '<?xml version="1.0" encoding="UTF-8"?>
<orderUpdateRequest version="0.1" login="login" password="password">
<orders>
<order sequence="1">
<branch></branch>
<columnName></columnName>
<orderNumber>AXDHBMAV009887</orderNumber>
<allowUpdate>true</allowUpdate>
<cargoDetails>
<totalWeight>900</totalWeight>
<totalVolume>3</totalVolume>
<cargoType>1</cargoType>
</cargoDetails>
<orderLines>
<orderLine>
<cargoDescription>
<productCode>1211</productCode>
<productName>wenju</productName>
<unitType>2</unitType>
</cargoDescription>
<customFields>
<customText5></customText5>
<customText38>12.00</customText38>
<customText46>LC00151</customText46>
<customText50>2022-10-25</customText50>
<customText55>Y151-1802</customText55>
</customFields>
<quantity>50</quantity>
<weight>900</weight>
<volume>3</volume>
<remarks></remarks>
</orderLine>
</orderLines>
</order>
</orders>
</orderUpdateRequest>'
Responses
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderUpdateResponse version="0.1">
<responseCode></responseCode>
<processedOrders>1</processedOrders>
<orders>
<order sequence="1">
<erpNumber>241108001</erpNumber>
<orderNumber>AXDHBMAV009887</orderNumber>
<updateStatus>UPDATED</updateStatus>
<responseCodes/>
</order>
</orders>
</orderUpdateResponse>
Modified at 2025-06-06 02:46:48