cURL
curl --request POST \ --url https://api.ship.uniuni.com/prod/client/batch/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "batchName": "Monday Dropoff", "shipments": [ "UNI02947917E" ] } '
200
success
{ "message": "Success", "code": 0, "data": { "batchNumber": "URB0717000000000837", "batchName": "Monday Dropoff", "status": "PENDING", "printedLabel": false, "createdAt": "2025-07-17T21:55:05.526Z", "updatedAt": "2025-07-17T21:55:05.697Z", "shipmentCount": 1 }}
Creates a new batch. You can optionally include purchased shipments at creation time, or create an empty batch and add shipments later.
1002
API access token generated from the UniUni Platform dashboard.
Name for the batch.
List of order numbers to include. Only purchased shipments can be added.
Batch created or error
Additional information about the request status.
Status code. 0 indicates success.
Response payload. Returns null if code is not 0.