Skip to main content
POST
Upload a product image file

Authorizations

X-API-Key
string
header
required

Path Parameters

gtin
string<gtin>
required

GTIN barcode (8, 12, 13, or 14 digits). Normalized to GTIN-14 for lookup.

Required string length: 8 - 14
Pattern: ^[0-9]{8}$|^[0-9]{12,14}$

Body

multipart/form-data
image
file
required

The image file: JPEG, PNG, GIF, WebP or BMP, at most 20 MB and 8000 px on either side.

Response

OK

Result of a direct image upload.

status
enum<string>
required

created when the file became a new image, deduped when the product already had an image with byte-identical content (from an earlier upload or a URL ingestion).

Available options:
created,
deduped
image_id
string
required

The ProductImage id the product now has for these bytes.