UpdateInboundShipment
Updates an existing inbound shipment (receipt order) in the DM Web Services system. Available via both REST and SOAP.
Function Overview
- Purpose: Update line items on an existing inbound shipment record.
- Availability: REST and SOAP
- Authentication: Bearer token in the HTTP Authorization header
REST Interface
Endpoint
POST /api/client/beyond/v1/shipping/UpdateInboundShipment
Headers
Authorization: Bearer <token>
Content-Type: application/json
Request Body
{
"referenceNo": "PO-12345",
"warehouseCode": "BEY1",
"items": [
{
"productSku": "ABC123",
"quantity": 15,
"lineNo": 1,
"upc": 123456789012,
"description": "Widget A",
"supplierSku": "SUPP-001"
}
]
}
Response
{
"status": "Success",
"message": "Receipt Order updated."
}
Status Codes
- 200 OK -- shipment updated successfully
- 400 Bad Request -- SKU not found or validation failure (see response body)
- 401 Unauthorized -- invalid or missing token
- 500 Internal Server Error -- unexpected server error
SOAP Interface
WSDL Endpoint
SOAP Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ship="http://dmwebservices.com/shipping/client/beyond/v1">
<soapenv:Header>
<Authorization xmlns="http://schemas.microsoft.com/ws/2006/05/servicemodel/headers">
Bearer <your-token>
</Authorization>
</soapenv:Header>
<soapenv:Body>
<ship:UpdateInboundShipment>
<ship:request>
<ship:ReferenceNo>PO-12345</ship:ReferenceNo>
<ship:WarehouseCode>BEY1</ship:WarehouseCode>
<ship:Items>
<ship:InboundProductDetailV1>
<ship:ProductSku>ABC123</ship:ProductSku>
<ship:Quantity>15</ship:Quantity>
<ship:LineNo>1</ship:LineNo>
<ship:Upc>123456789012</ship:Upc>
<ship:Description>Widget A</ship:Description>
<ship:SupplierSku>SUPP-001</ship:SupplierSku>
</ship:InboundProductDetailV1>
</ship:Items>
</ship:request>
</ship:UpdateInboundShipment>
</soapenv:Body>
</soapenv:Envelope>
SOAP Response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<UpdateInboundShipmentResponseV1 xmlns="http://dmwebservices.com/shipping/client/beyond/v1">
<status>Success</status>
<message>Receipt Order updated.</message>
</UpdateInboundShipmentResponseV1>
</soapenv:Body>
</soapenv:Envelope>