DM Web Services Documentation

UpdateShipmentConsignee

Replaces the consignee (destination) address block on an existing shipment.

All responses are HTTP 200. Check the status field for Success or Error.

Lock rule: This call fails if ActualPickup is set and on or before today. Once a carrier has picked up the shipment it cannot be modified via the API.

Function Overview

  • Purpose: Update the delivery destination address on an existing shipment.
  • REST Endpoint: POST /api/public/v1/shipping/UpdateShipmentConsignee
  • SOAP Operation: UpdateShipmentConsignee(UpdateShipmentConsigneeRequest)
  • Authentication: Required -- Bearer token in HTTP Authorization header

REST Interface

Headers

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

Request Body

{
  "dmLoadNumber": 4363968,
  "consignee": {
    "name": "Customer Name",
    "locationName": "Suite 100",
    "firstName": "Jane",
    "lastName": "Smith",
    "address1": "123 Main St",
    "address2": "",
    "city": "Austin",
    "state": "TX",
    "zip": "78701",
    "country": "US",
    "phone": "5125551234",
    "email": "jane.smith@example.com",
    "openTime": null,
    "closeTime": null
  }
}

Request Fields

FieldTypeRequiredDescription
dmLoadNumberdecimalYesDM Load Number of the shipment to update
consignee.namestringYesConsignee company or individual name
consignee.address1stringYesStreet address
consignee.citystringYesCity
consignee.statestringYesState or province abbreviation
consignee.zipstringYesPostal code
consignee.countrystringNoDefaults to "US"
consignee.phonestringNoContact phone number
consignee.emailstringNoContact email address
consignee.openTime / closeTimedatetimeNoReceiving hours

Response -- Success

{
  "status": "Success",
  "dmLoadNumber": 4363968,
  "errors": []
}

Response -- Error

{
  "status": "Error",
  "dmLoadNumber": 4363968,
  "errors": ["Shipment 4363968 is locked. The carrier has already picked up this shipment."]
}

SOAP Interface

WSDL

/soap/public/v1/shipping?singlewsdl

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

SOAP Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Header/>
  <soapenv:Body>
    <UpdateShipmentConsignee xmlns="http://dmwebservices.com/shipping/public/v1">
      <request>
        <DMLoadNumber>4363968</DMLoadNumber>
        <Consignee>
          <Name>Customer Name</Name>
          <Address1>123 Main St</Address1>
          <City>Austin</City>
          <State>TX</State>
          <Zip>78701</Zip>
          <Country>US</Country>
          <Phone>5125551234</Phone>
        </Consignee>
      </request>
    </UpdateShipmentConsignee>
  </soapenv:Body>
</soapenv:Envelope>

Integration Samples


Related Resources