Products

get_products

Get list of products for the authenticated user's organization

Body

application/json
dataobject

Query data object

Show child attributes
relationsArray<string>

Relations to include (e.g., ["productType", "productCategory", "tags"])

findInputobject

Find input filters

Show child attributes
enabledboolean
productCategoryIdstring<uuid>
productTypeIdstring<uuid>
[key: string]any
pagenumber

Page number for pagination

limitnumber

Number of items per page

get_products_translated

Get list of products with translations for a specific language

Body

application/json
langCodestringrequired

Language code for translations (e.g., "en", "fr", "es")

dataobject

Query data object

Show child attributes
relationsArray<string>

Relations to include

findInputobject

Find input filters

Show child attributes
enabledboolean
productCategoryIdstring<uuid>
pagenumber

Page number for pagination

limitnumber

Number of items per page

get_product_count

Get product count in the authenticated user's organization

Body

application/json
dataobject

Query data object

Show child attributes
findInputobject

Find input filters

Show child attributes
enabledboolean
productCategoryIdstring<uuid>
productTypeIdstring<uuid>
[key: string]any

get_products_pagination

Get products with pagination support

Body

application/json
pagenumber1

Page number

limitnumber10

Items per page

searchstring

Search term

relationsArray<string>

Relations to include

whereobject

Where conditions

Show child attributes
enabledboolean
productCategoryIdstring<uuid>
productTypeIdstring<uuid>
[key: string]any

get_product

Get a specific product by ID

Body

application/json
idstring<uuid>required

The product ID

dataobject

Query data object

Show child attributes
relationsArray<string>

Relations to include (e.g., ["productType", "productCategory", "tags"])

findInputobject

Additional find input

Show child attributes
[key: string]any

get_product_translated

Get a specific product by ID with translations

Body

application/json
idstring<uuid>required

The product ID

langCodestringrequired

Language code for translations

dataobject

Query data object

Show child attributes
relationsArray<string>

Relations to include

create_product

Create a new product in the authenticated user's organization

Parameters

product_dataobjectrequired

The data for creating the product. Required fields: code (string), type (object with name), category (object with name)

update_product

Update an existing product

Parameters

idstring<uuid>required

The product ID

product_dataobjectrequired

The data for updating the product

delete_product

Delete a product

Parameters

idstring<uuid>required

The product ID

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey