cancel
Showing results for 
Search instead for 
Did you mean: 

Zero price Issue in M2 ADD TO CART rest API in case of new customers

Zero price Issue in M2 ADD TO CART rest API in case of new customers

Hello,

 

I'm working on M2 rest API's. I'm getting zero price issue in the same API.

 

How to re-create issue:

1. Create new customer through rest API.

2. Login with the registered customer.

3. Now add the product to cart.

4. Now check the cart info through rest API URL.

 

Now cart showing zero price with zero total.

 

If you again add a new product or same product again. The correct price will be displayed.

 

The zero price issue always comes only in case of new customers. 

 

Request URL with parameters:

storeurl/rest/V1/carts/mine/items

SKU, qty, quote_id

  

Please, anyone, help me to resolve this issue.

 

Thanks