Walgreens
Walgreens Product API
One Walgreens retail product by id or walgreens.com URL: SKU, UPC, GTIN, brand, size, regular and sale price, savings, unit price, rewards and rebate offers with dates, description, ingredients, warnings, rating, review count, category path, images, ship and pickup availability, FSA flag and clearance flag. Costs 2 credits per request.
POST/api/v1/walgreens/product
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_idstringrequiredWalgreens product id, the product_id of a search result ("300452904" or "prod6345045"), or a walgreens.com product URL.
Example: 300452904
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
p = client.walgreens.product(product_id="300452904")["data"]
print(p["name"], p["price"], "sale:", p["sale_price"], f"({p['savings_percent']}% off)")
print("GTIN:", p["gtin"], "| FSA eligible:", p["fsa_eligible"])
for o in p["offers"]:
print("offer:", o["title"], "until", o["end_date"])Response
"product_id": "300452904",
"sku_id": "400675110",
"upc": "19560214708",
"gtin": "00195602147083",
"name": "Walgreens Shiny & Smooth Shampoo",
"display_name": "Shiny & Smooth Shampoo",
"brand": "Walgreens",
"size": "33.8 fl oz",
"product_type": "Shampoo",
"walgreens_brand": true,
"price": 4.99,
"sale_price": 3.74,
"sale_text": null,
"on_sale": true,
"unit_price": null,
"unit_price_size": null,
"promotion": null,
"savings_amount": 1.25,
"savings_percent": 25,
"loyalty_message": "Earn $10 rewards on $30+ spent on select Walgreens brands*",
"rebate": "Extra 15% off $35+ eligible items sitewide* with code NOV15 or 20% off $50+ eligible items sitewide* with code NOV20",
"clearance": false,
"store_pricing": false,
"description": "- Compare to Garnier Fructis Sleek & Shine Shampoo^^
- Gentle shine formula with fruit concentrate
- +Argan oil",
"warnings": null,
"rating": 4.1,
"review_count": 90,
"ship_available": true,
"pickup_available": false,
"ship_message": "Out of stock online",
"fsa_eligible": false,
"article_id": "000000000012456764",
"planogram": "40000735502",
"url": "https://www.walgreens.com/store/c/walgreens-shiny-%26-smooth-shampoo/ID=300452904-product"
},
"response_time": 2005
}