Base URL
https://{tenant}.logzi.com/api/product_part/
Every request returns a JSON response. On success result.code == 1, on error result.code == 0. The product part API manages the components (parts, raw materials) of composite products — typically used for manufacturing and assembly.
/api/product_part/get
Retrieve a single part relationship by identifier.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the part relationship |
Example request
GET /api/product_part/get?id=1
X-API-KEY: {your_api_key}
/api/product_part/list
Paginated list of product part relationships.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_count | int | Maximum number of records to return | |
list_offset | int | Pagination offset (default: 0) | |
list_condition | object | Object of filtering conditions |
Example request
GET /api/product_part/list?list_offset=0&list_count=100
X-API-KEY: {your_api_key}
/api/product_part/save
Create or update a part relationship.
POST fields — data object
The data object must contain the part relationship data (parent product identifier, part product identifier, quantity).
Example request
POST /api/product_part/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
/api/product_part/delete
Delete a part relationship by identifier.
POST fields
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the part relationship to delete |
Example request
POST /api/product_part/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "id": 1 }
Create your account now,
pay later!