# Placing orders

- [Shopping cart](https://docs.commercelayer.io/how-tos/placing-orders/shopping-cart.md): How to add a shopping cart to your website
- [Creating a shopping cart](https://docs.commercelayer.io/how-tos/placing-orders/shopping-cart/create-a-shopping-cart.md): How to create a new shopping cart (draft order)
- [Adding products to cart](https://docs.commercelayer.io/how-tos/placing-orders/shopping-cart/add-to-cart.md): How to add new items to your shopping cart
- [Updating cart quantities](https://docs.commercelayer.io/how-tos/placing-orders/shopping-cart/update-quantity.md): How to update the quantity of an item in your shopping cart
- [Removing products from cart](https://docs.commercelayer.io/how-tos/placing-orders/shopping-cart/remove-from-cart.md): How to remove an item from your shopping cart
- [Displaying the cart summary](https://docs.commercelayer.io/how-tos/placing-orders/shopping-cart/displaying-the-cart-summary.md): How to show an order summary to your customers
- [Checkout](https://docs.commercelayer.io/how-tos/placing-orders/checkout.md): How to checkout an order as guest or logged customer
- [Adding the customer](https://docs.commercelayer.io/how-tos/placing-orders/checkout/adding-the-customer-email.md): How to add a customer to the order
- [Adding a billing address](https://docs.commercelayer.io/how-tos/placing-orders/checkout/adding-a-billing-address.md): How to add a billing address to the order
- [Adding a shipping address](https://docs.commercelayer.io/how-tos/placing-orders/checkout/adding-a-shipping-address.md): How to add a shipping address to the order
- [Selecting a shipping method](https://docs.commercelayer.io/how-tos/placing-orders/checkout/selecting-a-shipping-method.md): How to select a shipping method for each of the order shipments
- [Selecting a payment method](https://docs.commercelayer.io/how-tos/placing-orders/checkout/selecting-a-payment-method.md): How to select a payment method for the order
- [Adding a payment source](https://docs.commercelayer.io/how-tos/placing-orders/checkout/adding-a-payment-source.md): How to add a payment source to the order
- [Adding a gift card or coupon](https://docs.commercelayer.io/how-tos/placing-orders/checkout/adding-a-gift-card-or-coupon.md): How to redeem a gift card or coupon by entering a code
- [Placing the order](https://docs.commercelayer.io/how-tos/placing-orders/checkout/placing-the-order.md): How to authorize the payment and place the order
- [Subscriptions](https://docs.commercelayer.io/how-tos/placing-orders/subscriptions.md): How to generate scheduled recurring orders from a source order
- [Configuring a subscription model](https://docs.commercelayer.io/how-tos/placing-orders/subscriptions/configuring-a-subscription-model.md): How to create a subscription model to set the available subscription frequencies and the subscription strategy for a market
- [Selecting the source order](https://docs.commercelayer.io/how-tos/placing-orders/subscriptions/selecting-the-source-order.md): How to set the subscription first run and add the line items from which to generate the subscriptions
- [Generating the subscriptions](https://docs.commercelayer.io/how-tos/placing-orders/subscriptions/generating-the-subscriptions.md): How to trigger the subscription generation based on the source order and the subscription model configuration
- [Updating the subscriptions](https://docs.commercelayer.io/how-tos/placing-orders/subscriptions/updating-the-subscriptions.md): How to customize the next subscription occurrences
- [Payments](https://docs.commercelayer.io/how-tos/placing-orders/payments.md): How to pay for an order using one of the supported payment gateways
- [Adyen](https://docs.commercelayer.io/how-tos/placing-orders/payments/adyen.md): How to pay for an order using Adyen payment gateway
- [Adding the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/adyen/adding-the-payment-source.md): How to add an Adyen payment source to an order
- [Sending back the payment details](https://docs.commercelayer.io/how-tos/placing-orders/payments/adyen/sending-back-the-payment-details.md): How to submit a payment request to Adyen
- [Configuring the notification webhooks](https://docs.commercelayer.io/how-tos/placing-orders/payments/adyen/configuring-the-notification-webhooks.md): How to set up Adyen's notification system
- [Reusing the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/adyen/reusing-the-payment-source.md): How to save the payment source into the customer wallet so that it can be reused
- [Axerve](https://docs.commercelayer.io/how-tos/placing-orders/payments/axerve.md): How to pay for an order using Axerve payment gateway
- [Adding the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/axerve/adding-the-payment-source.md): How to add a Axerve payment source to an order
- [Updating the payment intent](https://docs.commercelayer.io/how-tos/placing-orders/payments/axerve/updating-the-payment-intent.md): How to update the Axerve payment intent amount
- [Braintree](https://docs.commercelayer.io/how-tos/placing-orders/payments/braintree.md): How to pay for an order using Braintree payment gateway
- [Adding the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/braintree/adding-the-payment-source.md): How to add a Braintree payment source to an order
- [Sending back the payment method nonce](https://docs.commercelayer.io/how-tos/placing-orders/payments/braintree/sending-back-the-payment-method-nonce.md): How to send the payment method nonce you receive from Braintree back to Commerce Layer
- [Accepting local payments](https://docs.commercelayer.io/how-tos/placing-orders/payments/braintree/accepting-local-payments.md): How to support Braintree local payments
- [Reusing the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/braintree/reusing-the-payment-source.md): How to save the payment source into the customer wallet so that it can be reused
- [Checkout.com](https://docs.commercelayer.io/how-tos/placing-orders/payments/checkout.com.md): How to pay for an order using Checkout.com payment gateway
- [Adding the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/checkout.com/adding-the-payment-source.md): How to add a Checkout.com payment source to an order
- [Getting the payment details](https://docs.commercelayer.io/how-tos/placing-orders/payments/checkout.com/getting-the-payment-details.md): How to collect payment details from Checkout.com
- [Refreshing pending transactions](https://docs.commercelayer.io/how-tos/placing-orders/payments/checkout.com/refreshing-pending-transactions.md): How to refresh the status of pending transactions
- [Reusing the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/checkout.com/reusing-the-payment-source.md): How to save the payment source into the customer wallet so that it can be reused
- [Klarna](https://docs.commercelayer.io/how-tos/placing-orders/payments/klarna.md): How to pay for an order using Klarna payment gateway
- [Adding the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/klarna/adding-the-payment-source.md): How to add a Klarna payment source to an order
- [Sending back the authorization token](https://docs.commercelayer.io/how-tos/placing-orders/payments/klarna/sending-back-the-authorization-token.md): How to submit a payment request to Klarna
- [Reusing the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/klarna/reusing-the-payment-source.md): How to save the payment source into the customer wallet so that it can be reused
- [PayPal](https://docs.commercelayer.io/how-tos/placing-orders/payments/paypal.md): How to pay for an order using PayPal payment gateway
- [Adding the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/paypal/adding-the-payment-source.md): How to add a PayPal payment source to an order
- [Preparing the payment for execution](https://docs.commercelayer.io/how-tos/placing-orders/payments/paypal/preparing-the-payment-for-execution.md): How to make a payment ready to be executed on Paypal
- [Stripe](https://docs.commercelayer.io/how-tos/placing-orders/payments/stripe.md): How to pay for an order using Stripe payment gateway
- [Adding the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/stripe/adding-the-payment-source.md): How to add a Stripe payment source to an order
- [Refreshing the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/stripe/refreshing-the-payment-source.md): How to refresh the Stripe payment status
- [Reusing the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/stripe/reusing-the-payment-source.md): How to save the payment source into the customer wallet so that it can be reused
- [Manual payments](https://docs.commercelayer.io/how-tos/placing-orders/payments/manual-payments.md): How to pay for an order using a manual payment gateway
- [Adding a wire transfer payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/manual-payments/adding-a-wire-transfer-payment-source.md): How to add an wire transfer payment source to an order
- [External payments](https://docs.commercelayer.io/how-tos/placing-orders/payments/external-payments.md): How to pay for an order using an external payment gateway
- [Adding the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/external-payments/adding-the-payment-source.md): How to add an external payment source to an order
- [Reusing the payment source](https://docs.commercelayer.io/how-tos/placing-orders/payments/external-payments/reusing-the-payment-source.md): How to save the payment source into the customer wallet so that it can be reused
- [Auto-capture](https://docs.commercelayer.io/how-tos/placing-orders/auto-capture.md): How to make sure your payments are automatically captured as soon as they are authorized
- [Enabling the auto-capture](https://docs.commercelayer.io/how-tos/placing-orders/auto-capture/enabling-the-auto-capture.md): How to enable the auto-capture option for a selected payment method
- [Limiting the auto-capture amount](https://docs.commercelayer.io/how-tos/placing-orders/auto-capture/limiting-the-auto-capture-amount.md): How to enable the auto-capture option only for orders under a certain amount


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.commercelayer.io/how-tos/placing-orders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
