# Fetch Gift 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="/files/6AxidjX1p3dzGHGFlON3" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/sqcwXWqGUgXGHDcoFRQv" 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="/files/wzAe66FvhmTFxPWW1rED" 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: 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://docs.limio.com/integrations/using-limio-for-salesforce/acquisition-flow/gift-subscription/gift-redeemer-details.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.
