Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.85 KB

File metadata and controls

27 lines (16 loc) · 1.85 KB

BestPriorPriceRequest

Properties

Name Type Description Notes
skus List<String> List of product SKUs to check when determining the best prior price.
timeframeEndDate OffsetDateTime The end date and time that defines the latest time for retrieving historical SKU prices.
timeframe String The number of days prior to the timeframeEndDate. Only prices within this look back period are considered for the best prior price evaluation.
strictEndDate Boolean This property is deprecated. Use `timeframeEndDateType` instead. Indicates whether the timeframe includes the start of the current sale. - When `false`, the timeframe includes the start date of the current sale. - When `true`, the timeframe strictly uses the number of days specified in `timeframe`.
timeframeEndDateType TimeframeEndDateTypeEnum Sets the timeframe for retrieving historical pricing data. Can be one of the following values: - `strict`: The timeframe ends at the `timeframeEndDate` value. - `price`: The timeframe ends at the start of the current `contextId` with the current price value. Identical price records are merged. If there is no `contextId` for the most recent price, the most recent timestamp for the price is used. - `sale`: The timeframe ends at the start of current `contextId` and takes the prices prior to the start of the `contextId` into account. [optional]
target BestPriorTarget [optional]

Enum: TimeframeEndDateTypeEnum

Name Value
STRICT "strict"
PRICE "price"
SALE "sale"