Public Object Model
What the public model represents
The public API helps an application create and manage Orders and the Shipments inside them. Credentials establish an Account scope; an optional Sub-account scope can narrow a supported request. Address and Parcel values travel with an Order and Shipment rather than being separately managed resources.
Canonical relationship diagram
API key -> access token + refresh token
Account scope -> optional Sub-account scope -> Order
-> origin/destination Address data -> Shipment -> Parcel data
-> Rate results -> client-selected Rate identifier -> Label
-> binary Label asset
The client retains the identifiers returned by the API. A client-selected Rate identifier is supplied when purchasing a Label; it is not a separate operation in this public model.
How to classify the model
| Category | Public concept |
|---|---|
| Credentials | API key, access token, refresh token |
| Request scopes | Account and optional Sub-account |
| Resources | Order and Shipment |
| Embedded values | Origin Address data, destination Address data, and Parcel data |
| Decision results | Rate results |
| Binary representation | Label asset |
| Cross-cutting result | Errors returned by an operation |
What is not a current public resource
The current public model does not expose Merchant, Postage Account, Tracker/Tracking Event, Webhook subscription, public Carrier Account management, or standalone Address or Parcel CRUD. See the current integration scope for the reviewed 12-operation boundary.
Identifier flow
- Create an Order
and retain its
orderIdand eachshipmentId. - Use
orderIdwith Get an Order or update Order status. - Use
shipmentIdwith get Rate results. - Select a returned Rate identifier, then use it with create a Label.
- Retain
postageLabel.idand use it aslabelIdfor the Label workflows.
Short previews of Rates and Labels
Rates explain the returned Rate result and its bounded client-selected identifier handoff. Carrier Availability explains the public-safe readiness boundaries. Labels and Order Lifecycle provide the bounded operation and Order-status guidance.