Sales

GET

Get All Sales

Retrieve a paginated list of all sales with optional filtering and search capabilities.

GET /sales

Query Parameters

Parameter Type Required Description
customer_id integer Optional Customer ID, exists: customers
waiter_id integer Optional Waiter ID, exists: waiters
counter_id integer Optional Counter ID, exists: counters
page integer Optional Page number for pagination
per_page integer Optional Number of items per page (default: 15)
search string Optional Search by invoice number or note

Response

200 OK
Status Code
HTTP status code (200)
Message
Human-readable description
Data
Paginated list of sales