Skip to main content
POST
Create a batch
Only purchased (paid) shipments can be added to a batch. Draft shipments will cause a 1002 error.

Authorizations

Authorization
string
header
required

API access token generated from the UniUni Platform dashboard.

Body

application/json
batchName
string

Name for the batch.

shipments
string[]

List of order numbers to include. Only purchased shipments can be added.

Response

200 - application/json

Batch created or error

message
string
required

Additional information about the request status.

code
integer
required

Status code. 0 indicates success.

data
object