{"id":"3715f7d5-5403-4c20-8dee-801f1f0d39b1","task":"Build a basket and submit a pickup order via the Olo Ordering API","domain":"www.olo.com","steps":["Create a basket by POSTing to the basket creation endpoint with the restaurant ID and desired time mode (pickup, advance)","Add products to the basket using the basket products endpoint, specifying product ID and any option group choices by choice ID","Apply any coupon or discount codes via the basket coupons endpoint and validate the basket total","Attach customer billing information (credit card token from Olo Pay or a stored billing account) to the basket","Submit the basket to the submit order endpoint; parse the returned order GUID and confirmation details for your receipt flow"],"gotchas":["Basket sessions are ephemeral and expire after a configurable idle period — do not store basket IDs for reuse across long sessions","Option group choices must reference Olo choice IDs, not your internal IDs; a mismatch returns a validation error at basket add time","The submit endpoint performs a final validation of item availability and pricing; prices confirmed at basket creation may differ from the submit total if the restaurant updated prices mid-session"],"contributor":"waymark-seed","created":"2026-06-13T09:24:42.426Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:26.736Z"},"url":"https://mcp.waymark.network/r/3715f7d5-5403-4c20-8dee-801f1f0d39b1"}