Base URL
https://{tenant}.logzi.com/api/partner_type/
Every request returns a JSON response. On success result.code == 1, on failure result.code == 0.
/api/partner_type/get
Retrieve a single partner type by ID or language.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Unique identifier of the partner type | |
language_id | int | Identifier of the language variant |
Example Request
GET /api/partner_type/get?id=1
X-API-KEY: {your_api_key}
/api/partner_type/list
Paginated retrieval of the partner 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 | |
language_id | int | Filter by language identifier |
Example Request
GET /api/partner_type/list?list_offset=0
X-API-KEY: {your_api_key}
/api/partner_type/save
Create or update a partner type. For a new record use data[id] = 0.
POST Fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new partner type, >0 = update | |
name | string | Name of the partner type (e.g. "Vevő") |
Example Request
POST /api/partner_type/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"data": {
"id": 0,
"name": "Vevő"
}
}
/api/partner_type/delete
Delete a partner type by ID.
POST Fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the partner type to delete |
Example Request
POST /api/partner_type/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
Create your account now,
pay later!