This API describes how to get the warehouse list.

Common Parameter

Test Endpoint: https://api-dev.gcparcelservice.com/openapi/warehouse/list

Production Endpoint: https://api.gcparcelservice.com/openapi/warehouse/list

Method: POST


Request Body

{}

Response Body

{
  "code": 200,
  "data": [
    {
      "warehouse_code": "LAX01W",
      "shipping_method_list": [
        "GLOBAL STANDARD",
        "GLOBAL POST"
      ]
    },
    {
      "warehouse_code": "JFK01W",
      "shipping_method_list": [
        "GLOBAL STANDARD",
        "GLOBAL POST"
      ]
    }
  ]
}

Response Body Explanation

Attribute NameTypeDescription
codeIntegerResponse code: 200 successful, 400/500 failed
dataListwarehouse and shipping method list
warehouse_codeStringYour available warehouse code
shipping_method_listListYour available fulfillment shipping method list, each warehouse has it's own shipping method list

Tips

warehouse_code and shipping_method is needed when you Create Outbound Order


Code Example

Get Warehouse List API Code Example