cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 - Cannot add product with customizable options into cart with soap API

SOLVED

Magento 2 - Cannot add product with customizable options into cart with soap API

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"
    	}
    ]
  }
}

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 2 - Cannot add product with customizable options into cart with soap API

2 REPLIES 2

Re: Magento 2 - Cannot add product with customizable options into cart with soap API

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

Re: Magento 2 - Cannot add product with customizable options into cart with soap API