Description

Send fulfillment order to 3rd party warehouse.After sending, the order can not be modified generally.

The following status can call this API.

order status = 0

order status = 2

Path

HTTP Verb

URL

POST

/api/supplier-service/v1/b2 c / orders/confirm


Header Sample

POST  /api/supplier-service/v1/b2c/orders/confirm  HTTP/1.1
Content-Type: application/json
Accept: application/json
User-Agent: Mozilla 5.0


Host: http://qa.etowertech.com
X-WallTech-Date: Thu, 06 Aug 2020 06:44:25 GMT
Authorization: WallTech testLvs2jdug2qIoRsJyuxs:F714XG5EBjslUUdx5xJrTCVb9Xs=


Fields

Field

Data Type

Length

Mandatory

Description

orderNo

String[]

M

Order No list

code



-

Response code

errors



-

Response error

message



-

Response message

messageId



-

Response message ID

success



-

Success

warnList



-

No use


Request Sample

["C12283221114000001O"]


Response Sample


{
    "code": "0",
    "data": [
        "C12283221114000002O"
    ],
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}



{
    "code": "3",
    "data": "",
    "errors": [
        {
            "code": "600928",
            "message": "orderNO:C12283221114000001O,Only in the 'Unconfirmed' or 'Sending Abnormality' status,Allowed confirm send operation"
        }
    ],
    "message": "parameters error, please contact your administrator",
    "messageId": "",
    "success": false,
    "warnList": ""
}