Publix
Publix Order Ahead Menu API
One Publix store's deli and bakery order-ahead (in-store pickup) menu with that store's prices: the Pub Sub menu (section subs, 66 items at a Miami store) or the whole order-ahead catalog of subs, platters, cakes, wings and meals (section all, about 1,150 items), 60 per page. Each item has its item code, title, description, price as shown, starting_price for "Starts at" items, lead time, serves, calories and whether it can be paid online. 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/jsonstore_idstring | integerrequiredA Publix store number (stores[].store_id of the stores endpoint, found by ZIP or city), 1-5 digits. Prices, promotions and aisles are this store's, and the answer echoes the store (id, name).
Example: 1614
sectionenum<string>default:subsWhich menu.
Example: all
subs— The Pub Sub menu. The default.all— The whole deli and bakery order-ahead catalog: subs, platters, cakes, wings, meals.
pageintegerdefault:1Results page, 1-based, 60 items per page, up to 50.
Example: 2
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# Pub Sub prices at three stores in three states.
for store_id in ("1614", "1825", "1453"):
r = client.publix.order_ahead(store_id=store_id)["data"]
subs = {i["title"]: i["price"] for i in r["items"]}
print(r["store"]["name"], subs.get("Publix Chicken Tender Sub"))Response