if i add a item to cart via api it set Magento 2 default price of the item instead price set via API
1st i create a cart for a customer:
index.php/rest/default/V1/customers/631/carts
via POST
index.php/rest/default/V1/carts/{cartid}/items
via POST
json:
{ "cartItem": { "quote_id": "cart_id_from_1st_response", "sku": "test_sku", "qty": 1, "price": "11" } }
the response is like that:
stdClass Object ( [item_id] => 186 [sku] => test_sku [qty] => 1 [name] => Testarticle [price] => 15 [product_type] => simple [quote_id] => 287 )
the price should be 11 as in the post, but the API response the prie of 15