> 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/agent-assisted-ordering/acquisition-flow/gift-subscription/gift-redeemer-details.md).

# Redeemer Details

**LFS version requirement**: requires Limio for Salesforce version 11.68 or later.

When looking at a subscription that is a gift purchase, details of whether the gift might be redeemed, and redemption related details, aren't available at subscription level.

In the Limio for Salesforce Manage Subscriptions flow, there is a flow apex action that takes the subscription id as an input and, if it's a gift purchase, returns in a custom apex object the following information:

* isRedeemed
* redemptionStatus
* giftCode
* redemptionDate
* expiryDate
* subscriptionId
* accountId
* contactId

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

This is implemented by the global apex class 'GiftRedeemerDetails' in the Limio for Salesforce category<br>

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

The only field that needs to be mapped as input for the selected action is the subscriptionId, that needs to contain the identifier for the gift purchaser subscription.

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

This class will then output an apex class of type i42as\_\_GiftRedeemer, and its parameters can be used elsewhere in the flow as variable for building custom text, or for building a custom lightning web component displaying this information in a purpose built layout.


---

# 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/agent-assisted-ordering/acquisition-flow/gift-subscription/gift-redeemer-details.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.
