How to add images to a product
Use this guide when you need to add one or more images to a product — either by uploading files or providing publicly accessible image URLs.
Request — add images via URL
Bash
curl -X POST "https://your-event-domain.com/api/v2/product/set" \
-H "Authorization: Bearer your_api_key_here" \
-F "event_id=7" \
-F "id=452" \
-F "images[]=https://example.com/products/sensor-front.jpg" \
-F "images[]=https://example.com/products/sensor-side.jpg"
Request — replace all existing images
Use update_images=true to delete all existing product images before saving new ones:
Bash
curl -X POST "https://your-event-domain.com/api/v2/product/set" \
-H "Authorization: Bearer your_api_key_here" \
-F "event_id=7" \
-F "id=452" \
-F "update_images=true" \
-F "images[]=https://example.com/products/sensor-new.jpg"
Accepted image formats
-
image/png -
image/jpeg
Notes
-
Without
update_images=true, new images are added to the existing set -
With
update_images=true, all existing images are deleted first