> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commerce-api/events/event-types/subscription-event-types/subscription-trial-renewal-reminder-event.md).

# Subscription trial renewal reminder event

The `subscription.trial_renewal_reminder` event is an essential notification sent a specific number of days before a free trial subscription is due to transition into a paid subscription. This reminder is a timely alert for subscribers and system administrators to keep them well-informed about the impending renewal. It includes critical details such as subscription IDs, renewal dates, pricing, and shopper information, making it a valuable tool for easily managing subscription lifecycle events. This event occurs whenever a trial renewal reminder is dispatched, signaling subscribers that their trial period is nearing its end. It encourages them to renew their subscription to continue accessing the services or products uninterrupted.

{% tabs %}
{% tab title="Request" %}

```json
{   
    "type": "subscription.trial_renewal_reminder",
    "data": {
        "object": {
            "id": "15548710289",
            "creationDate": "2022-03-29T07:01:38.000Z",
            "activationDate": "2022-03-29T05:00:00.000Z",
            "nextRenewalDate": "2022-05-13T05:00:00.000Z",
            "expirationDate": "2022-05-13T05:00:00.000Z",
            "graceDate": "2022-05-13T05:00:00.000Z",
            "currentQuantity": 1,
            "renewalQuantity": 1,
            "autoRenewal": true,
            "locale": "en_US",
            "state": "FreeTrial",
            "duration": 365,
            "frequency": 365,
            "siteId": "sub2test",
            "shopper": {
                "id": "504455410289",
                "externalReferenceId": "XXHMRYHHI10G4"
            },
            "renewalPrice": {
                "unitPrice": 20.0,
                "locked": true,
                "currency": "USD"
            },
            "term": {
                "termUnit": "YEARS",
                "termLength": 1
            },
            "product": {
                "id": "5582478400",
                "displayName": "New Trial Auto Product",
                "sku": "TRIRENREM"
            },
            "shipToAddress": {
                "id": "330009780289",
                "firstName": "Subscription",
                "lastName": "Automation",
                "companyName": "DR",
                "line1": "10380 Bren Rd W",
                "line2": "Conjunto 304",
                "line3": "Conjunto 304",
                "city": "Minnetonka",
                "postalCode": "55343",
                "countrySubdivision": "MN",
                "country": "US",
                "countryName": "United States",
                "phoneNumber": "952-253-1234",
                "emailAddress": "subs_03292022020128AM294TYCYY@digitalriver.com",
                "countyName": "Minnetonka"
            },
            "paymentOption": {
                "nickName": "VisaPXYJ9P",
                "id": "16070220289",
                "isDefault": "true",
                "type": "CreditCardMethod",
                "creditCard": {
                    "expirationMonth": "3",
                    "expirationYear": "2024",
                    "displayableNumber": "************1111",
                    "type": "visa",
                    "displayName": "Visa"
                },
                "address": {
                    "id": "330108640289",
                    "firstName": "Subscription",
                    "lastName": "Automation",
                    "companyName": "DR",
                    "line1": "10380 Bren Rd W",
                    "line2": "Conjunto 304",
                    "line3": "Conjunto 304",
                    "city": "Minnetonka",
                    "postalCode": "55343",
                    "countrySubdivision": "MN",
                    "country": "US",
                    "countryName": "United States",
                    "phoneNumber": "952-253-1234",
                    "emailAddress": "subs_03292022020128AM294TYCYY@digitalriver.com",
                    "countyName": "Minnetonka"
                }
            },
            "addOns": []
        }
    },
  "clientIds":{
      "site_id":"sub2test"
   },
   "searchableData":{
      "subscriptionId":"15548710289"
   }
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
    "id": "6d74fb3a-f387-4dd2-991c-7712e67eddc5",
    "type": "subscription.trial_renewal_reminder",
    "data": {
        "object": {
            "id": "15548710289",
            "creationDate": "2022-03-29T07:01:38.000Z",
            "activationDate": "2022-03-29T05:00:00.000Z",
            "nextRenewalDate": "2022-05-13T05:00:00.000Z",
            "expirationDate": "2022-05-13T05:00:00.000Z",
            "graceDate": "2022-05-13T05:00:00.000Z",
            "currentQuantity": 1,
            "renewalQuantity": 1,
            "autoRenewal": true,
            "locale": "en_US",
            "state": "FreeTrial",
            "duration": 365,
            "frequency": 365,
            "siteId": "sub2test",
            "shopper": {
                "id": "504455410289",
                "externalReferenceId": "XXHMRYHHI10G4"
            },
            "renewalPrice": {
                "unitPrice": 20.0,
                "locked": true,
                "currency": "USD"
            },
            "term": {
                "termUnit": "YEARS",
                "termLength": 1
            },
            "product": {
                "id": "5582478400",
                "displayName": "New Trial Auto Product",
                "sku": "TRIRENREM"
            },
            "shipToAddress": {
                "id": "330009780289",
                "firstName": "Subscription",
                "lastName": "Automation",
                "companyName": "DR",
                "line1": "10380 Bren Rd W",
                "line2": "Conjunto 304",
                "line3": "Conjunto 304",
                "city": "Minnetonka",
                "postalCode": "55343",
                "countrySubdivision": "MN",
                "country": "US",
                "countryName": "United States",
                "phoneNumber": "952-253-1234",
                "emailAddress": "subs_03292022020128AM294TYCYY@digitalriver.com",
                "countyName": "Minnetonka"
            },
            "paymentOption": {
                "nickName": "VisaPXYJ9P",
                "id": "16070220289",
                "isDefault": "true",
                "type": "CreditCardMethod",
                "creditCard": {
                    "expirationMonth": "3",
                    "expirationYear": "2024",
                    "displayableNumber": "************1111",
                    "type": "visa",
                    "displayName": "Visa"
                },
                "address": {
                    "id": "330108640289",
                    "firstName": "Subscription",
                    "lastName": "Automation",
                    "companyName": "DR",
                    "line1": "10380 Bren Rd W",
                    "line2": "Conjunto 304",
                    "line3": "Conjunto 304",
                    "city": "Minnetonka",
                    "postalCode": "55343",
                    "countrySubdivision": "MN",
                    "country": "US",
                    "countryName": "United States",
                    "phoneNumber": "952-253-1234",
                    "emailAddress": "subs_03292022020128AM294TYCYY@digitalriver.com",
                    "countyName": "Minnetonka"
                }
            },
            "addOns": []
        }
    },
    "liveMode": false,
    "createdTime": "2022-03-29T07:01:44.884361Z"
}
```

{% endtab %}
{% endtabs %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.digitalriver.com/commerce-api/events/event-types/subscription-event-types/subscription-trial-renewal-reminder-event.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
