Skip to main content

Primary key

document_id
uuiddefault:"Random UUID"publicrequired
The unique identifier for the product price version discount record.

Specific attributes

date_finish
datepublic
The end date for this product price version discount.
date_start
datepublicrequired
The start date for this product price version discount.
discount_amount
decimalpublicrequired
The amount of the discount.
Rules: Precision: 12, Scale: 2
discount_type
varchardefault:"Percentage"publicrequired
The type of discount.
Rules: Possible values: Amount, Percentage. Max length: 50 characters
min_licenses
decimaldefault:"0"publicrequired
The minimum number of licenses required for this discount to apply.
Rules: Precision: 5, Scale: 0

Foreign keys

product_price_version
uuidpublicrequired
The unique identifier of the associated product price version. Ref: ProductPriceVersion Schema

Tracking attributes

created_at
timestamppublic
The timestamp when the product price version discount record was created.
Rules: Precision: 6, with timezone
deleted_at
timestamppublic
The timestamp when the product price version discount record was deleted, if applicable.
Rules: Precision: 6, with timezone
is_actived
booleandefault:"true"public
Indicates whether the product price version discount record is active.
is_deleted
booleandefault:"false"public
Indicates whether the product price version discount record has been deleted.
updated_at
timestamppublic
The timestamp when the product price version discount record was last updated.
Rules: Precision: 6, with timezone