Skip to main content
This page is the dictionary for the field objects shared across endpoints: the shipment fields and the nested address, line item, shipping cost, linked shipment, event, and document objects. Endpoint-specific behavior (which fields are required where) lives on each endpoint’s guide and reference page.

Value conventions

  • Money is a string combining amount and ISO 4217 currency code: "150 SGD", "2491 JPY". Amounts allow up to 2 decimal places.
  • Measurements are strings combining value and unit: "15 cm", "1.5 kg". Dimensions are converted and stored in centimeters.
  • Timestamps are ISO 8601; a value without timezone is interpreted as UTC. See timestamps.
  • Phone numbers use + followed by country calling code and number: +6598765432.
  • Country can be given as country (a name, resolved through a country identifier) or country_code (ISO 3166-1 alpha-2) — either one.
  • Identifiers (shipment_id, order_id, document_id, tracking_number) accept A–Z a–z 0–9 _ - . with no spaces (tracking_number also accepts / and requires at least 6 characters including one digit).

Shipment

Address

Carriers often enforce stricter limits than this API at booking and label generation — 35 characters per address line is common. Keeping address lines short avoids failures downstream even when the API accepts the value.

Line item

Shipping cost

All entries in one request must use the same currency.

Linked shipment

Events retrieved for a linked shipment are incorporated into the main shipment’s events.

Event

Document