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

Magento 2: How to create new indexer for your custom module

Xdebug - PHPStorm - Ubuntu: How to configure Xdebug on Ubuntu for PHPStorm

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