QUICKSTART
API Quick Start
Authentication
SignString
OAuth
Overview
Getting Started
Scope List
Rate Limit
Body Envelope
Request Errors
CHANGELOG
Changelog
REFERENCE
API Overview
v3
Rates
Get rates
get
Calculate rates
post
Get a rate
get
Labels
Get labels
get
Create a label
post
Get a label
get
Manifests
Get manifests
get
Create a manifest
post
Get a manifest
get
Couriers
Get all couriers
get
Cancel Labels
Get the cancelled labels
get
Cancel a label
post
Get a cancelled label
get
Pickups
Get pickups
get
Create a pickup
post
Get a pickup
get
Cancel Pickups
Get the cancelled pickups
get
Cancel a pickup
post
Get a cancelled pickup
get
Shipper Accounts
Get shipper accounts
get
Create a shipper account
post
Get a shipper account
get
Delete a shipper account
delete
Update a shipper account's information
put
Update a shipper account's credentials
patch
Update a shipper account's settings
patch
Specific Shipper Accounts
Create a FedEx shipper account
post
Update a FedEx shipper account
post
Address Validations (Beta)
Create an address validation
post
Locations
Get locations
get
MODEL
Envelope
Meta
v3
Error
v3
Primitive
Billing
v3
Customs
v3
Shipment
v3
Address
v3
Parcel
v3
Item
v3
Courier
v3
Reference
v3
Money
v3
PaymentMethodAccount
v3
Dimension
v3
Weight
v3
Volume
v3
Aes
v3
NoEei
v3
Resource
Rate
v3
RateRecord
v3
Label
v3
Manifest
v3
ShipperAccount
v3
CancelLabel
v3
AddressValidation (Beta)
v3
Location
v3
Pickup
v3
CancelPickup
v3
Carrier Guide
Supported Carriers
ENUM
Shipper Accounts Credentials
Service Types and Service Options List
All Service Options
Webhook
Webhook Overview
Webhook Specifications
Webhook Signature
Webhook Outgoing IPs
SDK
Java SDK
Node.js SDK
Open Source
phone
email-verifier
Support
Contact Support

Label

Label object: the description of label object

This array contains service_options object. Please refer to [all service options](/docs/shipping/enum/all-service-options) and [service options list](../../docs/enum/service-options-lists.md) for details. This array contains reference data. Please refer to [reference](/docs/shipping/model/primitive/reference) object for label object details.

Label object: the description of label object

This array contains service_options object. Please refer to [all service options](/docs/shipping/enum/all-service-options) and [service options list](../../docs/enum/service-options-lists.md) for details. This array contains reference data. Please refer to [reference](/docs/shipping/model/primitive/reference) object for label object details.
id
string

Label ID

status
string
Allowed values:
creatingcreatedcancellingcancelledmanifestingmanifestedfailed
ship_date
string
tracking_numbers
array[string]
carrier_references
array[object]
pickup_reference
string

Reference of the pickup booked together with this shipment. Returned by dhl, fedex, tnt-it, tnt-au and bluedart.

pickup_location_code
string

Code of the carrier location where this shipment is picked up. Returned by fedex.

piece_tracking_numbers
array[string]

Tracking number of each piece of a multi-piece shipment. Returned by dhl.

bbcode
string

Identifier assigned by the carrier to this shipment. It is used as the tracking number when the carrier does not return one, and it must be supplied back to cancel the label. Returned by continental.

booking_reference
string

Booking identifier assigned by the carrier. Its exact meaning depends on the carrier: the collection booking reference for tnt, the routing code for dhl-ecommerce-eu, and the booking ID for dhl-global-forwarding and dsv.

files
Files

Files object: the description of 6 different file objects(label, qr_code, invoice, customs_declaration, packing_slip, manifest)

label
object or null
qr_code
object or null
invoice
object or null
customs_declaration
object or null
packing_slip
object or null
manifest
object or null
rate
Rate

Rate object: the description of rate information

charge_weight

Weight object: unit weight of the item

total_charge

The money object is used to represent the currency amount.

shipper_account
object
required

Shipper Account (brief information for rate and manifest responses)

service_type
string or null
required

Service Types

service_name
string or null
required

name of service

pickup_deadline
string or null

A formatted date.

booking_cut_off
string or null

A formatted date.

delivery_date
string or null

A formatted date.

transit_time
integer or null

transit time

detailed_charges
array[object]

Courier charges, it may be different for different couriers

error_code
integer or null

Error code, please refer to error code list for details.

error_message
string or null

error information

info_message
string or null

other information of request/response

created_at
string

A formatted date.

updated_at
string

A formatted date.

references
array[string] or null

Reference information for a label

shipper_account
object

The shipper account used to create this label

id
string

ID of the shipper account

slug
string

Courier slug of the shipper account, please check supported couriers for details

service_type
string

Service Types

order_number
string

A user-defined order number used to identify an order.

service_options
array[object]

This array contains service_options object. Please refer to all service options and service types and service options list for details.

order_id
string

Unique identification of the order.

custom_fields
object

Custom fields that accept an object with string field.Show all...

carrier_redirect_link
string or null

Delivery instructions (delivery date or address) can be modified by visiting the link if supported by a carrier.

Example
{ "id": "string", "status": "creating", "ship_date": "string", "tracking_numbers": [ "string" ], "carrier_references": [ { "pickup_reference": "string", "pickup_location_code": "string", "piece_tracking_numbers": [ null ], "bbcode": "string", "booking_reference": "string" } ], "files": { "label": { "paper_size": "3x5", "url": "string", "file_type": "pdf" }, "qr_code": { "paper_size": "1x1", "url": "string", "file_type": "png" }, "invoice": { "paper_size": "a4", "url": "string", "file_type": "pdf" }, "customs_declaration": { "paper_size": "a4", "url": "string", "file_type": "pdf" }, "packing_slip": { "paper_size": "a4", "url": "string", "file_type": "pdf" }, "manifest": { "paper_size": "a4", "url": "string", "file_type": "pdf" } }, "rate": { "charge_weight": { "unit": "lb", "value": 0 }, "total_charge": { "currency": "AED", "amount": 0 }, "shipper_account": { "id": "string", "slug": "string", "description": "string" }, "service_type": "string", "service_name": "string", "pickup_deadline": "string", "booking_cut_off": "string", "delivery_date": "string", "transit_time": 0, "detailed_charges": [ { "charge": {} } ], "error_code": 0, "error_message": "string", "info_message": "string" }, "created_at": "string", "updated_at": "string", "references": [ "string" ], "shipper_account": { "id": "string", "slug": "string" }, "service_type": "string", "order_number": "string", "service_options": [ {} ], "order_id": "string", "custom_fields": { "property1": "string", "property2": "string" }, "carrier_redirect_link": "string" }