Skip to content
Quadrollopo edited this page Oct 11, 2020 · 1 revision

Updating an item's features

Request:

PATCH /v2/items/{id}/features

The body of the request must contain a JSON where you put every feature you want to change, with the new value. Other features will be unchanged.


Example:

{
  "feature1": "value1",
  "feature2": "value2",
  "feature3": "value3"
}

Setting an item's features

Request:

PUT /v2/items/{id}/features

Set the features of an item and delete every other features. The body is the same as above