PriceSway

v1.0.1
com.pricesway/pricing Checked 1 day ago Published 7 days ago

Pricing 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.

ParameterTypeDescription
price *numberWhat the shopper pays for one unit.
unitCost *numberWhat one unit costs the store, delivered to it.
adCostnumberWhat the store spends on ads to win one sale. 0 for none.
feePctnumberPayment and marketplace fees as a percentage of the price, e.g. 2.9.
shippingnumberWhat 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.

ParameterTypeDescription
competitorPrices *arrayWhat other stores charge for the same product, in the same currency as yourPrice.
mode *stringMatch the target, or sit below or above it.
target *stringWhich competitor price to aim at: the cheapest, the middle (median) or the highest.
yourPrice *numberThe store's current price for the product.
maxMarkupPctnumberNever price over cost plus this percentage.
minMarkupPctnumberNever price under cost plus this percentage.
offsetnumberHow far below or above the target. Leave out for "match".
unitstringWhether offset is a percentage ("pct") or an amount of money ("amount").
unitCostnumberWhat 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.

ParameterTypeDescription
currentPrice *numberThe price today.
newPrice *numberThe price being considered.
categorystringThe product's category, e.g. "kitchen". Chooses the reference elasticity.
elasticitynumberThe product's own price elasticity of demand, if the merchant has measured one (negative, e.g. -1.8). Replaces the reference figure.
productNamestringThe product's name, used when no category is given.
unitCostnumberWhat 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.

ParameterTypeDescription
sectionstringWhich 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.