Good day!
I’m currently building a system using Shopify Storefront API as my backend. I’m trying to sew all the backend calls for the whole e-commerce workflow.
Customer Handling → Product Listing → Cart Management → Checkout Management → Order Management → Delivery
The described workflow above is currently my understanding. My question is, is my understanding correct? Because I’ve read in these articles:
https://shopify.dev/api/examples/cart
https://shopify.dev/api/examples/checkout
that there is a cart workflow and also a checkout workflow. I am I supposed to choose just one? Where do I find the criteria for the said workflow so that I can decide what should I use?
Also, I noticed that in the storefront API there is not delete cart. Am I supposed to handle a single cart record per customer? Or is the cart record being purged after the order is completed?
Can someone shed light on my questions.
Thanks in advance!