Products
get_ products
Get list of products for the authenticated user's organization
Body
dataobjectQuery data object
pagenumberPage number for pagination
limitnumberNumber of items per page
get_ products_ translated
Get list of products with translations for a specific language
Body
langCodestringrequiredLanguage code for translations (e.g., "en", "fr", "es")
dataobjectQuery data object
pagenumberPage number for pagination
limitnumberNumber of items per page
get_ product_ count
Get product count in the authenticated user's organization
Body
dataobjectQuery data object
get_ products_ pagination
Get products with pagination support
Body
pagenumber1Page number
limitnumber10Items per page
searchstringSearch term
relationsArray<string>Relations to include
whereobjectWhere conditions
get_ product
Get a specific product by ID
Body
idstring<uuid>requiredThe product ID
dataobjectQuery data object
get_ product_ translated
Get a specific product by ID with translations
Body
idstring<uuid>requiredThe product ID
langCodestringrequiredLanguage code for translations
dataobjectQuery data object
create_ product
Create a new product in the authenticated user's organization
Parameters
product_ dataobjectrequiredThe 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>requiredThe product ID
product_ dataobjectrequiredThe data for updating the product
delete_ product
Delete a product
Parameters
idstring<uuid>requiredThe product ID
add_ product_ gallery_ images
Add images to product gallery
Body
productIdstring<uuid>requiredThe product ID
imagesArray<object>requiredArray of image objects to add to gallery
set_ product_ featured_ image
Set an image as featured for a product
Body
productIdstring<uuid>requiredThe product ID
imageobjectrequiredImage object to set as featured
delete_ product_ gallery_ image
Delete an image from product gallery
Parameters
productIdstring<uuid>requiredThe product ID
imageIdstring<uuid>requiredThe image ID to delete
delete_ product_ featured_ image
Delete the featured image of a product
Parameters
productIdstring<uuid>requiredThe product ID