Pallets API

Warehouse pallet management — retrieval, creation, and document download

Base URL

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

Every request returns a JSON response. On success result.code == 1, on error result.code == 0.

GET /api/pallet/get

Retrieve a single pallet by ID or barcode, with full details.

Query parameters

ParameterTypeRequiredDescription
idintThe pallet's unique identifier
barcodestringSearch by barcode

Example request

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

Paginated retrieval of the pallet list with filtering options.

Query parameters

ParameterTypeRequiredDescription
list_offsetintPagination offset (default: 0)
list_countintNumber of records shown per page
list_conditionarrayFilter conditions as an associative array
language_idintLanguage ID for localized data

Example request

GET /api/pallet/list?list_offset=0&list_count=25
X-API-KEY: {your_api_key}
GET /api/pallet/list_product_receipt_items

Retrieve the list of stock items (receipt items) placed on a given pallet.

Query parameters

ParameterTypeRequiredDescription
idintID of the pallet whose items should be retrieved

Example request

GET /api/pallet/list_product_receipt_items?id=15
X-API-KEY: {your_api_key}
POST /api/pallet/save

Create or modify a pallet. For a new record use data[id] = 0.

POST fields — data object

FieldTypeRequiredDescription
idint0 = new pallet, >0 = modification
company_idintCompany ID
company_user_idintID of the responsible employee
namestringPallet name / code
size_widthfloatWidth (cm)
size_heightfloatHeight (cm)
size_lengthfloatLength (cm)
weightfloatOwn weight (kg)

Example request

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

{
  "data": {
    "id": 0,
    "company_id": 1,
    "company_user_id": 3,
    "name": "EUR-raklap-001",
    "size_width": 80,
    "size_height": 120,
    "size_length": 120,
    "weight": 25
  }
}
POST /api/pallet/delete

Delete a pallet by ID.

POST fields — data object

FieldTypeRequiredDescription
idintID of the pallet to delete

Example request

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

{ "data": { "id": 15 } }
GET /api/pallet/download

Download the pallet document in various formats.

Query parameters

ParameterTypeRequiredDescription
receipt_idintThe pallet's identifier
file_typestringFile format, e.g. pdf

Example request

GET /api/pallet/download?receipt_id=15&file_type=pdf
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!