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 productpageSize
(number): Number of images per page (default: 20, max: 100)language
(string): Response language (en or ar)
productId
(string): The unique ID of the productimageUrl
(string): URL of the image to add (must be a valid URI)altText
(string): Alternative text for the image (for accessibility)language
(string): Response language (en or ar)
productId
(string): The unique ID of the productimageId
(string or number): The unique ID of the imagedisplayOrder
(number): New display order (minimum: 0)language
(string): Response language (en or ar)
productId
(string): The unique ID of the productimageId
(string or number): The unique ID of the image to deletelanguage
(string): Response language (en or ar)
Tool Name | Purpose/Use Case | Key Parameters |
---|---|---|
Get Product Images | List all images for a product | productId, pageSize |
Add Product Image | Add new image to product | productId, imageUrl, altText |
Update Product Image Sorting | Change image display order | productId, imageId, displayOrder |
Delete Product Image | Remove image from product | productId, imageId |