Base URL
https://{tenant}.logzi.com/api/product_manufact/
Every request returns a JSON response. On success result.code == 1; on error result.code == 0.
/api/product_manufact/get
Retrieve a single manufacturer / brand by identifier, with full details.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Unique identifier of the manufacturer |
Example request
GET /api/product_manufact/get?id=5
X-API-KEY: {your_api_key}
/api/product_manufact/list
Retrieve the list of manufacturers, optionally filtered by product group or product.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
product_group_id | int | Filter by product group identifier | |
product_id | int | Filter by product identifier |
Example request
GET /api/product_manufact/list?product_group_id=2
X-API-KEY: {your_api_key}
/api/product_manufact/list_extended
Retrieve an extended list of manufacturers — with more data than the list endpoint, e.g. the number of linked products.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
product_group_id | int | Filter by product group identifier | |
product_id | int | Filter by product identifier |
Example request
GET /api/product_manufact/list_extended?product_group_id=2
X-API-KEY: {your_api_key}
/api/product_manufact/save
Create or update a manufacturer. For a new record use data[id] = 0.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new manufacturer, >0 = update | |
name | string | Manufacturer name | |
name_short | string | Short name |
Example request
POST /api/product_manufact/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"data": {
"id": 0,
"name": "Samsung"
}
}
/api/product_manufact/delete
Delete a manufacturer by identifier.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the manufacturer to delete |
Example request
POST /api/product_manufact/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 5 } }
Create your account now,
pay later!