> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RecoverConfigUpdateInput

> Fields to change on a Recover config. Omitted fields are unchanged. Pass at least one.

**ageGateYears** `Int`

The minimum age a shopper must confirm before Recover replies, from 1 to 120. Null removes the age gate.

**agentOutreachEnabled** `Boolean`

True lets Commerce Agent write each outreach message, with `outreachTemplate` as its guidance. False is the builder's Fixed message: `outreachTemplate` is sent as written.

**discountCodeId** `ID`

The discount that `{{ discount_code }}` and `{{ discount_link }}` resolve to: the `id` of one of the store's Recover discounts, which the builder lists in its discount menu. Null removes the discount.

**fallback** `[RecoverFallbackInput](/docs/api-reference/v3/reference/marketing/recover-fallback-input)`

Changes to the fallback.

**fields**

**mode** `[RecoverFallbackMode](/docs/api-reference/v3/reference/marketing/recover-fallback-mode)`

What Recover does with a reply the reply message doesn't cover.

**template** `String`

The Fallback message, which is sent as written when `mode` is TEMPLATE.

**name** `String`

The config's name in the Recover builder. It can't be blank.

**outreachTemplate** `String`

The Outreach message: the first message to the shopper, or the agent's guidance for it when `agentOutreachEnabled` is true. It can't be blank, as in the Recover builder.

**replyTemplate** `String`

The Reply message, sent as written when a shopper's reply fits the scenario the outreach set up. Null removes it, so every reply goes to the fallback.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.