Saltar al contenido principal
POST
/
client
/
batch
/
{batchNumber}
/
delete
Delete a batch
curl --request POST \
  --url https://api.ship.uniuni.com/prod/client/batch/{batchNumber}/delete \
  --header 'Authorization: Bearer <token>'
{
  "message": "Batch deleted successfully",
  "code": 0,
  "data": null
}
Solo los lotes que han sido recibidos pueden ser eliminados.

Autorizaciones

Authorization
string
header
requerido

API access token generated from the UniUni Platform dashboard.

Parámetros de ruta

batchNumber
string
requerido

The unique batch number (e.g. URB0714000000000687).

Respuesta

200 - application/json

Batch deleted or error

message
string
requerido

Additional information about the request status.

code
integer
requerido

Status code. 0 indicates success.

data
object

Always null for this operation.