Base URL
https://{tenant}.logzi.com/api/stock_locality/
Every request returns a JSON response. On success result.code == 1, on error result.code == 0. The locality assignment is read-only — the product-to-shelf-location pairing is created during the warehousing process. Shelf locations themselves are managed via the Store-locality API.
/api/stock_locality/get
Retrieve a single locality assignment.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Locality assignment identifier |
Example request
GET /api/stock_locality/get?id=10
X-API-KEY: {your_api_key}
/api/stock_locality/list
Retrieve a paginated list of locality assignments with filtering options.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_condition[store_id] | int | Filter by warehouse identifier | |
list_condition[product_id] | int | Filter by product identifier | |
list_condition[store_locality_id] | int | Filter by shelf location identifier |
Example request
GET /api/stock_locality/list?list_condition[store_id]=1&list_offset=0
X-API-KEY: {your_api_key}
Create your account now,
pay later!