POST
/
shipment-orders
curl --request POST \
  --url https://api-stage.orchestro.ai/e1/shipment-orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "callerType": "SHIPPER",
  "accounts": [
    {
      "accountNumber": "TEST_ACCOUNT_1",
      "accountType": "SHIPPER"
    }
  ],
  "parcels": [
    {
      "shipmentDate": "2023-12-22T06:34:00",
      "serviceType": "GRD",
      "parcelType": "P",
      "shipFrom": {
        "company": "Dallas City Hall",
        "name": "The City Secretary'\''s Office",
        "address1": "1500 Marilla Street",
        "address2": "",
        "city": "Dallas",
        "state": "TX",
        "zip": "75201",
        "country": "US",
        "phone": "",
        "email": "",
        "addressType": "B"
      },
      "shipTo": {
        "company": "Dallas City Hall",
        "name": "The City Secretary'\''s Office",
        "address1": "1500 Marilla Street",
        "address2": "",
        "city": "Dallas",
        "state": "TX",
        "zip": "75201",
        "country": "US",
        "phone": "",
        "email": "",
        "addressType": "B"
      },
      "serviceAttributes": [
        {
          "code": "AD_SIGN",
          "description": "Adult Signature Required",
          "rate": 3.98
        }
      ],
      "surcharges": [
        {
          "code": "FUEL",
          "description": "Fuel Surcharge",
          "rate": 5.98
        }
      ],
      "weight": {
        "value": 6,
        "unit": "lb"
      },
      "dimensions": {
        "unit": "inch",
        "length": 12,
        "width": 12,
        "height": 4
      },
      "rates": [
        {
          "zone": 7,
          "serviceType": "GRD",
          "tnt": 7,
          "baseRate": 3.92,
          "totalRate": 24.47
        }
      ]
    }
  ]
}'
{
  "message": "SUCCESS"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string
required
Authorization
string
required

Body

application/json
callerType
enum<string>
required

Type of caller initiating the shipment

Available options:
SHIPPER,
CARRIER,
RSE
accounts
object[]
required

List of account details. A minimum of 1 and a maximum of 3 accounts can be provided.

parcels
object[]
required

Array containing details for each parcel in the shipment. Maximum of 10 parcels allowed.

Response

200
application/json
Shipment order created successfully.
message
string