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

# ReferralRewardGrantReferrer

> The schema definition for the ReferralRewardGrantReferrer resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the referral reward grant referrer.

## Specific attributes

[Navigate to header](#param-commercial-activity)

billing\_period

varchar

public

The billing period of the referral reward grant referrer.

**Rules**: Max length: 7 characters

[Navigate to header](#param-commercial-activity)

choice\_group

integer

default:"0"

public

required

The choice group of the referral reward grant referrer.

[Navigate to header](#param-commercial-activity)

chosen\_at

timestamp

public

Timestamp when the referral reward grant referrer was chosen.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

confirmed\_at

timestamp

public

Timestamp when the referral reward grant referrer was confirmed.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

expires\_at

timestamp

public

Timestamp when the referral reward grant referrer was expires.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

external\_reference

varchar

public

The external reference of the referral reward grant referrer.

**Rules**: Max length: 255 characters

[Navigate to header](#param-commercial-activity)

granted\_at

timestamp

public

Timestamp when the referral reward grant referrer was granted.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

odoo\_confirmation\_ref

varchar

public

The odoo confirmation ref of the referral reward grant referrer.

**Rules**: Max length: 255 characters

[Navigate to header](#param-commercial-activity)

reason

varchar

public

The reason of the referral reward grant referrer.

**Rules**: Max length: 500 characters

[Navigate to header](#param-commercial-activity)

reward\_snapshot

jsonb

public

The reward snapshot of the referral reward grant referrer.

[Navigate to header](#param-commercial-activity)

status

varchar

public

required

The status of the referral reward grant referrer.

**Rules**: Possible values: cancelled, expired, failed, granted, on\_hold, pending\_choice, pending\_odoo\_confirmation, rejected\_by\_odoo, reserved, sold\_out. Max length: 30 characters

[Navigate to header](#param-commercial-activity)

terms\_version\_shown

varchar

public

The terms version shown of the referral reward grant referrer.

**Rules**: Max length: 20 characters

## Foreign keys

[Navigate to header](#param-commercial-activity)

beneficiary\_account

uuid

public

required

Reference to the Account this referral reward grant referrer belongs to. [Ref: Account Schema](https://docs.bbrands.io/schemas/account/account.md)

[Navigate to header](#param-commercial-activity)

code\_coupon\_account

uuid

public

Optional reference to the Code Coupon Account associated with the referral reward grant referrer. [Ref: Code Coupon Account Schema](https://docs.bbrands.io/schemas/code/code-coupon-account.md)

[Navigate to header](#param-commercial-activity)

referral

uuid

public

required

Reference to the Referral this referral reward grant referrer belongs to. [Ref: Referral Schema](https://docs.bbrands.io/schemas/referral/referral.md)

[Navigate to header](#param-commercial-activity)

referral\_campaign\_reward\_referrer

uuid

public

Optional reference to the Referral Campaign Reward Referrer associated with the referral reward grant referrer. [Ref: Referral Campaign Reward Referrer Schema](https://docs.bbrands.io/schemas/referral/referral-campaign-reward-referrer.md)

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


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