> ## 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.

# CodeCouponQuotaAlert

> The schema definition for the CodeCouponQuotaAlert resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the code coupon quota alert.

## Specific attributes

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

period\_key

varchar

public

required

The period key of the code coupon quota alert.

**Rules**: Max length: 20 characters

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

scope

varchar

public

required

The scope of the code coupon quota alert.

**Rules**: Possible values: agreement, maihue\_club. Max length: 20 characters

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

scope\_document\_id

uuid

public

required

The scope document ID of the code coupon quota alert.

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

sent\_at

timestamp

public

required

Timestamp when the code coupon quota alert was sent.

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

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

threshold

PgSmallInt

public

required

The threshold of the code coupon quota alert.

## 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.