> For the complete documentation index, see [llms.txt](https://wiki.theshop.dev/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.theshop.dev/docs/frontstore/basic-selling-flow/checkout.md).

# Checkout

Checkout is the third (last) step in the final order sequence:

1. Shopping cart (Basket)
2. Shipping and payment
3. **Checkout**

## Checkout

In the Checkout section, new order is created in the database.

[This API call](https://demo.theshop.dev/api-documentation/v1#/cart/0cfe1f5d4a41b0c061554482c09bd485) creates new order in database.

## Customer details form

Customers need to fill all fields that are required by the API.

## Summary

By listing the Shopping cart, you can build the summary for a customer.

[This API call](https://demo.theshop.dev/api-documentation/v1#/cart/9b4d1b8ef233906f1447070be083c6d9) returns cart processed by backend.

<figure><img src="/files/U7CDfNWVSP1fxqLNnIQU" alt=""><figcaption><p>Customer details form (left) and Shopping cart summary (right)</p></figcaption></figure>
