put https://{environment}.neomode.com.br/management/catalog/products//images
Updates all of product's images. This endpoint ALWAYS overwrite all of product's categories.
The body request is an array, so you can update more than one image at the same query.
Take notice!
This request updates all values already set. Pay attention and don't have anything lost!
Request body example
[
{
"imageUrl": "https://neomode.com.br/images/sample-image.jpg",
"order": 1
}
]
Fields Description
Field | Type | Description |
---|---|---|
imageUrl | String | Image address |
order | Int | The order where the image appears on catalog |
Result
A 204- No Content result means that the stock was successfully updated.