Manufacturers API

Manage product manufacturers / brands — retrieval, creation, modification, and deletion

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.

GET /api/product_manufact/get

Retrieve a single manufacturer / brand by identifier, with full details.

Query parameters

ParameterTypeRequiredDescription
idintUnique identifier of the manufacturer

Example request

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

Retrieve the list of manufacturers, optionally filtered by product group or product.

Query parameters

ParameterTypeRequiredDescription
product_group_idintFilter by product group identifier
product_idintFilter by product identifier

Example request

GET /api/product_manufact/list?product_group_id=2
X-API-KEY: {your_api_key}
GET /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

ParameterTypeRequiredDescription
product_group_idintFilter by product group identifier
product_idintFilter by product identifier

Example request

GET /api/product_manufact/list_extended?product_group_id=2
X-API-KEY: {your_api_key}
POST /api/product_manufact/save

Create or update a manufacturer. For a new record use data[id] = 0.

POST fields — data object

FieldTypeRequiredDescription
idint0 = new manufacturer, >0 = update
namestringManufacturer name
name_shortstringShort name

Example request

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

{
  "data": {
    "id": 0,
    "name": "Samsung"
  }
}
POST /api/product_manufact/delete

Delete a manufacturer by identifier.

POST fields — data object

FieldTypeRequiredDescription
idintIdentifier 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 } }

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!