Store Locality API

Manage warehouse shelf locations — retrieve, create, modify, delete, and print

Base URL

https://{tenant}.logzi.com/api/store_locality/

Every request returns a JSON response. On success result.code == 1, on error result.code == 0. A shelf location is a physical storage position within a warehouse, identified by column, row, and floor coordinates.

GET /api/store_locality/get

Retrieve a single shelf location by identifier.

Query parameters

ParameterTypeRequiredDescription
idintShelf location unique identifier

Example request

GET /api/store_locality/get?id=3
X-API-KEY: {your_api_key}
GET /api/store_locality/list

Retrieve a paginated list of shelf locations with filtering options.

Query parameters

ParameterTypeRequiredDescription
list_offsetintPagination offset (default: 0)
list_condition[store_id]intFilter by warehouse identifier
list_condition[barcode]stringFilter by barcode (LIKE)
list_condition[name]stringFilter by name (LIKE)

Example request

GET /api/store_locality/list?list_condition[store_id]=1&list_offset=0
X-API-KEY: {your_api_key}
POST /api/store_locality/save

Create or modify a shelf location. For a new shelf location use data[id] = 0.

POST fields — data object

FieldTypeRequiredDescription
idint0 = new shelf location, >0 = update
store_idintWarehouse identifier
namestringShelf location name / label
company_idintCompany identifier
company_user_idintIdentifier of the creating staff member
barcodestringBarcode on the shelf location
locality_colstringColumn identifier (e.g. "A")
locality_rowstringRow identifier (e.g. "3")
locality_floorstringFloor identifier (e.g. "2")

Example request

POST /api/store_locality/save
X-API-KEY: {your_api_key}
Content-Type: application/json

{
  "data": {
    "id": 0,
    "store_id": 1,
    "name": "A-3-2",
    "locality_col": "A",
    "locality_row": "3",
    "locality_floor": "2",
    "barcode": "LOC-A-3-2"
  }
}
POST /api/store_locality/delete

Delete a shelf location by identifier.

POST fields — data object

FieldTypeRequiredDescription
idintIdentifier of the shelf location to delete

Example request

POST /api/store_locality/delete
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "data": { "id": 3 } }
GET /api/store_locality/download

Download the shelf location barcode in a printable format.

Query parameters

ParameterTypeRequiredDescription
idintShelf location identifier

Example request

GET /api/store_locality/download?id=3
X-API-KEY: {your_api_key}

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!