Base URL
https://{tenant}.logzi.com/api/pallet/
Every request returns a JSON response. On success result.code == 1, on error result.code == 0.
/api/pallet/get
Retrieve a single pallet by ID or barcode, with full details.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | The pallet's unique identifier | |
barcode | string | Search by barcode |
Example request
GET /api/pallet/get?id=15
X-API-KEY: {your_api_key}
/api/pallet/list
Paginated retrieval of the pallet list with filtering options.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_count | int | Number of records shown per page | |
list_condition | array | Filter conditions as an associative array | |
language_id | int | Language ID for localized data |
Example request
GET /api/pallet/list?list_offset=0&list_count=25
X-API-KEY: {your_api_key}
/api/pallet/list_product_receipt_items
Retrieve the list of stock items (receipt items) placed on a given pallet.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | ID 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}
/api/pallet/save
Create or modify a pallet. For a new record use data[id] = 0.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new pallet, >0 = modification | |
company_id | int | Company ID | |
company_user_id | int | ID of the responsible employee | |
name | string | Pallet name / code | |
size_width | float | Width (cm) | |
size_height | float | Height (cm) | |
size_length | float | Length (cm) | |
weight | float | Own 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
}
}
/api/pallet/delete
Delete a pallet by ID.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | ID of the pallet to delete |
Example request
POST /api/pallet/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 15 } }
/api/pallet/download
Download the pallet document in various formats.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
receipt_id | int | The pallet's identifier | |
file_type | string | File format, e.g. pdf |
Example request
GET /api/pallet/download?receipt_id=15&file_type=pdf
X-API-KEY: {your_api_key}
Create your account now,
pay later!