POST
/
cart
/
changePrice
/
{id}
curl --request POST \
  --url https://v3.minestorecms.com/api/cart/changePrice/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "price": "19.99"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the item for which the custom price is to be changed.

Body

application/json
price
string
required

The new custom price to set for the item.

Example:

"19.99"

Response

200
application/json
Successfully updated the custom price of the item.
success
boolean

Indicates if the operation was successful.