put https://{environment}.neomode.com.br/management/catalog/products//categories
Updates all of product's categories. This endpoint ALWAYS overwrite all of product's categories.
The body request is an array, so you can update more than one stock 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": "8F8AB58E-15A0-4417-8162-68CC186BF911"
}
]
Fields Description
Field | Type | Description |
---|---|---|
id | Guid | Product category ID |
Result
A 204- No Content result means that the stock was successfully updated.