跳转到主要内容
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
}
只有已被接收的批次才能删除。

授权

Authorization
string
header
必填

API access token generated from the UniUni Platform dashboard.

路径参数

batchNumber
string
必填

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

响应

200 - application/json

Batch deleted or error

message
string
必填

Additional information about the request status.

code
integer
必填

Status code. 0 indicates success.

data
object

Always null for this operation.