Skip to content

Update a product picture based on the ProductId and PictureId

put
https://api.mercadoe.com/v1/products/{productId}/pictures/{pictureId}/primary

This method updates the selected picture of a specific product to be the primary one by providing both the product ID and the picture ID.

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
pictureId
int32
required
The picture id to be updated

Responses

202
400
404
Accepted

Body

application/json
correlationId
string