put https://{environment}.neomode.com.br/management/catalog/skus//images
Insert product sku images.
A upsert statement verify if already exists a product with the code set on body request and updates an existing product or creates a new one.
This request is an array, so you can insert more than one image by 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.