I created a customizable option of type field in the product and now I can not add this product in the cart by api
api endpoint: /carts/{{quote_id}}/items
{ "cartItem": { "sku": "830406000000", "qty": 1, "quote_id": "3", "options": [ { "key": "1", "value": "test" } ] } }
Solved! Go to Solution.
Hi @kimvieira
As per my understanding you want to add configurable products into cart. Here is the link of solution for this problem.
I hope this solution will work for you.
Thanks
--
If my answer is useful, please Accept as Solution & give Kudos
this problem solved here: https://community.magento.com/t5/Magento-2-x-Technical-Issues/Magento-2-Cannot-add-product-with-cust...