Backend API

Fields
idobjectId

Unique identifier for the shipment.

itemsarray of objectrequired

List of line items describing the products shipped.

order_idobjectIdrequired

The id of the order this shipment was created for.

canceledboolean

Indicates the shipment was canceled.

carrierstring

The id of a third-party carrier offering the service, if applicable.

carrier_namestring

Name of a third-party carrier offering the service, if applicable.

date_createddateauto

Date and time the shipment was created.

date_estimateddate

Date the expected shipment is meant to arrive at the destination, if applicable.

date_updateddateauto

Date and time the shipment was last updated.

destinationobject

The customer's shipping address.

draftboolean

Indicates the shipment is a draft.

notesstring

Internal admin notes, not visible to the customer.

notificationsNotification

Expandable list of notifications sent on behalf of the shipment.

numberstringauto

Unique incremental shipment number, assigned automatically.

orderOrder

Expandable link to the order.

originobject

The shipment origin location.

packagesarray of object

List of packages included in this shipment.

servicestring

The id of a shipping service as configured in shipment settings.

service_namestring

Name of the shipping service.

tracking_codestring

Tracking code used to identify the shipment, if applicable.

labelobject

The order’s shipping label.

The shipment model
{
  "id": "60f199509111e70000000089",
  "items": [
    {
      "id": "5ca537326a0ec32a521139dd",
      "order_item_id": null,
      "product_id": "5cad15bc9b14d1990724663b",
      "quantity": 2
    }
  ],
  "order_id": "60f199509111e7000000008b",
  "date_created": "2021-07-16T14:36:00.413Z",
  "date_updated": "2021-07-16T14:36:00.413Z",
  "destination": {
    "name": "Hieronymus Lex",
    "address1": "South Watch Tower, Captain's Quarters",
    "city": "Imperial City",
    "state": "NY",
    "zip": 11201,
    "country": "US",
    "phone": "(555) 555-5555"
  },
  "service": "imperial_express",
  "tracking_code": "T192000000XYZ"
}