Skip to main content
GET
Get label
When labelType is shipping, the shipment must have been purchased first.
The PDF content is Base64-encoded in the body field. To save it as a file:

Authorizations

Authorization
string
header
required

API access token generated from the UniUni Platform dashboard.

Path Parameters

id
string
required

The orderNumber (for shipping labels) or batchNumber (for batch labels).

Query Parameters

labelType
enum<string>
required

Type of label to retrieve.

Available options:
shipping,
batching

Response

200 - application/json

Label PDF or error

message
string
required

Additional information about the request status.

code
integer
required

Status code. 0 indicates success.

data
object