Activity
Price changes, Buy Box changes, sales over time, profit, the listings that need attention, and what to reorder
What happened to your listings: every price the repricer sent to Amazon and why, when the Buy Box changed hands, your sales day by day, and the listings with an alert now. Each endpoint takes marketplace, a country code such as US or Amazon's marketplace id, to answer for one marketplace; GET /v1/listings and GET /v1/listings/summary take it too.
Price and Buy Box changes come newest first, from the last 30 days unless from and to (ISO 8601, UTC) say otherwise, and are kept 180 days. A price change has the old and new price, the strategy's rule that set it, what it priced against and the bound that held it (heldAt: min, max or map). A Buy Box change has its price and seller from then on, and ours: whether that is you.
GET /v1/sales adds up revenue, profit and units sold between from and to (days, yyyy-mm-dd, both included; the last 30 days by default, at most 366) by groupBy: day (the default), listing or marketplace. Every row is for one marketplace and says its currency.
GET /v1/alerts counts the listings with each alert now, by the same rules as your dashboard: lost-buybox, out-of-stock, suppressed, sales-drop, stock-running-out, reorder-now, lowstock, at-min and stagnant. GET /v1/alerts/{type} lists those listings, the ones that need it most first, with the figures the alert is about.
GET /v1/profit is profit as the Profit tab of the Analytics page shows it: by listing (the default), marketplace or strategy, most first, with revenue, margin, units sold and the same for as many days just before, from and to (days, the last 30 by default, at most 366). Every row is in one currency. profitChange compares every day asked, so days the sync has not reached count as nothing; wholeDaysProfitChange and wholeDaysChangeAfterRecordedCosts compare the whole synced days only (comparedWholeDays of them) and are null when there is nothing to compare with. GET /v1/profit/split says where the money went, per currency, from Amazon's own lines and the costs you set: sales, shipping, promotions, refunds, Amazon's fees by kind, tax (shown, not counted), the cost of the units sold, and the profit they add up to. storedProfit is the figure GET /v1/sales adds up; it is worked out separately, so the two can differ. Charges not tied to a product, such as storage, subscription and advertising, are not counted.
GET /v1/restock says when to reorder each product and how many, as the Restock page in RepriceMax works it out, with the lead times and order days set there. For each product that has stock or sold in the last 30 days, soonest first: unitsPerDay (half the last 7 days' speed and half the last 30 days'), daysLeft and runsOutOn, reorderBy (the last day to order so the new stock arrives in time: runsOutOn less the lead time), orderQuantity (enough for the lead time and the days an order covers, less the stock) and status: orderNow, orderSoon (within 14 days), enough, notSelling or stockUnknown. Stock on its way to Amazon is not counted. GET /v1/restock/summary counts the products in each status.
Endpoints
- GET
/v1/price-changesList the repricer's price changesExample Requestcurl "https://api.repricemax.com/v1/price-changes?marketplace=US" \ -H "X-API-KEY: your_api_key" - GET
/v1/buy-box-changesList when the Buy Box changed handsExample Requestcurl "https://api.repricemax.com/v1/buy-box-changes?ours=false" \ -H "X-API-KEY: your_api_key" - GET
/v1/salesAdd up sales by day, listing or marketplaceExample Requestcurl "https://api.repricemax.com/v1/sales?groupBy=listing" \ -H "X-API-KEY: your_api_key" - GET
/v1/alertsCount the listings with each alertExample Requestcurl "https://api.repricemax.com/v1/alerts" \ -H "X-API-KEY: your_api_key" - GET
/v1/alerts/{type}List the listings with one alertExample Requestcurl "https://api.repricemax.com/v1/alerts/stock-running-out" \ -H "X-API-KEY: your_api_key" - GET
/v1/profitProfit by listing, marketplace or strategyExample Requestcurl "https://api.repricemax.com/v1/profit?by=listing&sort=profit&dir=asc" \ -H "X-API-KEY: your_api_key" - GET
/v1/profit/splitWhere the money went: fees, refunds and costExample Requestcurl "https://api.repricemax.com/v1/profit/split?from=2026-10-01&to=2026-10-28" \ -H "X-API-KEY: your_api_key" - GET
/v1/restockWhen to reorder each product and how manyExample Requestcurl "https://api.repricemax.com/v1/restock?status=orderNow&marketplace=US" \ -H "X-API-KEY: your_api_key" - GET
/v1/restock/summaryCount the products to reorder now, soon or not yetExample Requestcurl "https://api.repricemax.com/v1/restock/summary" \ -H "X-API-KEY: your_api_key"