Skip to main content
POST
Change the custom price of an item in the cart

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.

Pattern: /^\d*([\.,]\d{1,2})?$/
Example:

"19.99"

Response

Successfully updated the custom price of the item.

success
boolean

Indicates if the operation was successful.