UpdateShipmentDate
Upserts a date value by type. Certain date types update root Shipments columns directly; all others upsert into the Shipments_Date collection.
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. Also fails if DateValue is DateTime.MinValue.
Function Overview
- Purpose: Add or update a date entry on an existing shipment by type. If the type already exists it is updated; otherwise it is inserted.
- REST Endpoint:
POST /api/public/v1/shipping/UpdateShipmentDate - SOAP Operation:
UpdateShipmentDate(UpdateShipmentDateRequest) - Authentication: Required -- Bearer token in HTTP Authorization header
Permitted Date Types
Only the following date types are accepted. This list is live -- it reflects the current system configuration and updates automatically when types are enabled or disabled.
| Date Type | Notes |
|---|---|
| Appointment | Upserts into Shipments_Date collection |
| Available for Pickup | Upserts into Shipments_Date collection |
| Expected at Consolidation | Upserts into Shipments_Date collection |
| Expected Pickup | Writes to Shipments.ExpectedPickup |
| Install Date | Upserts into Shipments_Date collection |
| Must Respond By | Upserts into Shipments_Date collection |
| P.O. Expiration | Writes to Shipments.POExpiration |
| Required Pickup | Writes to Shipments.RequiredPickup |
REST Interface
Headers
Authorization: Bearer <token>
Content-Type: application/json
Request Body
{
"dmLoadNumber": 4363968,
"dateType": "Expected Pickup",
"dateValue": "2026-04-15T00:00:00Z"
}
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
| dmLoadNumber | decimal | Yes | DM Load Number of the shipment |
| dateType | string | Yes | Must match an entry in the permitted types list above |
| dateValue | datetime | Yes | ISO 8601 date/time. Must not be DateTime.MinValue. |
Response -- Success
{
"status": "Success",
"dmLoadNumber": 4363968,
"errors": []
}
Response -- Error (type not permitted)
{
"status": "Error",
"dmLoadNumber": 4363968,
"errors": ["Date type 'CustomDate' is not permitted for API updates. Contact support to request this type be enabled."]
}
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>
<UpdateShipmentDate xmlns="http://dmwebservices.com/shipping/public/v1">
<request>
<DMLoadNumber>4363968</DMLoadNumber>
<DateType>Expected Pickup</DateType>
<DateValue>2026-04-15T00:00:00Z</DateValue>
</request>
</UpdateShipmentDate>
</soapenv:Body>
</soapenv:Envelope>
Integration Samples
Related Resources
- Back to Shipping Function List
- AddShipmentDate -- insert only, fails if type exists
- Authentication Guide