You already able to insert and update the products, this api will help you to update weight boosting by specific fields.
PUT#
Header#
Field | Type | Description |
---|
x-token | String | token Users unique token |
Request Header Example#
Request Body#
Field | Type | Description |
---|
field | String | Field names that will be used to identify data |
value | String | Value of the item's field |
weightBoosting | Number | Weight of the items |
Request Body Example#
Success 200#
Field | Type | Description |
---|
success | Boolean | Request was successful |
boosted | Number | Total boosted data |
Success Response Example#