List repricing history
Lists the repricing runs of the team, the newest first.
The history keeps the runs of the last 32 days only. Without from_date, to_date or period, the list gives the last 32 days. An older from_date starts at the 32-day limit.
A run has the old and the final price, the status, the strategy, the limits, the market data and the mode in effect.
Statuses
- PRICE_UPDATE_SUBMITTED: the run sent the new price to Amazon.
- PRICE_ALREADY_OPTIMAL: the price of the seller is the target price.
- PRICE_SKIPPED_OUT_OF_BOUNDS: the target price is outside the limits, so the run sent no price.
- PRICE_UPDATE_SKIPPED_BY_ALLOW_FLAG: the price is correct, but a setting stops the update.
- DRY_RUN_PRICE_UPDATE_EMULATED: the mode is dry, so the run sent no price to Amazon.
- SKIPPED: the run stopped on an expected condition. error_code gives the reason, for example MISSING_COST_DATA_FOR_ECONOMICS_RULE.
- FAILED: the run stopped on an error. error_code gives the reason.
- PRICE_UPDATE_CONFIRMED: Amazon confirmed the price. The repricer does not write this status yet.
Error codes of a failed run
- FAILED_TO_LOAD_REPRICER_PRODUCT: the repricer could not load the settings of the product.
- NO_REPRICER_PRODUCT_FOUND: the repricer has no such product for the team.
- FAILED_TO_RESOLVE_STRATEGY: the repricer could not load the strategy.
- FAILED_TO_RESOLVE_AMAZON_SELLER_CONTEXT: the repricer could not find the seller account for the marketplace.
- NO_AMAZON_SELLER_AUTHORIZATION_FOUND: the Amazon account of the seller is not connected.
- FAILED_TO_FETCH_SELLER_PRICE_FROM_AMAZON: Amazon did not give the price of the seller.
- REPRICER_PRODUCT_PAUSED: the product is paused.
- NO_SELLER_LISTINGS_FOUND_ON_AMAZON: Amazon has no listing of the seller for the product.
- INACTIVE_SELLER_LISTING: the listing is inactive.
- NO_SELLER_PRICE_FOUND_ON_AMAZON_LISTINGS: the listing has no usable price.
- FAILED_TO_FETCH_COMPETITIVE_PRICING_FROM_AMAZON: Amazon did not give the market data.
- NO_LOWEST_PRICED_OFFERS_FOUND: the market data has no lowest-priced offers.
- NO_COMPETITIVE_PRICE_FOUND: the market data has no competitive price.
- CURRENCY_MISMATCH_BETWEEN_LISTING_AND_MARKET_DATA: the listing and the market data have different currencies.
- FAILED_TO_CALCULATE_TARGET_PRICE: the strategy could not calculate the target price.
- FAILED_TO_SUBMIT_PRICE_TO_AMAZON: Amazon did not accept the price.
Request
- Base URL: https://app.sellerassistant.app (the document declares no server; this is the origin it was published from)
- URL: https://app.sellerassistant.app/api/v1/sa/repricer/history
- Auth: one of:
- API key in query parameter api_key
- API key in header X-Api-Key
Query parameters
Filter by ASIN
Filter by marketplace ID
Filter by SKU
The first day of the history (inclusive). The history keeps 32 days, so an older date starts at the 32-day limit. With from_date or to_date, period has no effect.
The last day of the history (inclusive, the whole day). With from_date or to_date, period has no effect.
A window that ends at the time of the call: 24h, 7d or 30d. from_date and to_date have priority. Without a date and without period, the window is the last 32 days.
Filter by final status.
The start of an ASIN or of a SKU (prefix match, not case sensitive). The wildcards % and _ match themselves.
The mode of the run. all gives every mode. live also gives the simulated runs.
The column to order by: created_at, status, asin, sku, marketplace_id, old_price, final_price, mode. A minus sign in front of the name orders from the highest down. Without a sort the order is -created_at. Another name answers 400.
Filter by failure reason code (used with status=FAILED)
Page number for pagination
Number of items per page (default 50, max 200)
Response
Successful response. See HistorySearchResponse schema for details.
Example response
{
"data": [
{
"id": 101,
"asin": "B00TEST123",
"marketplace_id": "ATVPDKIKX0DER",
"sku": "SKU-123",
"reprice_priority": "regular",
"status": "PRICE_UPDATE_SUBMITTED",
"market_data": {
"lowest_buybox_price": {
"price": "25.99",
"currency": "USD"
}
},
"strategy": "follow_buybox",
"strategy_params": {
"price_adjustment": "-0.01",
"price_adjustment_type": "amount"
},
"limits": {
"min_price": "5.00",
"max_price": "80.00"
},
"old_price": 24.99,
"currency": "USD",
"price_before_limits": 25.49,
"should_update_before_limits": true,
"reason_before_limits": "PRICE_CHANGED",
"final_price": 25.99,
"should_update_after_limits": true,
"reason_after_limits": "PRICE_UPDATE_SUBMITTED",
"limits_applied": [
"max_change_percent",
"min_price"
],
"mode": "live",
"amazon_submit_price_status": "ACCEPTED",
"amazon_submit_price_submission_id": "1234567890",
"amazon_submit_price_blocking_issues": [],
"created_at": "2024-03-27T12:34:56Z"
}
],
"meta": {
"pagination": {
"page": 1,
"per_page": 50,
"total": 100,
"last_page": 2
},
"trial_limit": {
"max_rows": 25,
"total": 137,
"code": "trial_list_limited",
"message": "The trial shows only the first rows of a list. Subscribe to see all rows.",
"subscribe_url": "https://app.sellerassistant.app/subscription"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.