Skip to main content

Counter Order

The Counter Order integration allows external POS and kitchen management systems to receive, manage, and fulfill orders placed by customers through the Cheers app, web, or kiosk.

When a customer places an order, Cheers notifies your system via a callback. Your system then fetches the order details, manages its lifecycle (approve, prepare, complete), and handles payment when applicable.

How It Works

Key Concepts

ConceptDescription
CallbackA POST request sent by Cheers to your configured callback URL when an order becomes actionable. Contains the orderId as a query parameter.
Order StatusThe lifecycle state of the order (NEW, APPROVABLE, APPROVED, DONE, COMPLETED, REJECTED, LEFT, CANCELLED).
Transaction StatusThe payment state of the order (UNPAID, AUTHORIZED, CAPTURED, PAID_EXTERNALLY, RELEASED, FAILED, PAYMENT_NOT_REQUIRED).
Payment ProcessorHow the order is paid: BARION, SIMPLE_PAY (in-app), EXTERNAL_MANUAL (at counter), EXTERNAL_AUTO, or NONE.
DeskThe counter or table associated with the order. Type is either COUNTER or TABLE.
Order SourceWhere the order originated: MOBILE, WEB, or KIOSK.

API Endpoints

All endpoints are documented in the Counter Order API Reference. Here is a summary:

EndpointDescription
GET /{orderId}Fetch full order details
PUT /{orderId}/statusUpdate order status (APPROVED, REJECTED, DONE, LEFT, COMPLETED)
PUT /{orderId}/finalize-external-paymentConfirm external payment was collected
PUT /{orderId}/cancel-external-paymentCancel an external payment that failed