Base URL
https://{tenant}.logzi.com/api/shipping_type/
Every request returns a JSON response. On success result.code == 1, on failure result.code == 0.
/api/shipping_type/get
Retrieve a single shipping type by ID.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Unique identifier of the shipping type |
Example Request
GET /api/shipping_type/get?id=1
X-API-KEY: {your_api_key}
/api/shipping_type/list
Paginated retrieval of the shipping type list with filtering options.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_condition | array | Array of filter conditions |
Example Request
GET /api/shipping_type/list?list_offset=0
X-API-KEY: {your_api_key}
/api/shipping_type/save
Create or update a shipping type. For a new record use data[id] = 0.
POST Fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new shipping type, >0 = update | |
name | string | Name of the shipping type (e.g. "Futárszolgálat") | |
shipping_type_code | string | Short identifier code for the shipping type |
Example Request
POST /api/shipping_type/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"data": {
"id": 0,
"name": "Futárszolgálat"
}
}
/api/shipping_type/delete
Delete a shipping type by ID.
POST Fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the shipping type to delete |
Example Request
POST /api/shipping_type/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
Create your account now,
pay later!