---
title: "Discussion on \"Complete Order Flow for Guest and LoggedIn Customer Using REST API\" | Hashnode"
description: "Discussion on \"Complete Order Flow for Guest and LoggedIn Customer Using REST API\". Guest\n1. Create Empty Cart\n End Point = http://magento.local/en-uae/rest/V1/guest-carts\n\n Method    = POST\n Output    = token(hFJ9dQO4nkyTwWJFoiAdk9Bp4SF9aJo7)\n\n2. Get Cart ID By Token\n End Point = http://magento.local/en-uae/rest/V1/guest-carts/(tok..."
url: "https://hashnode.com/posts/complete-order-flow-for-guest-and-loggedin-customer-using-rest-api/643ced817a1016fe9248ba8e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Complete Order Flow for Guest and LoggedIn Customer Using REST API](https://mandeepsingh.hashnode.dev/complete-order-flow-for-guest-and-loggedin-customer-using-rest-api?utm_source=hashnode&utm_medium=feed)

Guest 1. Create Empty Cart End Point = http://magento.local/en-uae/rest/V1/guest-carts Method = POST Output = token(hFJ9dQO4nkyTwWJFoiAdk9Bp4SF9aJo7) 2. Get Cart ID By Token End Point = http://magento.local/en-uae/rest/V1/guest-carts/(tok...

Apr 17, 2023 · 3 min read · mandeepsingh.hashnode.dev  
Updated Sep 12, 2023  
Read the article

-   [#apis](https://hashnode.com/tag/apis)
-   [#magento-2](https://hashnode.com/tag/magento-2)
-   [#headless-commerce](https://hashnode.com/tag/headless-commerce)

## Written by

[Mandeep Singh](https://hashnode.com/@mandeepsingh)

@mandeepsingh · Machhiwara Sahib, India

  
[View profile](https://hashnode.com/@mandeepsingh)

Code Repeat Repeat

I am Mandeep Singh, a full-stack developer. I created this Blog to bestow my coding experience and love to write on JavaScript, Next.js, Laravel and little bit Unity Game development.

## Responses 1

Markdown supported · ⌘↵ to post

[Sanjay Kumar Das](https://hashnode.com/@itzsanjaykumar)

[Aug 21, 2023](https://hashnode.com/posts/complete-order-flow-for-guest-and-loggedin-customer-using-rest-api/643ced817a1016fe9248ba8e/comment/64e344bfa217febb97164229)

Hi Bro. Hope you are doing good :)

you added my content in your post that is fine but issue is you please re post with your name and all other details(phone number , email and name etc)

[magento.stackexchange.com/questions/136028/how-to…](https://magento.stackexchange.com/questions/136028/how-to-create-order-using-rest-api)

I have some privacy issue please update the post

[Mandeep Singh](https://hashnode.com/@mandeepsingh)

[Jan 17, 2024](https://hashnode.com/posts/complete-order-flow-for-guest-and-loggedin-customer-using-rest-api/643ced817a1016fe9248ba8e/comment/64e344bfa217febb97164229#reply-65a7a4d463b51e246ea1bb85)

ok sure

[Sanjay Kumar Das](https://hashnode.com/@itzsanjaykumar)

[Jan 17, 2024](https://hashnode.com/posts/complete-order-flow-for-guest-and-loggedin-customer-using-rest-api/643ced817a1016fe9248ba8e/comment/64e344bfa217febb97164229#reply-65a7b24f27b590ed80f927bb)

[Mandeep Singh](https://hashnode.com/@mandeepsingh) Thank you bro.
