Magento2 API : Create Empty Cart/Quote for Guest Customer

Magento2 API : Create Empty Cart/Quote for Guest Customer

ENDPOINT :  /rest/V1/guest-carts

   e.g :  http://localhost.magento.com/rest/V1/guest-carts

METHOD : POST

HEADERS : Content-Type application/json

                     Authorization : Bearer

PARAMETERS : 
 None

PAYLOAD:
   None

Response :
 
  "h5nfiXfKfQdVoG3Zf3JZbkFlvXEXfzO8"  

//return a alphanumeric string, which willbe the cart ID for guest user

0   0
Eecrets Magento

Related Post

List Your Business

Improve Your Business Visibility

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site