Skip to main content
A shipping package describes a box by its length, width, height and weight, each with an optional unit. These endpoints list, read, create, update and delete shipping packages. This area has 5 endpoints, each available in all seven SDKs.

At a glance

Before you call

Register your API credentials once when your app starts, as shown in Authentication. Every SDK sample on these pages then gets its client in one line. With cURL, send the access token in an Authorization header: Authorization: Bearer $ACCESS_TOKEN.

Things to know

  • Writes are wrapped in shipping_package, and one package comes back under shipping_package. The example create sends a name, a length and a weight.
  • Dimensions are numbers. length, width, height and weight take numbers such as 10 or 1.5.
  • A *_uom field takes the unit’s bare uuid. Not the unit’s prefixed id from GET /settings/uom.
  • The listing pages by cursor. Pass limit, then send the next_cursor from pagination as cursor until has_more is false.