Price override

Line Item Price Override

Override the aggregate price of one product with encrypted request body.

Refer to the design document for the configuration and Encryption setting: https://confluence.digitalriver.com/pages/viewpage.action?spaceKey=SE&title=CAPI-261+-+Line+Item+Price+Override

post/v1/shoppers/me/carts/active (line Item price)

Request body

Example request

{
  "cart": {
    "lineItems": {
      "lineItem": {
        "quantity": "2",
        "product": {
          "id": "1234"
        },
        "pricing": {
          "itemPrice": {
            "currency": "USD",
            "value": 6.66
          }
        }
      }
    }
  }
}

Response

Successful response.

OR