Product Categories

get_product_categories

Get list of product categories for the authenticated user's organization

Parameters

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

searchstring

Search term for category name

relationsArray<string>

Relations to include (e.g., ["products", "image"])

langCodestring

Language code for translations

get_product_category_count

Get product category count in the authenticated user's organization

create_product_category

Create a new product category in the authenticated user's organization

Body

application/json
category_dataobjectrequired

The data for creating the product category

Show child attributes
namestringrequired

The name (required)

translationsArray<object>

Category translations for different languages

Show child attributes
languageCodestringrequired
namestringrequired
descriptionstring
[key: string]any

update_product_category

Update an existing product category

Body

application/json
idstring<uuid>required

The product category ID

category_dataobjectrequired

The data for updating the product category

Show child attributes
translationsArray<object>

Category translations for different languages

Show child attributes
languageCodestringrequired
namestringrequired
descriptionstring
[key: string]any

get_products_by_category

Get all products in a specific category

Parameters

categoryIdstring<uuid>required

The product category ID

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

enabledboolean

Filter by enabled status

relationsArray<string>

Relations to include

langCodestring

Language code for translations

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