keepa.models.backend.Offer#
- pydantic model keepa.models.backend.Offer#
Backend
Offermodel generated from the Keepa Java schema.- field condition: int | None = None#
The OfferCondition condition of the offered product. Integer value:
0 - Unknown: We were unable to determine the condition.
1 - New
2 - Used - Like New
3 - Used - Very Good
4 - Used - Good
5 - Used - Acceptable
6 - Refurbished
7 - Collectible - Like New
8 - Collectible - Very Good
9 - Collectible - Good
10 - Collectible - Acceptable
Note: Open Box conditions will be coded as Used conditions.
- field conditionComment: str | None = None#
The describing text of the condition.
Example: The item may come repackaged. Small cosmetic imperfection on top, […]
- field coupon: int | None = None#
Contains one-time coupon details of this offer. Undefined if none is available. Positive integer for an absolute discount or negative for a percentage discount. Example: 500 - Coupon with a $5 discount. -15 - Coupon with a 15% discount.
- field couponHistory: list[int | None] | None = None#
Contains the coupon history of this offer, if available. It has the format Keepa time minutes, coupon, […].
- field isAmazon: bool | None = None#
True if the seller is Amazon (e.g. “Amazon.com”).
Note: Amazon’s Warehouse Deals seller account or other accounts Amazon is maintaining under a different name are not considered to be Amazon.
- field isMAP: bool | None = None#
If the price of this offer is hidden on Amazon due to a MAP (“minimum advertised price”) restriction. Even if so, the offer object will contain the price and shipping costs.
- field isPrime: bool | None = None#
Whether this offer is available via Prime shipping. Can be used as a FBA (“Fulfillment by Amazon”) indicator as well.
- field isPrimeExcl: bool | None = None#
This offer has a discounted Prime exclusive price. A Prime exclusive offer can only be ordered if the buyer has an active Prime subscription.
- field isShippable: bool | None = None#
Indicating whether the offer is currently shippable. If not this could mean for example that it is temporarily out of stock or a pre-order.
- field lastSeen: int | None = None#
States the last time we have seen (and updated) this offer, in Keepa Time minutes.
Example: 2700145
- field offerCSV: list[int | None] | None = None#
Contains the current price and shipping costs of the offer as well as, if available, the offer’s history. It has the format Keepa time minutes, price, shipping cost, […].
The price and shipping cost are integers of the respective Amazon locale’s smallest currency unit (e.g. euro cents or yen). If we were unable to determine the price or shipping cost they have the value -2. Free shipping has the shipping cost of 0. If an offer is not shippable or has unspecified shipping costs the shipping cost will be -1. To get the newest price and shipping cost access the last two entries of the array.
Most recent price: offerCSV[offerCSV.length - 2]
Most recent shipping cost: offerCSV[offerCSV.length - 1]
- field offerDuplicates: list[OfferDuplicate | None] | None = None#
An array that lists identical offers we detected for the same seller, condition, and shipping type that were excluded from the main offers list because they were not the cheapest.
- field offerId: int | None = None#
Unique id of this offer (in the scope of the product). Not related to the offerIds used by Amazon, as those are user specific and only valid for a short time. The offerId can be used to identify the same offers throughout requests.
Example: 4
- field primeExclCSV: list[int | None] | None = None#
Contains the Prime exclusive price history of this offer, if available. A Prime exclusive offer can only be ordered if the buyer has an active Prime subscription. It has the format Keepa time minutes, price, […].
Most recent Prime exclusive price: primeExclCSV[primeExclCSV.length - 1]