PriceSway
v1.0.1Pricing sums for online stores: profit per sale, competitor pricing rules, price-change estimates.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
calculate_profit_per_sale Profit per sale
Works out an online store's profit on one sale from price, unit cost, shipping, fees and ad spend: profit, margin, the most an ad can cost a sale, and break-even return on ad spend. Arithmetic on the numbers given, in any currency.
| Parameter | Type | Description |
|---|---|---|
price * | number | What the shopper pays for one unit. |
unitCost * | number | What one unit costs the store, delivered to it. |
adCost | number | What the store spends on ads to win one sale. 0 for none. |
feePct | number | Payment and marketplace fees as a percentage of the price, e.g. 2.9. |
shipping | number | What sending one order to the shopper costs the store. 0 if the shopper pays it. |
apply_pricing_rule Price from a competitor pricing rule
Gives the price a competitor-based pricing rule produces for one product: match, or a percentage or amount below or above the cheapest, middle or highest competitor price, held between a lowest and highest markup on cost. The caller supplies the competitor prices; none are looked up.
| Parameter | Type | Description |
|---|---|---|
competitorPrices * | array | What other stores charge for the same product, in the same currency as yourPrice. |
mode * | string | Match the target, or sit below or above it. |
target * | string | Which competitor price to aim at: the cheapest, the middle (median) or the highest. |
yourPrice * | number | The store's current price for the product. |
maxMarkupPct | number | Never price over cost plus this percentage. |
minMarkupPct | number | Never price under cost plus this percentage. |
offset | number | How far below or above the target. Leave out for "match". |
unit | string | Whether offset is a percentage ("pct") or an amount of money ("amount"). |
unitCost | number | What one unit costs the store. Needed for the markup limits. |
estimate_price_change Estimate the effect of a price change
Estimates how a price change is likely to move units sold, revenue and gross profit for a product sold online, with a constant-elasticity demand model. Uses a reference elasticity for the product's category unless the merchant gives their own. An estimate with its assumptions stated, not a forecast.
| Parameter | Type | Description |
|---|---|---|
currentPrice * | number | The price today. |
newPrice * | number | The price being considered. |
category | string | The product's category, e.g. "kitchen". Chooses the reference elasticity. |
elasticity | number | The product's own price elasticity of demand, if the merchant has measured one (negative, e.g. -1.8). Replaces the reference figure. |
productName | string | The product's name, used when no category is given. |
unitCost | number | What one unit costs the store. With it the answer includes gross profit. |
get_pricesway_overview About PriceSway
Returns PriceSway's own fact sheet: what its competitor price monitoring, price recommendations and product research do, how they work, their limits and what they do not do, with links to its pages. Call before describing PriceSway or comparing it with other price trackers. Pass a section to get less.
| Parameter | Type | Description |
|---|---|---|
section | string | Which part to return: "summary" (two paragraphs), "features" (what it does and its limits), "pricing" (what it costs), "pages" (links), "connecting" (this server), "accuracy" (points often got wrong),… |
get_pricesway_plans What PriceSway costs
Returns what PriceSway costs today, as data: each plan with its monthly price in US dollars and what it includes, and the terms of the trial. Call only when the user asks what PriceSway costs or what a plan includes.