keepa.models.backend.DealDetails#

pydantic model keepa.models.backend.DealDetails#

Backend DealDetails model generated from the Keepa Java schema.

Fields:
field accessType: str | None = None#

Who can access the deal. New access types can be added at any time.

Currently observed values include (non-exhaustive):

ALL PRIMEEARLYACCESS PRIME_EXCLUSIVE

field badge: str | None = None#

The badge text as shown on the product page.

Example: “Early Prime Deal”.

field dealType: str | None = None#

The type/category of the deal. New deal types can be added at any time.

Currently observed values include (non-exhaustive):

PRIME_DAY PRIMEDAYEARLY EARLYACCESSWITH_PRIME PRIME_EXCLUSIVE SELLING_FAST PRIMESELLINGFAST LIMITEDTIMEDEAL COUNTDOWNENDSIN APP_ONLY CLEARANCENORETURNS SPECIALEVENTSALE GENERICOFFERPROMO UNKNOWN

field endTime: int | None = None#

Deal end time in Keepa Time minutes.

May be null and is not available for all deal types. Use KeepaTime.keepaMinuteToUnixInMillis(int) (long) to get an uncompressed timestamp (Unix epoch time).

field percentClaimed: int | None = None#

Percentage claimed for Lightning Deals (i.e., dealType == LIMITEDTIMEDEAL).

Range: 0–100. May be null or absent for other deal types.

field startTime: int | None = None#

Deal start time in Keepa Time minutes.

May be null and is not available for all deal types. Use KeepaTime.keepaMinuteToUnixInMillis(int) (long) to get an uncompressed timestamp (Unix epoch time).