Canadian Tire
Canadian Tire Clearance API
Every clearance item at one Canadian Tire store, 100 per page, with the clearance price, regular price, stock at the store and the same fields as search. In-stock items only by default. Clearance differs by store, so store_id is required. Costs 1 credit per request.
POST/api/v1/canadiantire/clearance
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/jsonstore_idstringrequiredCanadian Tire store number. Prices and stock are that store's. Find numbers with /api/v1/canadiantire/stores.
Example: 600
pageintegerResults page, 1-based. 100 results per page.
Example: 1
in_stock_onlybooleanOnly clearance items in stock at store_id. Defaults to true.
Example: true
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.canadian_tire.clearance(store_id="600")["data"]
print(res["total_results"], "clearance items at store", res["store_id"])
for p in res["products"]:
print(p["code"], p["title"], p["price"], "reg", p["was_price"], "stock:", p["store_quantity"])Response
"deal_type": "clearance",
"store_id": "600",
"page": 1,
"page_size": 100,
"total_results": 2299,
"total_pages": 23,
"count": 100,
},
"response_time": 2415
}