Add a picture to a product
post
https://api.mercadoe.com/v1/products/{productId}/pictures
Add a new picture to a specific product by providing the product ID and the picture
file. Please make sure that the picture
file is less than 1 MB and is in one of the following formats: .gif
, .jpg
, .jpeg
or .png
.
Request
Headers
X-ME-CORRELATION-ID
string
Internal client code to be identified in the webhook. It can be, for example, a product code in your ERP, an order number, etc.
Path Parameters
productId
int32
required
The product ID
Body
multipart/form-data
isPrimary
boolean
picture
binary
Responses
202
400
Accepted
Body
application/json
correlationId
string