Enable Offers V2 API (Legacy)

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)

Screenshot_2022-05-04_at_17.09.19.png
Screenshot_2022-05-04_at_17.09.56.png

Click Edit on the uiSettings - Filter record:

Screenshot_2022-05-04_at_17.10.50.png

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

Screenshot_2022-05-04_at_17.15.09.png

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

Last updated

Was this helpful?