I'm trying to add an item by API.every thing are working except item price
It's Magento Bug that not take price from API
https://devdocs.magento.com/redoc/2.3/admin-rest-api.html#operation/quoteCartItemRepositoryV1SavePost
POST : V1/carts/mine/items?cart_id=27333
Payload :
{
"cartItem":
{
"sku": "1024P270PDTS",
"qty": 1,
"price": 20,
"quote_id": "27333"
}
}
It will add item correctly but not the price it will not take a price from API it set price from magento.
How can I add product in cart with price 20 as passed in API
Even facing same problem with update item API it is not change API price which is sent in payload
PUT : V1/carts/mine/items/105287?cart_id=27333
{
"cartItem":
{
"sku": "1024P270PDTS",
"qty": 1,
"price": 20,
"quote_id": "27333",
"item_id" : 105287
}
}
original_custom_price
index for change the price?