I am planning to use a custom storefront(with Shopify headless). The custom storefront will take payment outside Shopify and I am planning to use draft order.
Can I use the draftorder for maintaining a cart like behaviour? When is the cart API supposed to be used?