Saks Fifth Avenue
Saks Fifth Avenue Product API
One saksfifthavenue.com (US) product by id or URL: title, brand, type (master or variant), UPC for a variant, the price block (current, list and sale price, percent off, on-sale flag), new, sale, clearance and final-sale flags, badge, returnable, promotions, description, style code, images, every color and size with its availability, every SKU with its online warehouse unit count, in-stock and available counts, availability (units available to sell, message, restock date), available in store, marketplace, drop ship, preorder, merchandising attributes, the average star rating and review count. Add color + size, or pass a variant sku, for one variant. Costs 2 credits per request.
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/jsonproduct_idstring | integerA Saks product id (6-14 digits): a search result's id, the number at the end of a product URL, or a variant sku. product_id or url is required.
Example: 0400019127312
urlstringA saksfifthavenue.com product URL. Its trailing id is used, and a color or size the link selects is kept. Alternative to product_id.
Example: https://www.saksfifthavenue.com/product/kay-unger-mariah-jacquard-textured-gown-0400019127312.html
colorstringPick one color, a colors[].value. A value the product does not have is a 400 that lists its colors.
Example: BLUE OPAL
sizestringPick one size, a sizes[].value. With color, the answer is that variant: its sku is id, with its UPC and stock.
Example: 4
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
p = client.saks.product(product_id="0400019127312")["data"]
print(p["brand"], p["title"], p["price"], p["regular_price"], p["on_sale"], p["is_final_sale"])
print(p["in_stock_count"], "of", p["variant_count"], "SKUs in stock")
for v in p["variants"]:
print(v["sku"], v["warehouse_units"])
# One variant: its sku is the id, ready for store-availability.
v = client.saks.product(product_id="0400019127312", color="BLUE OPAL", size="4")["data"]
print(v["id"], v["upc"], v["availability"])Response