页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

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


代码块
languagejs
borderStylesolid
firstline1
title

...

Request

...

linenumbers

...

true
{

...

   
   "orderIds":["Test001"],

...


    "holdType":1

...


} 


ResponseElements

Returnresults 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

...


代码块

...

language

...

java

...

firstline

...

1

...

title

...

Response

...

linenumbers

...

true
{
    "status": "Success",

...


    "errors": null,

...


    "data":

...

 [
      {
        "status": "Success",

...


        "errors": null,

...


        "orderId": "Test001"

...


      },
      {
        "status": "Success",

...


        "errors": null,

...


        "orderId": "Test001"

...


      }
    ]
}