Skip to main content
POST
Create a batch
只有已购买(已支付)的货件才能添加到批次中。草稿货件将导致1002错误。

授权

Authorization
string
header
必填

API access token generated from the UniUni Platform dashboard.

请求体

application/json
batchName
string

Name for the batch.

shipments
string[]

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

响应

200 - application/json

Batch created or error

message
string
必填

Additional information about the request status.

code
integer
必填

Status code. 0 indicates success.

data
object