CVS
CVS Store Stock API
Units available at one CVS store for up to 20 SKUs in one call: in_store (on the shelf), pickup (order online, pick up there) and ship (online stock, chain-wide); same_day_delivery is null here (read it from search). store_id is required: there is no store-locator endpoint, so pass the store number shown on every cvs.com store page. Costs 1 credit 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/jsonsku_idsstring[]required1-20 CVS SKU ids (3-10 digits): a search result's sku_id or a product's variants[].sku_id. Duplicates are dropped.
Example: ["275748", "874110"]
store_idstringrequiredCVS store number. The store number is shown on every cvs.com store page ("Store ID: #7019") and in its URL (.../storeid=7019).
Example: 7019
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.cvs.stock(sku_ids=["832677", "275748", "874110"], store_id="7019")["data"]
for i in res["items"]:
print(i["sku_id"], "in store:", i["in_store"], "pickup:", i["pickup"], "ship:", i["ship"])Response