Skip to content

GetWarehouseInfo

Use this api to get the information of the specified warehouse.

GET /openapi/warehouse/v1/find-by-id

Request Parameters

Parameter Type Required Description
warehouseId string true Warehouse id in Ginee

Response Parameters

Name Type Description
id string Warehouse id in Ginee
userId string UserId in Ginee
code string Warehouse code
name string Warehouse name
areaId string Area id
address string Warehouse detailed address
status string Warehouse status,please refer to Warehouse Status for details
type string Warehouse type,please refer to Warehouse Type for details
provider string Warehouse provider,please refer to Warehouse Provider for details
isDefault boolean Default warehouse
externalId string Third party warehouse id
enableCalibrate boolean Whether to enable inventory calibration
createDatetime UTC timestamp Warehouse create time on Ginee
updateDatetime UTC timestamp Warehouse update time on Ginee

Request Example

Example

curl --location --request GET '{Ginee Host}/openapi/warehouse/v1/find-by-id?warehouseId=WW61EA663F9B9717000127DAD5' \
--header 'Content-Type: application/json' \
--header 'X-Advai-Country: ID' \
--header 'Authorization: 2aedf7919e5e6cb4:n0IECNXloTKCTSSxeBEYhzmeVClHmgvw4ruI3W2f9eY=' \
--data-raw ''

Success

{
    "code": "SUCCESS",
    "message": "成功",
    "data": {
        "page": 0,
        "size": 10,
        "total": 25,
        "content": [
            {
                "id": "WW61C56948652205000113CD6D",
                "userId": "U5DDCC5369BD1160001ADD698",
                "code": "4c3e3492-1fc8-7a45-0e3b001",
                "name": "威海威速仓库[6]+test003",
                "areaId": null,
                "address": "测试地址002",
                "status": "ENABLE",
                "type": "THIRD_PARTY_WAREHOUSE",
                "provider": "YILIAN",
                "isDefault": null,
                "externalId": "test003+4c3e3492-1fc8-7a45-0e3b-39ffa8c67db1",
                "enableCalibrate": false,
                "createDatetime": "2021-12-24T06:31:36Z",
                "updateDatetime": "2022-01-23T16:29:47Z"
            }
        ]
    },
    "extra": null,
    "pricingStrategy": "PAY"
}