Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
language
(string): Response language (en or ar)
categoryId
(string or number): The unique ID of the categorylanguage
(string): Response language (en or ar)
nameAr
(string): Category name in ArabicnameEn
(string): Category name in EnglishdescriptionAr
(string, optional): Category description in ArabicdescriptionEn
(string, optional): Category description in Englishlanguage
(string): Response language (en or ar)
categoryId
(string or number): The unique ID of the categorynameAr
(string, optional): Updated category name in ArabicnameEn
(string, optional): Updated category name in EnglishdescriptionAr
(string, optional): Updated description in ArabicdescriptionEn
(string, optional): Updated description in Englishlanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productcategoryId
(number): The unique ID of the categorylanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productcategoryId
(string or number): The unique ID of the categorylanguage
(string): Response language (en or ar)
categoryId
(string or number): The unique ID of the categoryisPublished
(boolean): Whether the category should be published (true) or unpublished (false)language
(string): Response language (en or ar)
categoryId
(string or number): The unique ID of the category to remove from all productslanguage
(string): Response language (en or ar)
Tool Name | Purpose/Use Case | Key Parameters |
---|---|---|
List Categories | Display all categories in store | (none required) |
Get Category Details | Fetch full details for a specific category | categoryId |
Create Category | Add new category to organize products | nameAr, nameEn, descriptionAr, descriptionEn |
Update Category | Modify existing category information | categoryId, fields to update |
Add Product to Category | Assign product to category for organization | productId, categoryId |
Remove Product from Category | Remove product from specific category | productId, categoryId |
Update Category Publishing | Control category visibility to customers | categoryId, isPublished |
Remove Category from Products | Remove category from all associated products | categoryId |