BoostingUpdate product boost selection

Update product boost selection

Enables or disables boosting for a set of products.

curl -X PUT "http://localhost:8080/api/products/boost-selection" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -d '{
  "product_ids": [
    123
  ],
  "enabled": true
}'
{
  "success": true
}
PUT
/api/products/boost-selection
PUT
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT access token, or refresh token for the token refresh endpoint.

JWT access token, or refresh token for the token refresh endpoint.
Content-Typestring
Required

The media type of the request body

Options: application/json
product_idsarray
Required

Products whose boost selection should be changed.

enabledboolean
Required

Whether boosting should be enabled.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT access token, or refresh token for the token refresh endpoint.

Body

application/json
product_idsarray
Required

Products whose boost selection should be changed.

enabledboolean
Required

Whether boosting should be enabled.

Responses

successboolean
Required

Whether the operation succeeded.