Documentation REST API Updating and Closing Warehouse Orders

Updating and Closing Warehouse Orders

Axacon WMS prevents unsafe order changes after warehouse processing has started.

Standard update pattern

  1. Close the order.
  2. Check the REST API response.
  3. Change the order in ERP.
  4. Reopen the order.
  5. Send the updated JSON payload.

Purchase orders

Close a purchase order

POST https://[SERVER]/integration/rest/V1/executeCommandInfo/ClosePurchaseOrder
{
  "0": "6003"
}

Reopen purchase orders

POST https://[SERVER]/integration/rest/V1/executeCommandInfo/ReopenPurchaseOrders
{
  "0": "6003"
}

Return orders

Close a return order

POST https://[SERVER]/integration/rest/V1/executeCommandInfo/CloseReturnOrder
{
  "0": "8003"
}

Reopen return orders

POST https://[SERVER]/integration/rest/V1/executeCommandInfo/ReopenReturnOrders
{
  "0": "8003"
}

Sales orders

Close a sales order

POST https://[SERVER]/integration/rest/V1/executeCommandInfo/CloseSalesOrder
{
  "0": "9003"
}

Reopen sales orders

POST https://[SERVER]/integration/rest/V1/executeCommandInfo/ReopenSalesOrders
{
  "0": "9003"
}

Response handling

Status Meaning Recommended action
200 The order can be changed. Continue with the update flow.
400 Warehouse processing has started. Stop the integration flow and contact the warehouse.