Magento 2: How to place order as a guest customer using Magento 2 REST API

In order to place a new order as a guest customer using REST APIs in Magento 2, please follow below steps:

MAGENTO 2 REST APIs:

CREATE GUEST CART:

NOTE: Quote/Cart ID here is received from Step 1 of creating guest cart.

ADD ITEMS TO GUEST CART:

GET TOTALS OF GUEST CART:

ESTIMATE SHIPPING OF GUEST CART:

SET BILLING AND SHIPPING DETAILS OF GUEST CART:

PLACE ORDER FROM GUEST CART:

Comments

Popular posts from this blog

XDebug - PHPStorm - Mac: How to configure Xdebug with PHPStorm on Mac OS and PHP 7.3

Magento 2 - Vue Storefront PWA Integration: How to create a new VSBridge indexer job and Elastic Index for your custom module