Product Part API

Managing product part (component) relationships

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.

GET /api/product_part/get

Retrieve a single part relationship by identifier.

Query parameters

ParameterTypeRequiredDescription
idintIdentifier of the part relationship

Example request

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

Paginated list of product part relationships.

Query parameters

ParameterTypeRequiredDescription
list_countintMaximum number of records to return
list_offsetintPagination offset (default: 0)
list_conditionobjectObject of filtering conditions

Example request

GET /api/product_part/list?list_offset=0&list_count=100
X-API-KEY: {your_api_key}
POST /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 } }
POST /api/product_part/delete

Delete a part relationship by identifier.

POST fields

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

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!