> For the complete documentation index, see [llms.txt](https://docs.limio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.limio.com/salesforce/support/legacy-features/enable-offers-v2-api.md).

# Offers V2 API

LFS uses Limio API to fetch offers to show in the catalog.

**By default**, the user will see the list of offers fetched from the `api/offers/v2` endpoint both in the Manage Subscriptions and Flows.

If you've previously been using an old v1 endpoint - `api/offers` -, to switch to the `api/offers/v2` (new) endpoint, you will need to follow the steps in this guide. **Bear in mind you can only use either Offers V1 or Offers V2, you cannot have them both**

*Setup **→** Custom Metadata Types **→** ic Assist Config* (click *Manage Records*)

<figure><img src="https://284256719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUgE12kxtw8dDbuEZGzbI%2Fuploads%2Fgit-blob-1d94965120ebb1759868df8ce9eb85b2bf76df7e%2Fimage%20(401).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://284256719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUgE12kxtw8dDbuEZGzbI%2Fuploads%2Fgit-blob-1b60bad1359bfe1174c9d1a78fae5ab1b784565a%2Fimage2%20(13).png?alt=media" alt=""><figcaption></figcaption></figure>

Click *Edit* on the `uiSettings - Filter` record:

<figure><img src="https://284256719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUgE12kxtw8dDbuEZGzbI%2Fuploads%2Fgit-blob-470c91f14dd5e627863cdee8968078086a8f9c99%2Fimage%20(402).png?alt=media" alt=""><figcaption></figcaption></figure>

And add the following attribute to the config object:\
`"callNewOffersEndpoint": true`

<figure><img src="https://284256719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUgE12kxtw8dDbuEZGzbI%2Fuploads%2Fgit-blob-9f382b7b588011346ec282136c8d00fc381f68d1%2Fimage%20(403).png?alt=media" alt=""><figcaption></figcaption></figure>

You can always switch back to the old endpoint by setting the `callNewOffersEndpoint` attribute value to *false* or by removing it from the config.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.limio.com/salesforce/support/legacy-features/enable-offers-v2-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
