Update a product image
Updates image metadata such as name, ordering, thumbnail, or enabled. Setting thumbnail to true automatically clears the flag on the product’s other images.
Authorizations
The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'
Path Parameters
Parent product UUID.
Image UUID.
Body
Editable fields on a product image. The underlying file cannot be changed; upload a new image instead.
Response
Updated product image.
An image asset attached to a product.
Unique identifier for the image.
"1f7e1b54-7c6f-4d7e-9a4f-2c9c2d8b9d31"
Original filename or display name.
"hero-banner.png"
Storage key / URL for the image asset.
"media/.../products/<id>/<uuid>/hero-banner.png"
Position of the image in the gallery.
0
If true, this image is used as the product thumbnail.
true
If true, the image is shown publicly.
true