Skip to content

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 image file.

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