O Boticario + Eudora
O Boticario + Eudora Suggestions API
The search suggestions O Boticario or Eudora shows for what a shopper types: suggested terms with departments and up to 5 products with price, Pix price, discount, shade and presentation.
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/jsonbrandenum<string>default:boticarioThe storefront.
Example: boticario
boticario— O Boticario, www.boticario.com.br (default).eudora— Eudora, www.eudora.com.br.
querystringrequiredWhat a shopper types, 1-100 characters (a SKU works too).
Example: perfume
Notes
O Boticario + Eudora. O Boticario and Eudora are the beauty brands of Grupo Boticario, each with its own Brazilian storefront: brand boticario (www.boticario.com.br, the default) or eudora (www.eudora.com.br). Brazil only: prices in Brazilian reais (BRL), data in Portuguese, as a visitor who is not signed in sees it. Every answer carries store, brand, brand_name, host, country, currency and language. Neither brand has a public product API. Credits for this endpoint: 1. Reviews carry no reviewer names, cities or gender (reviewer_state is the reviewer's state, UF). Stores are the brands' own pickup stores: name, address, hours and pickup time as the site publishes them.
| Endpoint | Credits per call |
|---|---|
search | 1, 2 when the page needs a second route |
category | 1, 2 when the page needs a second route |
product | 1, 2 when the page needs a second route |
prices | 1 per 5 SKUs (ceil(skus / 5)): 1 for 1-5 SKUs, 2 for 6-10 |
reviews | 1 |
stores | 1 |
pickup | 1 |
deals | 1, 2 when the page needs a second route |
promotions | 1, 2 when the page needs a second route |
categories | 1, 2 when the page needs a second route |
suggestions | 1 |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=90)
d = client.boticario.suggestions(query="perfume")["data"]
print([t["term"] for t in d["terms"]])
for p in d["products"]:
print(p["sku"], p["name"], p["price"], p["was_price"], p["discount_percent"])Response