Product Gallery Model
Product gallery items attach an image or video to a product.
Operations
| Action | Method | Guide |
|---|---|---|
| List | GET | Get Product Gallery Items |
| Find | GET | Find Product Gallery Item |
| Create | POST | Create Product Gallery Item |
| Update | POST | Edit Product Gallery Item |
| Delete | DELETE | Delete Product Gallery Item |
Shared fields
-
ididentifies the gallery record. -
product_idassociates the item with a product. -
filecarries image input or the stored image location. -
videocarries a video URL. -
titleanddescriptionprovide visible context.
The controller validates type as an integer but does not limit accepted values to 1 and 2. Check the operation requirements before relying on either value.
Mutations require administrator or business-manager access and check hierarchy and ownership. Read access may differ by operation.