Skip to content
ajar.Book a demo

Order food

Example request

“Find a vegetarian lunch at a nearby Starbucks for under £15. Show me the pickup order before paying.”

How it works

01

Find a store and meal

Search nearby Starbucks stores, load the selected store’s menu and inspect the item details. Present suitable items with their returned prices, then let the user choose the meal and pickup store.

02

Price and prepare the order

Load the account’s saved payment methods and price the selected item. Prepare the pickup order, then show the returned total, store and payment choice for approval. Use the order preview rather than estimating a price.

03

Confirm and submit

After the user approves the order, submit its prepared reference with the expected total and purchase confirmation. Retrieve the order record to report the outcome. If the preview expires or the total changes, prepare a new order and request approval again.

What you’ll need

An ajar key with Starbucks access, a connected Starbucks account and a saved payment method. Keep the store, product and prepared-order references returned by the tools, and get the user’s approval before submitting the purchase.

Check connectors for service availability, then make your first authenticated request.