cURL
curl --request POST \ --url https://api.ship.uniuni.com/prod/client/batch/{batchNumber}/delete \ --header 'Authorization: Bearer <token>'
200
success
{ "message": "Batch deleted successfully", "code": 0, "data": null}
Deletes a batch. Only batches that have been received can be deleted.
API access token generated from the UniUni Platform dashboard.
The unique batch number (e.g. URB0714000000000687).
Batch deleted or error
Additional information about the request status.
Status code. 0 indicates success.
Response payload. Returns null if code is not 0.