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

# CodeCouponMerchantInvitation

> The schema definition for the CodeCouponMerchantInvitation resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the code coupon merchant invitation.

## Specific attributes

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

accepted\_at

timestamp

public

Timestamp when the code coupon merchant invitation was accepted.

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

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

accepted\_by

uuid

public

The accepted by of the code coupon merchant invitation.

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

email

varchar

public

required

The email of the code coupon merchant invitation.

**Rules**: Max length: 150 characters

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

expires\_at

timestamp

public

required

Timestamp when the code coupon merchant invitation was expires.

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

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

invited\_by

uuid

public

The invited by of the code coupon merchant invitation.

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

revoked\_at

timestamp

public

Timestamp when the code coupon merchant invitation was revoked.

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

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

role

varchar

public

required

The role of the code coupon merchant invitation.

**Rules**: Possible values: club-partner-admin, club-partner-editor, club-partner-viewer. Max length: 40 characters

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

token\_hash

varchar

public

required

The token hash of the code coupon merchant invitation.

**Rules**: Max length: 64 characters

## Foreign keys

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

code\_coupon\_merchant

uuid

public

required

Reference to the Code Coupon Merchant this code coupon merchant invitation belongs to. [Ref: Code Coupon Merchant Schema](https://docs.bbrands.io/schemas/code/code-coupon-merchant.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.