UpdateShipmentShipper
Replaces the shipper (origin) address block on an existing shipment.
All responses are HTTP 200. Check the status field for Success or Error.
FinalMile restriction: This call is not permitted on FinalMile shipments (RecordLayout = 3). The shipper block on a FinalMile shipment is the carrier terminal assigned by FragilePAK at booking time and is locked permanently.
Lock rule: This call fails if
ActualPickup is set and on or before today.
Function Overview
- Purpose: Update the origin/shipper address on an existing non-FinalMile shipment.
- REST Endpoint:
POST /api/public/v1/shipping/UpdateShipmentShipper - SOAP Operation:
UpdateShipmentShipper(UpdateShipmentShipperRequest) - Authentication: Required -- Bearer token in HTTP Authorization header
REST Interface
Headers
Authorization: Bearer <token>
Content-Type: application/json
Request Body
{
"dmLoadNumber": 4363968,
"shipper": {
"name": "Warehouse Name",
"address1": "456 Industrial Blvd",
"city": "Dallas",
"state": "TX",
"zip": "75001",
"country": "US",
"phone": "2145551234"
}
}
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
| dmLoadNumber | decimal | Yes | DM Load Number of the shipment to update |
| shipper.name | string | Yes | Shipper company name |
| shipper.address1 | string | Yes | Street address |
| shipper.city | string | Yes | City |
| shipper.state | string | Yes | State or province abbreviation |
| shipper.zip | string | Yes | Postal code |
| shipper.country | string | No | Defaults to "US" |
| shipper.phone | string | No | Contact phone number |
Response -- Success
{
"status": "Success",
"dmLoadNumber": 4363968,
"errors": []
}
Response -- Error (FinalMile)
{
"status": "Error",
"dmLoadNumber": 4363968,
"errors": ["Shipper is managed by the carrier for FinalMile shipments and cannot be updated via the API."]
}
SOAP Interface
WSDL
/soap/public/v1/shipping?singlewsdl
Authentication note: Pass your Bearer token as an HTTP header, not inside the SOAP envelope.
SOAP Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<UpdateShipmentShipper xmlns="http://dmwebservices.com/shipping/public/v1">
<request>
<DMLoadNumber>4363968</DMLoadNumber>
<Shipper>
<Name>Warehouse Name</Name>
<Address1>456 Industrial Blvd</Address1>
<City>Dallas</City>
<State>TX</State>
<Zip>75001</Zip>
<Country>US</Country>
<Phone>2145551234</Phone>
</Shipper>
</request>
</UpdateShipmentShipper>
</soapenv:Body>
</soapenv:Envelope>