# 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="https://871955768-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhizHIFUJAg8dDa2gWQUt%2Fuploads%2FJagL6u2D2bnG5zSoD0Aq%2Fcheckout_en.png?alt=media&#x26;token=e0e399db-164a-4290-9c0d-f8e42cec7d44" alt=""><figcaption><p>Customer details form (left) and Shopping cart summary (right)</p></figcaption></figure>
