Skip to main content
PUT
/
v1
/
products
/
{productPublicId}
/
image
Update a product image
curl --request PUT \
  --url https://api.maalbar.dk/v1/products/{productPublicId}/image \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-Api-Key: <api-key>' \
  --form image='@example-file'
{
  "message": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

productPublicId
string
required

Body

multipart/form-data
image
file
required

Image file to upload (PNG, JPEG or JPG). Max size: 5MB

Response

Response for status 200