Ashley Furniture
Ashley Furniture Product API
One Ashley Furniture product. On ashleyfurniture.com (us), by item number or URL: price, Ashley's Regular Price, percent off, sale and clearance badges, every color, size or orientation option and variant, set components with their own prices and stock, dimensions, materials, assembly PDFs, stock and the delivery message, the nearest store Ashley picks, rating, review count, the 1-5 star histogram, the first 10 reviews the page shows, customer photos and the customer Q&A with staff answers, plus the ZIP and price zone the answer was priced for. On Ashley's licensed storefronts (ca, mx, ph, sa, tr), by handle or URL: price, regular price, availability, description, options and variants with their own prices and barcodes. Costs 2 credits on us and mx, 1 on ca, ph, sa and tr.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonskustringus: an Ashley item number, as items[].sku in search or the number at the end of a product URL (5950418, APK-29004-R3, M69611, A4000627). Send sku, url or handle.
Example: 5950418
handlestringca, mx, ph, sa, tr: the product handle from search (items[].handle). sku there answers 400.
Example: aviemore-sofa
urlstringA product page on a served storefront, as an alternative to sku or handle; the market is read from it.
Example: https://www.ashleyfurniture.com/p/mahoney_sofa/3100438.html
countrystringdefault:usThe Ashley market: us (ashleyfurniture.com), or one of Ashley's licensed storefronts ca (ashleyhomestore.ca), mx (store.ashleyfurniture.com.mx), ph (store.ashleyfurniture.ph), sa (store.ashley.sa) or tr (ashleyturkiye.com). Prices come back in the market's currency, never converted; the answer echoes country, language, currency and source_domain. An unknown market answers 400 before anything is charged.
Example: us
us— ashleyfurniture.com, USD, English. The default. 2 credits.ca— ashleyhomestore.ca, CAD, English. Licensed storefront. 1 credit.mx— store.ashleyfurniture.com.mx, MXN, Spanish. Licensed storefront. 2 credits.ph— store.ashleyfurniture.ph, PHP, English. Licensed storefront. 1 credit.sa— store.ashley.sa, SAR, English. Licensed storefront. 1 credit.tr— ashleyturkiye.com, TRY, Turkish. Licensed storefront. 1 credit.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
p = client.ashley.product(sku="5950418")["data"]
print(p["name"], p["price"], "regular", p["regular_price"], p["discount_percent"], "% off")
print("priced for", p["priced_for"]) # {'zipcode': '30236', 'price_zone': 'AFHSPGZ4'}
print(p["rating"], "from", p["review_count"], p["rating_histogram"])
for r in p["reviews"]:
print(r["rating"], r["date"], r["title"])Response