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 Name | Type | Description |
---|---|---|
code | Integer | Response code: 200 successful, 400/500 failed |
data | List | warehouse and shipping method list |
warehouse_code | String | Your available warehouse code |
shipping_method_list | List | Your available fulfillment shipping method list, each warehouse has it's own shipping method list |
Tips
warehouse_code
andshipping_method
is needed when you Create Outbound Order
Code Example
Get Warehouse List API Code Example