Base URL
https://{tenant}.logzi.com/api/product_param_schema/
Every request returns a JSON response. On success result.code == 1, on error result.code == 0. The product parameter schema API is used to manage the schemas of custom parameter structures (e.g. technical attributes, dimensions) that can be assigned to products.
/api/product_param_schema/get
Retrieve a single product parameter schema by identifier.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the schema |
Example request
GET /api/product_param_schema/get?id=1
X-API-KEY: {your_api_key}
/api/product_param_schema/list
Paginated list of product parameter schemas.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_condition | object | Object of filtering conditions |
Example request
GET /api/product_param_schema/list?list_offset=0
X-API-KEY: {your_api_key}
/api/product_param_schema/save
Create or update a product parameter schema.
POST fields — data object
The data object must contain the parameter schema data (schema name, field definitions).
Example request
POST /api/product_param_schema/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
/api/product_param_schema/delete
Delete a product parameter schema by identifier.
POST fields
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the schema to delete |
Example request
POST /api/product_param_schema/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "id": 1 }
Create your account now,
pay later!