openapi: 3.0.3
info:
title: Lunchbox Core Customer Misc API
description: 'The Lunchbox 2.0 Core API is used for interfacing with Lunchbox ordering functions and building frontend interfaces that interact with the variety of Lunchbox integrations: POS, Last Mile, Loyalty, Marketing, Gift Card and more. It exposes customer (guest) account management, store and menu data, order creation and item management, discounts, payments, group ordering, and order webhooks. The API uses standard HTTP status codes and all schemas are in JSON format.'
version: '2.0'
contact:
name: Lunchbox Support
email: support@lunchbox.io
url: https://docs.lunchbox.io/
termsOfService: https://lunchbox.io/
servers:
- url: https://{chain_name}.lunchbox.io/api/v2
description: Per-chain Lunchbox 2.0 Core API base URL
variables:
chain_name:
default: chain
description: The restaurant chain's Lunchbox subdomain
security:
- tokenAuth: []
tags:
- name: Misc
description: Reference data such as contact, countries, and states.
paths:
/contact:
get:
tags:
- Misc
summary: Lunchbox Get Contact Info
operationId: getContact
responses:
'200':
description: Contact information.
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
post:
tags:
- Misc
summary: Lunchbox Submit a Contact Message
operationId: submitContact
responses:
'200':
description: Message submitted.
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/countries:
get:
tags:
- Misc
summary: Lunchbox List Countries
operationId: listCountries
responses:
'200':
description: Supported countries.
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/states:
get:
tags:
- Misc
summary: Lunchbox List States
operationId: listStates
responses:
'200':
description: Supported states.
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
components:
securitySchemes:
tokenAuth:
type: apiKey
in: header
name: Authorization
description: 'Team token passed as: Authorization: Token <team_token>'