Features
Buyback
Pricing

Pricing

Buyback pricing tells you what to pay for a device based on its model and condition.

Where the data lives

Table: automation__currentBuyPricing

Each row has:

  • sku — unique identifier
  • manufacturer, model, capacity, carrier, connectivity
  • Five condition prices: broken, poor, average, excellent, new

Pricing is updated automatically by the pricing automation — see automation/analyze-price-changes.php.

Lookups

From the portal/admin: use the device selector (make → model → capacity → carrier) — the UI auto-looks up pricing.

From the API:

curl "https://api.spectradiag.com/api/v1/buyback/pricing/lookup?make=Apple&model=iPhone%2013&storage=128GB" \
  -H "Authorization: Bearer spk_live_xxx"

Condition grades

GradeColumnDescription
NewconditionnewpriceSealed or never used
ExcellentconditionexcellentpriceLike new, minimal wear
AverageconditionaveragepriceNormal wear, fully functional
PoorconditionpoorpriceHeavy wear but functional
BrokenconditionbrokenpriceDamaged, won't power on, etc.

Fuzzy matching

If the exact model isn't found, the API returns "suggestions" — similar models that might match. Useful when intake data has typos or slight naming variations.

Overrides

Individual devices can override the automated price via commerce__inventory.listPrice. This is useful when a device has unusual condition that doesn't fit standard grades.

Related features