Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
productId
(string): The unique ID of the productvoucherId
(string): The unique ID of the voucherorder
(string, optional): Associated orderstatus
(string, optional): Voucher statusquery
(string, optional): Search querylanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productvoucherId
(string): The unique ID of the 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 datelanguage
(string): Response language (en or ar)
productId
(string): The unique ID of the productvoucherId
(string): The unique ID of the voucherkey
(string, optional): Updated voucher key/codestatus
(string, optional): Updated voucher status (AVAILABLE, SOLD, RESERVED, RETURNED)language
(string): Response language (en or ar)
productId
(string): The unique ID of the productvoucherId
(string): The unique ID of the voucher to removelanguage
(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)
orderId
(string): The unique ID of the orderpage
(number): Page number (default: 1)pageSize
(number): Number per page (default: 15, max: 100)language
(string): Response language (en or ar)
Tool Name | Purpose/Use Case | Key Parameters |
---|---|---|
Get Product Vouchers | List vouchers for a product | productId, voucherId, order, status, query |
Add Product Voucher | Add new voucher to product | productId, voucherId, key, status, serialNumber, pinCode, order, expiresAt |
Update Product Voucher | Modify voucher information | productId, voucherId, key, status |
Remove Product Voucher | Remove voucher from product | productId, voucherId |
Export Product Vouchers | Export voucher data | productId, email |
Get Order Vouchers | List vouchers for an order | orderId, page, pageSize |