πŸ“– Get Inbound Order Detail

This API describes how to get inbound order details.

Common Parameter

Test Endpoint: https://api-dev.gcparcelservice.com/openapi/inbound-order/detail

Production Endpoint: https://api.gcparcelservice.com/openapi/inbound-order/detail

Method: POST


Request Body

{
  "reference_no_list": ["abc123", "xyz456"],
}

Request Body Explanation

Attribute NameTypeDescription
reference_no_listListReference number list of order need to be get details

Response Body

{
  "code": 200,
  "data": [
    {
      "reference_no": "abc123", 
      "warehouse_code": "LAX01W",
      "status": 30,
      "expected_date": "2023-12-25T23:00:00",
      "package": {
        "width": 6.21,
        "length": 5.93,
        "height": 8.68,
        "weight": 7.23,
        "products": [
          {
            "quantity": 10,
            "sku": "sku-1"
          },
          {
            "quantity": 20,
            "sku": "sku-2"
          }
        ]
      }
   ]
}

Response Body Explanation

Attribute NameTypeDescription
codeIntegerResponse code: 200 successful, 400/500 failed
dataListobject of result
reference_noStringReference Number of the inbound order
warehouse_codeStringcode of inbound warehouse
statusStringstatus code: 10-New, 30-Inbounded, 40-Cancelled, 50-Error
expected_dateStringexpected inbound date
packageObjectpackage list
widthFloatwidth of the package, unit with inch
lengthFloatlength of the package, unit with inch
heightFloatheight of the package, unit with inch
weightFloatweight of the package, unit with pound
productsListproduct list
quantityIntegerquantity of the product
skuStringsku number


Code Example

Get Inbound Order Detail API Code Example