> For the complete documentation index, see [llms.txt](https://docs.lomafunds.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lomafunds.com/overview.md).

# Overview

## Quickstart

#### Prerequisites

Before making requests with the API, you'll need to request the following information from your LOMA representative:

* `partnerId`
* `client_id`
* `client_secret`

#### Getting Started

To start working with the API, you'll need to generate a new access token:

{% content-ref url="/pages/hyWeaG7ZyCBIdz0n7cgi" %}
[OAuth](/api/oauth.md)
{% endcontent-ref %}

Once you have a valid token, you can use the `locations` endpoint to get a list of the brand's locations, along with their specific ID:

{% content-ref url="/pages/LGi969qJwM58BDRZdawz" %}
[Locations](/api/locations.md)
{% endcontent-ref %}

Now that you know the unique ID for each location, you can upsert sales data:

{% content-ref url="/pages/T3yh0kyvivJFvCsRKS1Z" %}
[Sales](/api/sales.md)
{% endcontent-ref %}
