cancel
Showing results for 
Search instead for 
Did you mean: 

Magento2 rest api - merge the carts

Magento2 rest api - merge the carts

We are in a project where Magento 2 CE is used as the commerce service provider. Usually when a guest user who has items in Cart login the cart gets merged to the customer's cart and the guest cart will be deleted. How can the same be achieved using Rest APIs in Magento 2? I know that in WCS, we needed to pass the guest token as a header to the Registered user login Rest API. Can someone help us on this?