put
https://{environment}.neomode.com.br/management/catalog/products//characteristics
Inserts a product characteristic.
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 characteristic by query.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Take notice!
This request updates all values already set. Pay attention and don't have anything lost!
Request body example
[
{
"productId": "409027D7-D72B-4FF9-AAF2-00055901DE9A",
"key": "Cor",
"value": "Vermelho",
"order": 0,
"hexColor": "#FFFFFF",
"displayOnCatalog": 1,
"isDeleted": 0
}
]
Fields Description
| Field | Type | Description |
|---|---|---|
| productId | Guid | Product ID |
| key | String | A key of characteristic |
| value | String | The value of a characteristic key |
| order | String | The order where it appears on catalog |
| hexColor | string | Characteristic color defined |
| displayOnCatalog | Boolean | If the characteristic displays on catalog |
| isDeleted | Boolean | If the product characteristic is deleted or not |
Result
A 204- No Content result means that the stock was successfully updated.
