Image Service API allows uploading of product images to be stored and used within the Zettle applications.
The service returns a imageUrl
that can be added to a desired product using the Product Library API.
The images can be uploaded using a byte array or a static URL, the image will be eventually available for lookup from
within the Zettle apps or via the imageUrls
returned by the service.
For upload restrictions, see Swagger documentation.
Note: For .jpg images, specify
imageFormat
as JPEG.
https://image.izettle.com/v2/images
https://image.izettle.com/swagger
POST /v2/images/organizations/{organizationUuid}/products
{
"imageFormat": "JPEG",
"imageData": null,
"imageUrl": "https://example.com/image.jpg"
}
{
"imageLookupKey": "0SFqIEwSEeWQb_kt6ixqNQ-10TukFTMEaekExOP02bdsw.jpeg",
"imageUrls": [
"https://image.izettle.com/productimage/o/0SFqIEwSEeWQb_kt6ixqNQ-10TukFTMEaekExOP02bdsw.jpeg",
"https://image.izettle.com/productimage/L/0SFqIEwSEeWQb_kt6ixqNQ-10TukFTMEaekExOP02bdsw.jpeg"
]
}
Where o
is a 2000 × 2000 pixels
image and L
is a 560 × 560 pixels
image.
To apply this uploaded image on a product, use the first URL provided in the imageUrls
array.