Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
page
(number): Page number for pagination (default: 1)pageSize
(number): Number of products per page (default: 10, max: 50)attributeValues
(string): Filter by attribute valueslanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productlanguage
(string): Response language (en or ar)
name
(object): Product name in Arabic and English {ar: "اسم المنتج", en: "Product Name"}sku
(string): Stock Keeping Unit (unique identifier)price
(number): Product priceisPublished
(boolean, optional): Whether product is published (default: true)isTaxable
(boolean, optional): Whether product is taxable (default: true)requiresShipping
(boolean, optional): Whether product requires shipping (default: true)description
(object, optional): Product description {ar: "وصف", en: "Description"}shortDescription
(object, optional): Short description {ar: "وصف قصير", en: "Short Description"}weight
(object, optional): Product weight {value: number, unit: "kg"}salePrice
(number, optional): Sale price for discountslanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productname
(object, optional): Updated product name {ar: "اسم", en: "Name"}price
(number, optional): Updated priceisPublished
(boolean, optional): Updated publish statusisTaxable
(boolean, optional): Updated tax statusdescription
(object, optional): Updated description {ar: "وصف", en: "Description"}shortDescription
(object, optional): Updated short description {ar: "وصف قصير", en: "Short Description"}weight
(object, optional): Updated weight {value: number, unit: "kg"}salePrice
(number, optional): Updated sale pricelanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the product to deletelanguage
(string): Response language (en or ar)
language
(string): Response language (en or ar)
productId
(string): The unique ID of the productimageUrl
(string): URL of the image to addaltText
(string): Alternative text for the imageimageId
(string/number): ID of the specific imagedisplayOrder
(number): Order for displaying imageslanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productstockId
(string): ID of the specific stock entrylocation
(string): Location name for the stockavailableQuantity
(number): Available quantity (null for infinite)isInfinite
(boolean): Whether stock is infinitestocks
(array): Array of stock objects for bulk operationslanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productvariants
(array): Array of variant objects with:sku
(string): Variant SKUprice
(number): Variant pricequantity
(number): Available quantityis_infinite
(boolean): Whether stock is infiniteattributes
(array): Array of attribute objects {slug: "color", value: {ar: "أحمر", en: "Red"}}images
(array, optional): Array of image URLsweight
(object, optional): Variant weight {value: number, unit: "kg"}language
(string): Response language (en or ar)
productId
(string): The unique ID of the productlabel
(object): Option label {ar: "التسمية", en: "Label"}choices
(array): Array of choice objects {ar: "الخيار", en: "Choice", price: "10"}hint
(object, optional): Hint text {ar: "تلميح", en: "Hint"}type
(string): Input field type (text, number, dropdown)price
(string): Additional price for the optionlanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productvoucherId
(string): ID of the specific voucherkey
(string): Voucher key/codestatus
(string): Voucher status (AVAILABLE, SOLD, RESERVED, RETURNED)serialNumber
(string, optional): Serial numberpinCode
(string, optional): PIN codeorder
(string, optional): Associated orderexpiresAt
(string, optional): Expiration dateemail
(string): Email for exportlanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productquestionId
(string): ID of the specific questionanswerId
(string): ID of the specific answerreviewId
(string): ID of the specific reviewreplyId
(string): ID of the specific replyname
(string): Customer nameemail
(string): Customer emailquestion
(string): Question textanswer
(string): Answer textisPublished
(boolean): Whether to publish the contentstatus
(string): Review status (pending, approved, rejected, spam)text
(string): Reply textlanguage
(string): Response language (en or ar)
nameAr
(string): Product name in ArabicnameEn
(string): Product name in Englishprice
(number): Product priceisDraft
(boolean, optional): Whether product is draft (default: true)productId
(string): The unique ID of the productfile
(string): Storage key/path of the uploaded filedisplayName
(string): Name of the file as it appears to userssaveToLibrary
(boolean, optional): Whether to save to library (default: true)downloadableId
(string): ID of the specific downloadablelanguage
(string): Response language (en or ar)
delayUnit
(string): Delay unit for notificationsdelayValue
(number): Delay valueemailText
(object): Email text {ar: "النص", en: "Text"}emailTitle
(object): Email title {ar: "العنوان", en: "Title"}productId
(string): The unique ID of the productemail
(string): Customer emaillanguage
(string): Response language (en or ar)name
(string, optional): Customer namephone
(string, optional): Customer phonecustomerId
(string, optional): Customer IDcustomerPhoneNumber
(string, optional): Customer phone numbercustomerName
(string, optional): Customer namecontent
(string): Email contenttitle
(string): Email titlemethod
(string, optional): Notification method (default: "email")isNotified
(boolean, optional): Filter by notification status
products
(array): Array of product objects for bulk updatecategory
(number, optional): Category ID for sortinglanguage
(string): Response language (en or ar)
language
(string): Response language (en or ar)
Tool Name | Purpose/Use Case | Key Parameters |
---|---|---|
List Products | List/filter/search products | page, pageSize, attributeValues |
Get Product Details | Fetch full details for a specific product | productId |
Create Product | Add new product to catalog | name, sku, price, description |
Update Product | Modify existing product information | productId, fields to update |
Delete Product | Remove product from store | productId |
Get Product Settings | View store-wide product settings | (none required) |
Manage Product Images | Add/sort/delete product images | productId, imageUrl, imageId |
Manage Product Stock | Track inventory across locations | productId, location, quantity |
Manage Product Variants | Add product variants with attributes | productId, variants array |
Manage Custom Options | Add customization options | productId, label, choices |
Manage Product Vouchers | Handle digital vouchers/gift cards | productId, voucherId, key, status |
Manage Questions & Reviews | Moderate customer content | productId, questionId, reviewId |
Manage Digital Products | Handle downloadable products | productId, file, displayName |
Manage Availability Notifications | Handle stock notifications | productId, email, settings |
Bulk Operations | Update multiple products at once | products array |
Export Functions | Export product data | (none required) |