页面树结构
转至元数据结尾
转至元数据起始

正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史

« 前一个 版本 4 当前 »

Description

Shippers hold/release the order

Path

HTTP Verb URL
Post /services/shipper/hold





Request content


The request body contains an order sequence, a holding tag, and up to 300 orders can
be sent at once.

Notes.

orderIds:

Ref No. or Tracking No.

holdType:

1: Hold

2: Release. (not enabled)

Can only hold orders with no operation history and no linehaul uploaded.

You can only release orders that have been held by the customer.



Request

Request
{   
   "orderIds":["Test001"],
    "holdType":1
} 

Response Elements

Return results in the order of shipment information in request, including:
1) status (Failed / Success / Partial Success).

2) error

2. 1) code

2.2) message

3) data

3. 1) orderId

3.2) status

3.3) errors

3.3. 1) code

3.3.2) message.






Response message


Response
{
    "status": "Success",
    "errors": null,
    "data": [
      {
        "status": "Success",
        "errors": null,
        "orderId": "Test001"
      },
      {
        "status": "Success",
        "errors": null,
        "orderId": "Test001"
      }
    ]
}





  • 无标签