CreateOutboundShipment
Creates a new outbound shipment order in the DM Web Services system. Available via both REST and SOAP.
Function Overview
- Purpose: Submit a new outbound order and return a confirmation status.
- REST Endpoint:
POST /api/client/beyond/v1/shipping/CreateOutboundShipment - SOAP Operation:
CreateOutboundShipment(CreateOutboundShipmentRequest) - Authentication: Required -- Bearer token in HTTP Authorization header
REST Interface
Headers
Authorization: Bearer <token>
Content-Type: application/json
Request Body
{
"referenceNo": "ORD-98765",
"warehouseCode": "BEY1",
"accNo": "ACC-001",
"name": "John Smith",
"phone": "555-123-4567",
"address1": "123 Ocean Blvd",
"address2": "",
"city": "San Diego",
"state": "CA",
"countryCode": "US",
"zipcode": "92101",
"billingZipcode": "90210",
"billToNo": "BILL-001",
"retailOrderNumber": "RO-99999",
"serviceLevelCode": "2DAY",
"carrierCode": "UPS",
"remark": "Priority order",
"latestShipDate": "20260420140000",
"bundle": false,
"items": [
{
"quantity": 2,
"lineNo": 1,
"criticalPullTime": "2026-04-20T14:00:00Z",
"productSku": "SKU-001",
"sequentialLineNumber": 1,
"salesChannelLineNumber": 1001
}
]
}
Field Reference
| Field | Type | Required | Description |
|---|---|---|---|
| Shipment Header | |||
| referenceNo | string | Yes | Your order reference number |
| warehouseCode | string | Yes | Originating warehouse identifier |
| carrierCode | string | Yes | Carrier code (provided by DM) |
| serviceLevelCode | string | Yes | Service level code (provided by DM) |
| retailOrderNumber | string | Yes | Retail/channel order number |
| latestShipDate | string | No | Latest ship date in YYYYMMDDHHmmss format |
| remark | string | No | Special handling instructions |
| bundle | bool | No | Whether this is a bundled order. Default false. |
| Destination Address | |||
| name | string | Yes | Recipient name |
| phone | string | Yes | Recipient phone |
| address1 | string | Yes | Street address |
| address2 / address3 | string | No | Suite/unit/additional lines |
| city | string | Yes | City |
| state | string | Yes | Two-letter state/province code |
| countryCode | string | Yes | Two-letter country code (e.g. US) |
| zipcode | string | Yes | Destination ZIP/postal code |
| Billing | |||
| accNo | string | Yes | Account number |
| billingZipcode | string | Yes | Billing ZIP/postal code |
| billToNo | string | No | Bill-to account number if different from accNo |
| Line Items (at least one required) | |||
| items[].productSku | string | Yes | Product SKU |
| items[].quantity | int | Yes | Quantity to ship |
| items[].lineNo | int | Yes | Line number within the order |
| items[].criticalPullTime | datetime | No | Latest time item must be pulled (ISO 8601) |
| items[].sequentialLineNumber | int | No | Sequential line number for ordering |
| items[].salesChannelLineNumber | int | No | Sales channel line reference number |
Response
{
"status": "Success",
"message": "Order Success."
}
Status Codes
- 201 Created -- outbound order created successfully
- 401 Unauthorized -- invalid or missing token
- 409 Conflict -- validation failure or duplicate (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:CreateOutboundShipment>
<ship:request>
<ship:ReferenceNo>ORD-98765</ship:ReferenceNo>
<ship:WarehouseCode>BEY1</ship:WarehouseCode>
<ship:AccNo>ACC-001</ship:AccNo>
<ship:Name>John Smith</ship:Name>
<ship:Phone>555-123-4567</ship:Phone>
<ship:Address1>123 Ocean Blvd</ship:Address1>
<ship:City>San Diego</ship:City>
<ship:State>CA</ship:State>
<ship:CountryCode>US</ship:CountryCode>
<ship:Zipcode>92101</ship:Zipcode>
<ship:BillingZipcode>90210</ship:BillingZipcode>
<ship:RetailOrderNumber>RO-99999</ship:RetailOrderNumber>
<ship:ServiceLevelCode>2DAY</ship:ServiceLevelCode>
<ship:CarrierCode>UPS</ship:CarrierCode>
<ship:LatestShipDate>20260420140000</ship:LatestShipDate>
<ship:Bundle>false</ship:Bundle>
<ship:Items>
<ship:OutboundProductDetailV1>
<ship:Quantity>2</ship:Quantity>
<ship:LineNo>1</ship:LineNo>
<ship:CriticalPullTime>2026-04-20T14:00:00Z</ship:CriticalPullTime>
<ship:ProductSku>SKU-001</ship:ProductSku>
</ship:OutboundProductDetailV1>
</ship:Items>
</ship:request>
</ship:CreateOutboundShipment>
</soapenv:Body>
</soapenv:Envelope>
SOAP Response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<CreateOutboundShipmentResponseV1 xmlns="http://dmwebservices.com/shipping/client/beyond/v1">
<status>Success</status>
<message>Order Success.</message>
</CreateOutboundShipmentResponseV1>
</soapenv:Body>
</soapenv:Envelope>