Path parameters
-
store_id string Required
The store Id in Nomad system
Query parameters
-
page_no integer(int32)
Page number, starting with 1
Minimum value is
1
. Default value is1
. -
page_size integer(int32)
Page size, options: [1, 10, 50, 100, 1000]
Values are
1
,10
,50
,100
, or1000
. Default value is10
. -
product_id string
The product Id in the store
-
batch_id string
The batch Id in the store
-
location_id string
The product Id of product
-
sku_name string
The SKU name of product
-
barcode string
The barcode of product
GET /stores/{store_id}/inventory
curl \
-X GET https://nomad.samarkand-global.cn/envoy/stores/{store_id}/inventory \
-H "x-ca-key: $API_KEY"
Response examples (200)
{
"code": 42,
"message": "string",
"items": [
{
"product_id": "string",
"batch_id": "string",
"location_id": "string",
"sku_name": "string",
"barcode": "string",
"quantity": 1
}
]
}
Response examples (500)
{
"code": 42,
"message": "string",
"items": [
{
"product_id": "string",
"batch_id": "string",
"location_id": "string",
"sku_name": "string",
"barcode": "string",
"quantity": 1
}
]
}