put https://{environment}.neomode.com.br/management/catalog/products//collections
Updates a collection of products (All products). This endpoint ALWAYS overwrite all of product's categories.
The body request is an array, so you can update more than one collection at the same query.
Take notice!
This request updates all values already set. Pay attention and don't have anything lost!
Request body example
[
{
"id":"98D6DCC3-2029-4651-8064-16B00FD135A8",
"name":"Teste Product Tag",
"url":"https://twitter.com/gatinho_fofo3",
"imageUrl":"https://twitter.com/gatinho_fofo3",
"hexColor":"#ffffff",
"hexTextColor":"#000000",
"isDeleted": 0
}
]
Fields Description
Field | Type | Description |
---|---|---|
id | Guid | Product Id |
name | Int | The product name |
url | String | The product address |
imageUrl | String | The product image address |
hexColor | String | Product color defined |
hexTextColor | String | Product text color defined |
isDeleted | Boolean | If the product is deleted or not. |
Result
A 204- No Content result means that the stock was successfully updated.