Create a checkout with the Storefront API

You can use the Storefront API to create a checkout.

This guide shows you how to create a checkout in Shopify. It also covers how to update the checkout, including changing line items, populating the shipping address, and setting the shipping rate. The final sections of the guide describe how to associate a customer with a checkout and complete the checkout.

The mutations in this tutorial that complete checkouts are available only for sales channels.