Description

Get the purchase order list.

Path

HTTP Verb

URL

POST

/api/supplier-service/v1/b2b/poList


Header Sample


POST /api/supplier-service/v1/b2b/poList 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:36:24 GMT
Authorization: WallTech testLvs2jdug2qIoRsJyuxs:VaWNgikNP0NGcoxVCeWYid50MYQ=


Fields

Field

Data Type

Length

Mandatory

Description

orderNoList
String[]

Request field:Order No list
referenceNoList
String[]

Request field:Reference No list

boxNumber

Int

Total box qty

dateCreated

DateTime

Created time of order

deliveredDate

DateTime

Delivered time of order

orderNo

String

Order No

packingDetails

Object[]

Packing info of order

forecastAmount

Int

Forecast product amount

putAwayQty

Int

Put-away product amount

putAwayTime

DateTime

Put-away time

sku

String

SKU code

skuNameEn

String

Product name in English

skuNameLocal

String

Product name in Chinese

referenceNo

String

Reference No

shipperName

String

Shipper name

shippingPlanNo

String

ASN reference No

status

Int

Order status

statusMsg

String

Order status detail

totalVolumeDeclared

BIgDecimal

Declare volume of order

totalVolumeUnit

String

Volume unit


Request Sample

{
    "orderNoList": [
        "E1228322111400002301O"
    ]
}



Response

{
    "code": "0",
    "data": [
        {
            "boxNumber": 1,
            "dateCreated": "2022-11-14 17:36:32",
            "deliveredDate": "",
            "orderNo": "E12283221114000001O",
            "packingDetails": [
                {
                    "forecastAmount": "20",
                    "putAwayQty": "",
                    "putAwayTime": "",
                    "sku": "deli1498603",
                    "skuNameEn": "deli S241-2-1/2CS",
                    "skuNameLocal": "得力S241-2-1/2CS"
                }
            ],
            "referenceNo": "CA-0001",
            "shipperName": "xz",
            "shippingPlanNo": "A12283221114000001S",
            "status": 100,
            "statusMsg": "",
            "totalVolumeDeclared": 0.008,
            "totalVolumeUnit": "cbm",
            "totalWeightDeclared": 20.000,
            "totalWeightUnit": "KG",
            "warehouseCode": "Canada Warehouse"
        }
    ],
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}



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