Create label

Log in to see full request history

Create a shipping label for items.

The response to a successful call is in JSON, PDF, or image format, based on the media type specified in the Accept header.

For example:

  • Accept: application/pdf returns a PDF response.
  • Accept: image/png returns an image response.
  • Accept: application/json returns a JSON response.
Body Params

Label fields

string
required

Package Type. Supported Package Types are - 'CUSTOM_PACKAGE'

boxDimensions
object
required

Box Dimensions

boxItems
array of objects
required

Box Items

boxItems*
fromAddress
object
required

From Address

string
required

Purchase Order Id

string
required

Carrier Name. For now, the only supported carrier is - 'MailAmericas'

string
required

Carrier Service Type. For now, supported values are - 'US_CL_MAIL_AMERICAS', 'CN_CL_MAIL_AMERICAS'

string
required

Carrier shipping method, For now, supported values are - 'STANDARD'

boolean
required

save this set of shipping package for next time usage

string
required

Carrier label size. For now, supported values are - 'LETTER_SIZE', 'A4', 'A6', 'A8' for MailAmericas

Headers
string
required
string

Basic authorization header. Base 64 encodes the Client ID and Client Secret retrieved in step two of the integration steps.

string
required

The access token retrieved in the Token API call

string

A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding

string
required

A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID

string
required

Walmart Service Name

string
required

Supported Media Type : application/json, application/pdf, image/png

Responses

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/pdf
image/png