Create Label

Environments

Notes

  • Fields marked as Required are essential for certain services. Ensure the correct fields are included by checking the "Required" column in each section.
  • Many field values are provided by the Account Manager. Please consult with them to obtain valid, customer-specific values.

Response Code

CodeCategoryDescription
200SUCCESSSuccess
401ERRORUnauthorized
404ERRORNot found
500ERROROperation error
600ERRORJSON error
601ERRORParameter error
602ERRORAddress error
603ERRORAccount disabled
604ERRORAccount config error
605ERRORSystem config errorWeight error
606ERRORWeight error
607ERRORDimension error
608ERRORAccount balance error
609ERRORNo access
610ERRORLabel status error
611ERRORLabel not found
Body Params
string
required

The designated pickup account for each injection point. Contact Account Manager for account details.

string
required

Product code assigned by Account Manager.

string
required

The IATA airport code.
AUTO -> System automatically select the port of entry by the account

double
required

The weight of the package.
Min: 0.001
Max: 99999.999

string
enum
required

The weight unit.

Allowed:
string
required

The length of the package.
Min: 0.01
Max: 999.99

string
required

The width of the package.
Min: 0.01
Max: 999.99

string
required

The height of the package.
Min: 0.01
Max: 999.99

string
enum
required

The dimensional unit of measurement.

Allowed:
boolean

Specify whether validate the recipient address

string

If the provided customer reference ID is already associated with a label, the system will return the existing label instead of generating a new one. To create a new label with a previously used customer reference ID, you must first cancel the original label. Do not use a fixed value for the customer reference ID, as this will always result in the same label being returned.
Max length: 50

recipient
object
required

Specify the recipient address.
Accepts only [a-zA-Z0-9] and symbols -#.,@&*()_+=/:.
All other characters are replaced with spaces.

returnAddress
object

Specify the return address. If the return needs to be sent back to a specified location, this field is required.
Accepts only [a-zA-Z0-9] and symbols -#.,@&*()_+=/:.
All other characters are replaced with spaces.

fromAddress
object

Ship from address

customizedInfoForm
object

Provide customized information

commodityForms
object

Provide Commodity Information.

string

Package type

string

Valid Values:
01 - Wine
02 - Beer
03 - Spirits
04 - Vape
05 - Smoke & Cigarettes
06 - Cannabis
07 - LIBA
08 - Food Products
10 - LIBA PI 970
11 - LIBA PI 967

This may introduce (Adult) signature confirmation service and ID confirmation service.

double
required

The total value of the parcel
Decimal(5,2)

string
required

The currency of the total value.
Example: USD

boolean

Enable the Signature Confirmation Value Added Service

boolean

Enable the Adult Signature Confirmation Value Added Service

string

The customer can generate and provide an SPX-compliant tracking number, which should correspond to the barcode value on the label.

features
object

Special features such as Value Added Services

labelSettingForm
object

Label Format Settings

string

The ID of the destination PUDO point for last-mile delivery. If a valid and active PUDO ID is provided, the parcel will be delivered to the specified PUDO point. If omitted, the parcel will be delivered to the recipient’s address.

Headers
string
required

API key

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json