API Documentation
Access and integrate with RBS NCO Coffee's systems
Getting Started
The RBS NCO Coffee API provides programmatic access to our systems. All API endpoints are accessible via HTTPS and return JSON responses.
Base URL
https://api.ncocoffee.com/v1
Authentication
Most endpoints require authentication via API key. Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Authentication Endpoints
POST /auth/login
Authenticate a user and receive an access token
Request Body
- email (string) - User's email address
- password (string) - User's password
Response
Returns a JSON object with access token and user information
Menu Endpoints
GET /menu
Retrieve the current menu
Response
Returns a JSON object with menu categories and items
Orders Endpoints
POST /orders
Create a new order
Request Body
- items (array) - List of items to order
- customer (object) - Customer information
Response
Returns a JSON object with order details and confirmation
GET /orders/{id}
Retrieve details for a specific order
Response
Returns a JSON object with order details