Skip to main content
POST /api/v1/products/{productId}/images stores an image file and adds it to the product’s gallery. It requires catalog:write. To use images that are already online, send their URLs in images on PATCH /api/v1/products/{productId} instead.

Upload an image

Send the file as multipart/form-data in a part named file:
productId can be a variant UUID to set a variant’s own image. The response is 201 with the stored image and the gallery in order:
The upload changes the OmniCommerce product and sends a product.updated webhook. Marketplaces get the new gallery the next time you publish: POST /api/v1/products/{productId}/publish.

SDK and CLI