Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
products
(array): Array of product objects with:id
(string): The unique ID of the productsku
(string): Stock Keeping Unit (unique identifier)name
(object, optional): Product name {ar: "اسم المنتج", en: "Product Name"}price
(number, optional): Product pricequantity
(number, optional): Available quantityisInfinite
(boolean, optional): Whether stock is infinitelanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productstocks
(array): Array of stock objects with:location
(string): Location nameavailableQuantity
(number or null): Available quantity (null for infinite)isInfinite
(boolean): Whether stock is infinitelanguage
(string): Response language (en or ar)
products
(array): Array of product IDs in desired ordercategory
(number, optional): Category ID for sorting within a specific categorylanguage
(string): Response language (en or ar)
language
(string): Response language (en or ar)
language
(string): Response language (en or ar)
productId
(string): The unique ID of the productemail
(string): Email address to receive the exportlanguage
(string): Response language (en or ar)
email
(string): Email address to receive the exportisNotified
(boolean, optional): Filter by notification statuslanguage
(string): Response language (en or ar)
Tool Name | Purpose/Use Case | Key Parameters |
---|---|---|
Bulk Update Products | Update multiple products simultaneously | products array with id, sku, name, price, quantity, isInfinite |
Bulk Update Product Stocks | Update stock for multiple locations | productId, stocks array with location, availableQuantity, isInfinite |
Set Manual Products Sorting | Set custom product order | products array, category (optional) |
Reset Manual Products Sorting | Reset to default sorting | (none required) |
Export Products to Store Owner Email | Export all product data | (none required) |
Export Product Vouchers | Export voucher data for product | productId, email |
Export Availability Notifications | Export notification data | email, isNotified (optional) |