Update Boosting by Query

You already able to insert and update the products, this api will help you to update weight boosting by specific fields.

PUT#

https://api.altoshift.com/api/update/weight/by/query

Header#

FieldTypeDescription
x-tokenStringtoken Users unique token

Request Header Example#

{
"x-token": "2b46ad0b537229cf450777dcc655a8620571e18556c473f065f44739"
}

Request Body#

FieldTypeDescription
fieldStringField names that will be used to identify data
valueStringValue of the item's field
weightBoostingNumberWeight of the items

Request Body Example#

{
"field": "profileId",
"value": "1234",
"weightBoosting": 4.7
}

Success 200#

FieldTypeDescription
successBooleanRequest was successful
boostedNumberTotal boosted data

Success Response Example#

{
"success": true,
"boosted": 8
}