Convert Bulk Order to Consignment

After importing orders into Bulk Order, you need to convert them into Consignments so they will be processed in the warehouse. 

Consignment successfully converted will be in 'Pending' status, and they are good to be processed in the warehouse.

URL

http://test.birdsystem.com/client/Temp-Consignment-Info/Convert-Into-Consignment/?ids=12010436_12010437&type=LOCAL&start=0

Method

get

Payload

-

Response

[Error]
Errors will be prompted one by one when occurred.

{
    "numberOfTotalConsignmentsToProcess": 1,
    "numberOfConsignmentsProcessed": 1,
    "finished": true,
    "data": null,
    "errorIdList": [
        {
            "id": 12010439,
            "message": "Cannot find delivery service, please check."
        }
    ],
    "success": true,
    "refresh": false
}


[Success]

{
    "numberOfTotalConsignmentsToProcess": 1,
    "numberOfConsignmentsProcessed": 1,
    "finished": true,
    "data": {
        "12010439": "1507310110000001"
    },
    "errorIdList": [],
    "success": true,
    "refresh": false
}

Response

explanation

numberOfTotalConsignmentsToProcess Total number of consignments to be converted
numberOfConsignmentsProcessed Total number of consignment converted in this request
finished Whether all consignments have been converted.
data In the example above '12010439' is the id of temp_consignment_info, '1507310110000001' is the id of converted 'consignment'

Parameters


MandatoryComment
idsNOtemp_consignment_info ids imploded by "," (comma), if 'ids' is not given then system will default to all unprocessed records.
typeYESLOCAL, RETURN or DIRECT, see Basic Concepts
startYES

Default to 0

Currently up to 25 temp_consignment_info records will be processed during each request.

When 'finished' is 'false', you need to request again and set 'start' to be 'start+=numberOfConsignmentsProcessed' until 'finished' is 'true'