Add Product Image
POST/api/products/:product/images
Add a new image to a product by URL or base64 string.
Authentication: Requires Bearer token.
Body fields:
- image (required, string): image URL or base64 encoded string
- name (optional, max 255): image display name
- sort_order (optional, integer): display order
- is_primary (optional, boolean): set as the primary product image
- download (optional, boolean): if true, downloads and stores the image from the URL
Request
Responses
- 200
Successful response