GET Warehouse List

Last Updated by 19/10/2023

This endpoint will ONLY return the warehouse usage by this specific owner. There is no request parameter needed, because the owner information will be extracted from the API key used.

MethodEndpoint
GET{{host}}/v3/fulfillment/warehouse

Sample Query Parameter

{{host}}/v3/fulfillment/warehouse

Response Parameters

ParameterTypeDescription
metadataobjectThe metadata information
dataarrayThe list of warehouses
warehouse_codestringwarehouse code
warehouse_namestringwarehouse name

Sample Body Response

{
    "metadata": {
        "path": "/v1/openapi/owner-code-warehouse",
        "http_status_code": 200,
        "http_status": "",
        "timestamp": 1697703320
    },
    "data": [
        {
            "warehouse_code": "WH-CGK09",
            "warehouse_name": "CGK09 - Pasar Minggu 2"
        },
        {
            "warehouse_code": "WH-SUB26",
            "warehouse_name": "SUB60 - Surabaya Bulog (ex. SUB26)"
        },
        {
            "warehouse_code": "WH-TEST",
            "warehouse_name": "WH-TEST - Internal Testing in PROD"
        },
        {
            "warehouse_code": "WH-TEST2",
            "warehouse_name": "WH-TEST2 - Internal Testing in PROD"
        },
        {
            "warehouse_code": "WH-TESTB2C",
            "warehouse_name": "TEST - Internal Testing Purposed"
        },
        {
            "warehouse_code": "WH-TGR04",
            "warehouse_name": "TGR04 - Ciputat"
        }
    ]
}