# Headless

The Headless API is recommended to build quality projects with a long lifetime. It is designed to complete a transaction, from creating a Cart all the way to placing the order.

## Postman collection

The Postman collection is the perfect starting point. It contains a list of all available endpoints and can generate code examples for different languages/frameworks. It's our strong recommendation to supplement our documentation with the collection below.

[![Run In Postman](https://run.pstmn.io/button.svg)](https://god.gw.postman.com/run-collection/32680912-d0572388-718a-4f1d-9439-753ab6454189?action=collection%2Ffork\&source=rip_markdown\&collection-url=entityId%3D32680912-d0572388-718a-4f1d-9439-753ab6454189%26entityType%3Dcollection%26workspaceId%3Da5c90330-7879-45fc-b3c9-2dded67b746a)

## Sections

* Authentication

{% content-ref url="/pages/eVwdA0iu4XBfKo8ZncVO" %}
[Headless API Authentication](/readme/headless/headless-api-authentication.md)
{% endcontent-ref %}

* API reference and examples:

{% content-ref url="/pages/9qPvxuVB9ztoDyoHTt8A" %}
[Reference](/readme/headless/reference.md)
{% endcontent-ref %}

* Instructions on extending the Headless API:

{% content-ref url="/pages/Z2wj7Oo0F359u1n1qu8k" %}
[Custom Headless APIs](/readme/headless/custom-headless-apis.md)
{% endcontent-ref %}


---

# 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://dev.ucommerce.net/readme/headless.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.
