Skip to content
Build your own business

Read one shipment

GET/api/partner/v1/companies/{company_id}/shipments/{shipment_id}

Use the shipment_id in an order or the id from the company shipment list. The response includes the shipped line items and the available delivery dates.

Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.

Parameters

  • company_id path · required · string · max length 160

    The partner_company_id from registration, or the operating_company_id of a signed, credited company.

  • shipment_id path · required · string · max length 160

    A shipment belonging to this company.

Responses

200 · Current company shipment.

application/json

  • items array of object · required
    Fields for items
    • item_id string · max length 160 · required
    • name string · required
    • category string · required
    • quantity integer · min 1 · required
  • id string · max length 160 · required
  • status to_send | packing | shipped | delivered | canceled · required
  • carrier variant · required
    Fields for carrier
    Format 1

    string

    Format 2

    null

  • tracking variant · required
    Fields for tracking
    Format 1

    string

    Format 2

    null

  • shipped_on variant · required
    Fields for shipped_on
    Format 1

    string · date

    Format 2

    null

  • delivered_on variant · required
    Fields for delivered_on
    Format 1

    string · date

    Format 2

    null

shipment

{
  "id": "shipment_demo_01",
  "status": "shipped",
  "carrier": "Example carrier",
  "tracking": "EXAMPLE-TRACKING-01",
  "shipped_on": "2027-03-02",
  "delivered_on": null,
  "items": [
    {
      "item_id": "item_demo_01",
      "name": "Kit phone",
      "category": "phone",
      "quantity": 2
    }
  ]
}
400 · Invalid input. Correct the request and use a new key for changed input.

application/json

  • error string · required
  • detail string
  • request_id string
401 · Missing, expired, revoked or wrong-resource access token.

application/json

  • error string · required
  • detail string
  • request_id string
403 · The signed account or role lacks access to this operation.

application/json

  • error string · required
  • detail string
  • request_id string
404 · The resource is unknown or outside this account.

application/json

  • error string · required
  • detail string
  • request_id string
409 · Resource state or idempotency conflict.

application/json

  • error string · required
  • detail string
  • request_id string
429 · Rate limit reached. Back off and retry.

application/json

  • error string · required
  • detail string
  • request_id string
503 · Service or provider unavailable. Check the operation receipt before retrying a write.

application/json

  • error string · required
  • detail string
  • request_id string

Download the full OpenAPI specification