latestOpenAPI 3.0.02026-08-08163663.9 KB

4aa7f4326443

Carrier

Accepts a Shipment

post/shipments/accept

Request body

shipmentReferencestring

Example request

{
  "shipmentReference": "foo"
}

Response

Status Code 200: Successful Response - the request was successful!

shipmentIdstring
statusstring
carrierIdstring

Example response

{
  "shipmentId": "foop",
  "status": "created",
  "carrierId": "60b7a951c2b827f9f5179454",
  "stops": [
    {
      "stopId": "60b7a951c2b827f9f517945c",
      "status": "unstarted",
      "locationName": "Cargomatic HQ",
      "locationAddress": "211 E. Ocean Blvd Long Beach CA 90802",
      "windowStart": "2021-06-02T15:52:49.258Z",
      "windowEnd": "2021-06-02T19:52:49.258Z"
    }
  ]
}