DM Web Services Documentation

CreateInboundShipment

Creates a new inbound shipment (receipt order) in the DM Web Services system. Available via both REST and SOAP.


Function Overview

  • Purpose: Create a new inbound shipment record and return a confirmation status.
  • REST Endpoint: POST /api/client/beyond/v1/shipping/CreateInboundShipment
  • SOAP Operation: CreateInboundShipment(CreateInboundShipmentRequest)
  • Authentication: Required -- Bearer token in HTTP Authorization header

REST Interface

Headers

Authorization: Bearer <token>
Content-Type: application/json

Request Body

{
  "referenceNo": "PO-12345",
  "warehouseCode": "BEY1",
  "warehousePO": "WH-PO-001",
  "items": [
    {
      "productSku": "ABC123",
      "quantity": 10,
      "lineNo": 1,
      "upc": 123456789012,
      "description": "Widget A",
      "supplierSku": "SUPP-001"
    }
  ]
}

Field Reference

FieldTypeRequiredDescription
referenceNostringYesYour purchase order or reference number
warehouseCodestringYesTarget warehouse identifier
warehousePOstringNoWarehouse-specific PO number
items[].productSkustringYesProduct SKU
items[].quantityintYesExpected quantity
items[].lineNointYesLine number within the shipment
items[].upclongNoUniversal Product Code
items[].descriptionstringNoProduct description
items[].supplierSkustringNoSupplier's own SKU reference

Response

{
  "status": "Success",
  "message": "Receipt Order created."
}

Status Codes

  • 201 Created -- receipt order created successfully
  • 401 Unauthorized -- invalid or missing token
  • 409 Conflict -- duplicate reference or validation failure (see response body)
  • 500 Internal Server Error -- unexpected server error

SOAP Interface

WSDL

Live WSDL -- /soap/client/beyond/v1/shipping?singlewsdl

Authentication note: Pass your Bearer token as an HTTP header on the request, not inside the SOAP envelope.
Authorization: Bearer <token>

SOAP Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:ship="http://dmwebservices.com/shipping/client/beyond/v1">
  <soapenv:Header/>
  <soapenv:Body>
    <ship:CreateInboundShipment>
      <ship:request>
        <ship:ReferenceNo>PO-12345</ship:ReferenceNo>
        <ship:WarehouseCode>BEY1</ship:WarehouseCode>
        <ship:WarehousePO>WH-PO-001</ship:WarehousePO>
        <ship:Items>
          <ship:InboundProductDetailV1>
            <ship:ProductSku>ABC123</ship:ProductSku>
            <ship:Quantity>10</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:CreateInboundShipment>
  </soapenv:Body>
</soapenv:Envelope>

SOAP Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <CreateInboundShipmentResponseV1 xmlns="http://dmwebservices.com/shipping/client/beyond/v1">
      <status>Success</status>
      <message>Receipt Order created.</message>
    </CreateInboundShipmentResponseV1>
  </soapenv:Body>
</soapenv:Envelope>

Integration Samples


Related Resources