# Introduction

Need to fetch prices and inventory, manage shopping carts, customer accounts, or checkout orders? This collection of guides and step-by-step tutorials is what you need, featuring how-tos, handy examples, and best practices for the most common scenarios.

## How it works

Each guide roughly follows the same schema and is developed across four main sections:

1. **Problem**\
   A presentation of the issue you are facing.
2. **Solution**\
   The recommended way to solve the problem. This is where you find the API calls you need to make, along with request/response detailed examples and an image that shows how the involved elements are mapped to the related resource fields.
3. **Additional notes**\
   A special focus and some highlights of critical aspects around the topic, best practices, suggestions and more in-depth information.
4. **More to read**\
   Links to the API reference, articles, blog posts, or any other resource that can help you getting more information about the subject.

![A sample guide page structure](/files/ZCGa7YNf58id8aOU7kh8)

{% hint style="success" icon="robot" %}
Commerce Layer documentation is [LLM-ready](/readme.md#llm-friendly)! To feed the knowledge base into your own LLM, read [this file](https://docs.commercelayer.io/llms.txt).
{% endhint %}

## List of guides

These are the main guides that are currently available. Explore the left menu for subsections and more specific tutorials.

{% content-ref url="/pages/-Ly95g67ki1BlBVxI-jZ" %}
[Product listing page](/how-tos/product-discovery/product-listing-page.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LpcVO1RtinIv225zQCf" %}
[Product page](/how-tos/product-discovery/product-page.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Lk3JT38Tx8Tyee-OE3d" %}
[Shopping cart](/how-tos/placing-orders/shopping-cart.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LyDl4fYqNUVUp8gRMVe" %}
[Checkout](/how-tos/placing-orders/checkout.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LzMlhG69L6Ng6jb-\_i8" %}
[Payments](/how-tos/placing-orders/payments.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MZHZYKsgiEGbf2UrhF\_" %}
[Inventory strategies](/how-tos/inventory/strategies.md)
{% endcontent-ref %}

## Ask for more!

We are working hard to make our documentation as helpful as possible. This list of guides is constantly growing and will be regularly updated. Anyway, if you don't find what you need, feel free to contact our support team at any time or contribute by sending your PR on Github!

Please check also our [Getting started](https://docs.commercelayer.io/getting-started/) guide for basic information on how to interact with the API, our [API reference](https://docs.commercelayer.io/api-reference/) for all the details about each single core resource, and our [changelog](https://docs.commercelayer.io/changelog/) for regular updates on any changes, new features, or product releases.

{% hint style="success" %}
Do you need to extract some kind of data information from your Commerce Layer's organization? We've got you covered. Try out our [Metrics API](https://docs.commercelayer.io/metrics/) and see how it can enable you to gather and aggregate useful data that you can leverage to measure the health and performance of your ecommerce business.
{% endhint %}


---

# 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/readme.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.
