# Revel Systems

> Work with your Revel Systems point of sale: read orders, the items on them and payments, manage products, categories and customers, and see locations, employees and shifts.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/revel-systems

## Actions

### Create customer

Add a customer, with a name, email, phone or company so staff can find them on the POS, and their marketing consent.

**Inputs**

- Recorded as (`revel_user`, text, required): The Revel user the change is recorded as made by. Pick one, or give the user's id.
- First name (`first_name`, text): The customer's first name.
- Last name (`last_name`, text): The customer's last name.
- Email (`email`, text): The customer's email address.
- Phone (`phone_number`, text): The customer's phone number, up to 20 characters.
- Company (`company_name`, text): The company the customer works for.
- Title (`title`, text): Such as Mr, Mrs, Ms or Dr.
- Reference number (`ref_number`, text): Your own reference for the customer, such as an id in another system.
- Birthday (`birth_date`, date): The customer's date of birth.
- Notes (`notes`, text): Notes about the customer, shown on the POS.
- Agrees to marketing emails (`email_opt_in`, true/false): Turn on if the customer agreed to marketing emails.
- Agrees to marketing calls and texts (`phone_opt_in`, true/false): Turn on if the customer agreed to marketing calls and texts.

**Outputs**

- `customer` (object): The new customer

**Example output**

```json
{
  "customer": {
    "active": true,
    "birth_date": "1990-05-16T00:00:00",
    "company_name": "Acme Inc",
    "created_date": "2025-06-11T19:21:00",
    "email": "jo@example.com",
    "email_opt_in": true,
    "first_name": "Jo",
    "id": 300,
    "last_name": "Bloggs",
    "notes": "Prefers oat milk",
    "phone_number": "+15555550123",
    "phone_opt_in": false,
    "ref_number": "CRM-1042",
    "resource_uri": "/resources/Customer/300/",
    "title": "Ms",
    "total_purchases": 12,
    "total_visits": 9,
    "updated_date": "2026-11-20T08:00:00",
    "uuid": "e5f6a7b8-c9d0-4e1f-a2b3-c4d5e6f7a8b9"
  }
}
```

### Create product

Add a product to a location's menu, in one of its categories, with a price and optional description, codes and cost.

**Inputs**

- Location (`establishment_id`, text, required): The location (establishment). Pick one, or give its id.
- Category (`category_id`, text, required): The product's category. Pick one, or give its id.
- Name (`name`, text, required): The product's name as the POS shows it.
- Price (`price`, number, required): The product's price, such as 4.50. At least 0.
- Recorded as (`revel_user`, text, required): The Revel user the change is recorded as made by. Pick one, or give the user's id.
- Description (`description`, text): More about the product, shown on the POS and online ordering.
- SKU (`sku`, text): The product's stock keeping unit.
- Barcode (`barcode`, text): The product's barcode, unique within the location.
- Cost (`cost`, number): What the product costs you, for margin reports. At least 0.
- Tax class (`tax_class`, text): The regional tax class, where your location uses them. One of: `none`, `class_a` (Tax class A), `class_b` (Tax class B).
- Position (`sorting`, number): Where it sits in its category on the POS; lower comes first. At least 0.
- Active (`active`, true/false): Turn off to add it inactive, hidden from the POS. Default: `true`.

**Outputs**

- `product` (object): The new product

**Example output**

```json
{
  "product": {
    "active": true,
    "barcode": "012345678905",
    "category": "/products/ProductCategory/12/",
    "cost": "0.90",
    "created_date": "2025-03-01T10:00:00",
    "description": "Double shot with steamed milk.",
    "establishment": "/enterprise/Establishment/1/",
    "id": 77,
    "name": "Flat white",
    "price": 4.5,
    "resource_uri": "/resources/Product/77/",
    "sku": "COF-FW",
    "sorting": 3,
    "tax_class": 0,
    "updated_date": "2026-11-01T10:00:00",
    "uuid": "d4c3b2a1-0f9e-4d8c-b7a6-5e4d3c2b1a09"
  }
}
```

### Create product category

Add a product category to a location, or a subcategory under another.

**Inputs**

- Location (`establishment_id`, text, required): The location (establishment). Pick one, or give its id.
- Name (`name`, text, required): The category's name as the POS shows it.
- Recorded as (`revel_user`, text, required): The Revel user the change is recorded as made by. Pick one, or give the user's id.
- Parent category (`parent_id`, text): Make it a subcategory of this one. Leave empty for a top-level category.
- Position (`sorting`, number): Where it sits on the POS; lower comes first. At least 0.
- Active (`active`, true/false): Turn off to add it inactive, hidden from the POS. Default: `true`.

**Outputs**

- `category` (object): The new category

**Example output**

```json
{
  "category": {
    "active": true,
    "created_date": "2025-03-01T09:00:00",
    "establishment": "/enterprise/Establishment/1/",
    "id": 12,
    "name": "Coffee",
    "parent": "/products/ProductCategory/2/",
    "resource_uri": "/products/ProductCategory/12/",
    "sorting": 1,
    "updated_date": "2026-11-01T09:00:00"
  }
}
```

### Delete customer

Delete a customer from Revel. This can't be undone.

**Inputs**

- Customer ID (`customer_id`, text, required): The customer's id.

**Outputs**

- `customer_id` (number): The customer deleted
- `deleted` (true/false): Always true once deleted

**Example output**

```json
{
  "customer_id": 300,
  "deleted": true
}
```

### Get customer

Get one customer with their contact details, notes, opt-ins and how often they have visited and bought.

**Inputs**

- Customer ID (`customer_id`, text, required): The customer's id, from 'List customers' or a trigger.

**Outputs**

- `customer` (object): The customer

**Example output**

```json
{
  "customer": {
    "active": true,
    "birth_date": "1990-05-16T00:00:00",
    "company_name": "Acme Inc",
    "created_date": "2025-06-11T19:21:00",
    "email": "jo@example.com",
    "email_opt_in": true,
    "first_name": "Jo",
    "id": 300,
    "last_name": "Bloggs",
    "notes": "Prefers oat milk",
    "phone_number": "+15555550123",
    "phone_opt_in": false,
    "ref_number": "CRM-1042",
    "resource_uri": "/resources/Customer/300/",
    "title": "Ms",
    "total_purchases": 12,
    "total_visits": 9,
    "updated_date": "2026-11-20T08:00:00",
    "uuid": "e5f6a7b8-c9d0-4e1f-a2b3-c4d5e6f7a8b9"
  }
}
```

### Get employee

Get one employee with their contact details, dates and latest shift.

**Inputs**

- Employee (`employee_id`, text, required): The employee. Pick one, or give their id.

**Outputs**

- `employee` (object): The employee

**Example output**

```json
{
  "employee": {
    "active": true,
    "created_date": "2025-02-01T09:00:00",
    "email": "sam@example.com",
    "employee_end": "",
    "employee_start": "2025-02-01T00:00:00",
    "external_id": "PAY-0040",
    "first_name": "Sam",
    "id": 40,
    "last_name": "Lee",
    "last_timesheet_entry": "/resources/TimeSheetEntry/880/",
    "phone_number": "+15555550188",
    "resource_uri": "/resources/Employee/40/",
    "updated_date": "2026-11-30T07:58:00"
  }
}
```

### Get location

Get one location with its name, contact details and time zone.

**Inputs**

- Location (`establishment_id`, text, required): The location (establishment). Pick one, or give its id.

**Outputs**

- `establishment` (object): The location

**Example output**

```json
{
  "establishment": {
    "about_title": "Acme Cafe",
    "active": true,
    "address": "/resources/Address/1/",
    "brand_name": "Acme Cafe",
    "contact_name": "Jo Bloggs",
    "created_date": "2024-01-10T09:00:00",
    "email": "hello@example.com",
    "id": 1,
    "name": "Main Street",
    "phone": "+15555550123",
    "resource_uri": "/enterprise/Establishment/1/",
    "time_zone": "US/Pacific",
    "updated_date": "2026-11-01T09:00:00"
  }
}
```

### Get order

Get one order with its totals, tax, discounts, customer, table and whether it is closed.

**Inputs**

- Order ID (`order_id`, text, required): The order's id, from 'List orders' or a trigger.

**Outputs**

- `order` (object): The order

**Example output**

```json
{
  "order": {
    "call_name": "Jo",
    "call_number": 17,
    "closed": true,
    "created_by": "/enterprise/User/10/",
    "created_date": "2026-11-30T12:05:00",
    "customer": "/resources/Customer/300/",
    "dining_option": 1,
    "discount_amount": 0.0,
    "establishment": "/enterprise/Establishment/1/",
    "final_total": 26.1,
    "gratuity": 0.0,
    "id": 5012,
    "local_id": "17",
    "notes": "Window table",
    "number_of_people": 2,
    "pickup_time": "2026-11-30T12:30:00",
    "remaining_due": 0.0,
    "resource_uri": "/resources/Order/5012/",
    "service_charge": 0.0,
    "subtotal": 24.0,
    "table": "/resources/Table/4/",
    "tax": 2.1,
    "updated_date": "2026-11-30T12:20:00",
    "uuid": "3f1c7a2e-9a51-4c5b-8f0e-1b2c3d4e5f60",
    "web_order": false
  }
}
```

### Get payment

Get one payment with its amount, tip, change, card digits and order.

**Inputs**

- Payment ID (`payment_id`, text, required): The payment's id, from 'List payments' or a trigger.

**Outputs**

- `payment` (object): The payment

**Example output**

```json
{
  "payment": {
    "amount": "26.10",
    "change": "0.00",
    "created_date": "2026-11-30T12:19:00",
    "deleted": false,
    "establishment": "/enterprise/Establishment/1/",
    "id": 7001,
    "last_4_cc_digits": "4242",
    "order": "/resources/Order/5012/",
    "payment_date": "2026-11-30T12:19:00",
    "payment_type": 2,
    "refunded": false,
    "resource_uri": "/resources/Payment/7001/",
    "tip": "4.00",
    "transaction_id": "TX-88231",
    "updated_date": "2026-11-30T12:19:00",
    "uuid": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
  }
}
```

### Get product

Get one product with its price, cost, category, codes and state.

**Inputs**

- Product ID (`product_id`, text, required): The product's id, from 'List products'.

**Outputs**

- `product` (object): The product

**Example output**

```json
{
  "product": {
    "active": true,
    "barcode": "012345678905",
    "category": "/products/ProductCategory/12/",
    "cost": "0.90",
    "created_date": "2025-03-01T10:00:00",
    "description": "Double shot with steamed milk.",
    "establishment": "/enterprise/Establishment/1/",
    "id": 77,
    "name": "Flat white",
    "price": 4.5,
    "resource_uri": "/resources/Product/77/",
    "sku": "COF-FW",
    "sorting": 3,
    "tax_class": 0,
    "updated_date": "2026-11-01T10:00:00",
    "uuid": "d4c3b2a1-0f9e-4d8c-b7a6-5e4d3c2b1a09"
  }
}
```

### Get product category

Get one product category with its name, parent, position and state.

**Inputs**

- Category (`category_id`, text, required): The category. Pick one, or give its id.

**Outputs**

- `category` (object): The category

**Example output**

```json
{
  "category": {
    "active": true,
    "created_date": "2025-03-01T09:00:00",
    "establishment": "/enterprise/Establishment/1/",
    "id": 12,
    "name": "Coffee",
    "parent": "/products/ProductCategory/2/",
    "resource_uri": "/products/ProductCategory/12/",
    "sorting": 1,
    "updated_date": "2026-11-01T09:00:00"
  }
}
```

### Get time sheet entry

Get one shift with its clock-in and clock-out times, role, wage and breaks.

**Inputs**

- Time sheet entry ID (`time_sheet_entry_id`, text, required): The entry's id, from 'List time sheet entries' or a trigger.

**Outputs**

- `time_sheet_entry` (object): The time sheet entry

**Example output**

```json
{
  "time_sheet_entry": {
    "break_length": 1800,
    "clock_in": "2026-11-30T07:58:00",
    "clock_out": "2026-11-30T16:02:00",
    "created_date": "2026-11-30T07:58:00",
    "department_name": "Front of house",
    "employee": "/resources/Employee/40/",
    "establishment": "/enterprise/Establishment/1/",
    "id": 880,
    "remarks": "",
    "role_name": "Barista",
    "role_wage": 18.5,
    "updated_date": "2026-11-30T16:02:00"
  }
}
```

### List customers

List customers, newest first, or find one by exact email, phone, name or reference number, or by the days they were added or changed.

**Inputs**

- Email (`email`, text): Only the customer with this email.
- Phone (`phone_number`, text): Only customers with this phone.
- First name (`first_name`, text): Only this exact first name.
- Last name (`last_name`, text): Only this exact last name.
- Reference number (`ref_number`, text): Only this reference number.
- State (`active`, text): Only active or only inactive customers. Leave empty for both. One of: `active`, `inactive`.
- Created on or after (`created_from`, date): Only customers created on or after this day, in Revel's local time.
- Created on or before (`created_to`, date): Only customers created on or before this day, in Revel's local time.
- Changed on or after (`updated_from`, date): Only customers changed on or after this day, in Revel's local time.
- Order (`sort`, text): Which come first. Defaults to newest first. One of: `newest` (Newest first), `oldest` (Oldest first).
- Page size (`limit`, number): How many to return, 1 to 100. Revel's default is 20. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get a later page: the 'next_offset' an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many on this page
- `customers` (list): The customers
- `has_more` (true/false): Whether another page follows
- `next_offset` (number): Pass as 'Skip' for the next page; 0 on the last one
- `offset` (number): Where this page starts
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "customers": [
    {
      "active": true,
      "birth_date": "1990-05-16T00:00:00",
      "company_name": "Acme Inc",
      "created_date": "2025-06-11T19:21:00",
      "email": "jo@example.com",
      "email_opt_in": true,
      "first_name": "Jo",
      "id": 300,
      "last_name": "Bloggs",
      "notes": "Prefers oat milk",
      "phone_number": "+15555550123",
      "phone_opt_in": false,
      "ref_number": "CRM-1042",
      "resource_uri": "/resources/Customer/300/",
      "title": "Ms",
      "total_purchases": 12,
      "total_visits": 9,
      "updated_date": "2026-11-20T08:00:00",
      "uuid": "e5f6a7b8-c9d0-4e1f-a2b3-c4d5e6f7a8b9"
    }
  ],
  "has_more": false,
  "next_offset": 0,
  "offset": 0,
  "total_count": 1
}
```

### List employees

List the account's employees with their contact details, start and end dates and whether they are active.

**Inputs**

- Order (`sort`, text): Which come first. Defaults to oldest first. One of: `newest` (Newest first), `oldest` (Oldest first).
- Page size (`limit`, number): How many to return, 1 to 100. Revel's default is 20. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get a later page: the 'next_offset' an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many on this page
- `employees` (list): The employees
- `has_more` (true/false): Whether another page follows
- `next_offset` (number): Pass as 'Skip' for the next page; 0 on the last one
- `offset` (number): Where this page starts
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "employees": [
    {
      "active": true,
      "created_date": "2025-02-01T09:00:00",
      "email": "sam@example.com",
      "employee_end": "",
      "employee_start": "2025-02-01T00:00:00",
      "external_id": "PAY-0040",
      "first_name": "Sam",
      "id": 40,
      "last_name": "Lee",
      "last_timesheet_entry": "/resources/TimeSheetEntry/880/",
      "phone_number": "+15555550188",
      "resource_uri": "/resources/Employee/40/",
      "updated_date": "2026-11-30T07:58:00"
    }
  ],
  "has_more": false,
  "next_offset": 0,
  "offset": 0,
  "total_count": 1
}
```

### List locations

List the account's locations (Revel calls them establishments) with their names, contact details and time zones.

**Inputs**

- Page size (`limit`, number): How many to return, 1 to 100. Revel's default is 20. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get a later page: the 'next_offset' an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many on this page
- `establishments` (list): The locations
- `has_more` (true/false): Whether another page follows
- `next_offset` (number): Pass as 'Skip' for the next page; 0 on the last one
- `offset` (number): Where this page starts
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "establishments": [
    {
      "about_title": "Acme Cafe",
      "active": true,
      "address": "/resources/Address/1/",
      "brand_name": "Acme Cafe",
      "contact_name": "Jo Bloggs",
      "created_date": "2024-01-10T09:00:00",
      "email": "hello@example.com",
      "id": 1,
      "name": "Main Street",
      "phone": "+15555550123",
      "resource_uri": "/enterprise/Establishment/1/",
      "time_zone": "US/Pacific",
      "updated_date": "2026-11-01T09:00:00"
    }
  ],
  "has_more": false,
  "next_offset": 0,
  "offset": 0,
  "total_count": 1
}
```

### List order items

List the items sold, with quantity, price, modifiers, tax and any special request: one order's, one product's, or all within dates.

**Inputs**

- Order ID (`order_id`, text): Only this order's items. Leave empty for every order.
- Product ID (`product_id`, text): Only sales of this product, by the id from 'List products'.
- Created on or after (`created_from`, date): Only items created on or after this day, in Revel's local time.
- Created on or before (`created_to`, date): Only items created on or before this day, in Revel's local time.
- Order (`sort`, text): Which come first. Defaults to Revel's own order. One of: `newest` (Newest first), `oldest` (Oldest first).
- Page size (`limit`, number): How many to return, 1 to 100. Revel's default is 20. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get a later page: the 'next_offset' an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many on this page
- `has_more` (true/false): Whether another page follows
- `next_offset` (number): Pass as 'Skip' for the next page; 0 on the last one
- `offset` (number): Where this page starts
- `order_items` (list): The order items
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "next_offset": 0,
  "offset": 0,
  "order_items": [
    {
      "created_date": "2026-11-30T12:05:30",
      "discount_amount": 0.0,
      "id": 9001,
      "initial_price": 4.5,
      "modifier_amount": 0.5,
      "order": "/resources/Order/5012/",
      "order_local_id": "17",
      "price": 4.5,
      "product": "/resources/Product/77/",
      "product_name_override": "Flat white",
      "pure_sales": 9.0,
      "quantity": 2,
      "resource_uri": "/resources/OrderItem/9001/",
      "special_request": "Oat milk",
      "tax_amount": 0.8,
      "updated_date": "2026-11-30T12:05:30",
      "uuid": "b7e2c1d0-1f2a-4b3c-9d8e-7f6a5b4c3d2e",
      "voided_date": "",
      "voided_reason": ""
    }
  ],
  "total_count": 1
}
```

### List orders

List orders, newest first, filtered by location, open or closed, customer, online orders and the days they were created or changed. Gets one page; run it again with 'Skip' for the next.

**Inputs**

- Location (`establishment_id`, text): Only this location. Leave empty for every location.
- Open or closed (`status`, text): Only closed (finished) or only open orders. Leave empty for both. One of: `closed` (Closed orders only), `open` (Open orders only).
- Customer ID (`customer_id`, text): Only this customer's orders, by the id from 'List customers'.
- Online orders only (`web_orders_only`, true/false): Turn on to list only orders placed online.
- Created on or after (`created_from`, date): Only orders created on or after this day, in Revel's local time.
- Created on or before (`created_to`, date): Only orders created on or before this day, in Revel's local time.
- Changed on or after (`updated_from`, date): Only orders changed on or after this day, in Revel's local time.
- Order (`sort`, text): Which come first. Defaults to newest first. One of: `newest` (Newest first), `oldest` (Oldest first), `recently_updated` (Most recently updated first).
- Page size (`limit`, number): How many to return, 1 to 100. Revel's default is 20. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get a later page: the 'next_offset' an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many on this page
- `has_more` (true/false): Whether another page follows
- `next_offset` (number): Pass as 'Skip' for the next page; 0 on the last one
- `offset` (number): Where this page starts
- `orders` (list): The orders
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "next_offset": 0,
  "offset": 0,
  "orders": [
    {
      "call_name": "Jo",
      "call_number": 17,
      "closed": true,
      "created_by": "/enterprise/User/10/",
      "created_date": "2026-11-30T12:05:00",
      "customer": "/resources/Customer/300/",
      "dining_option": 1,
      "discount_amount": 0.0,
      "establishment": "/enterprise/Establishment/1/",
      "final_total": 26.1,
      "gratuity": 0.0,
      "id": 5012,
      "local_id": "17",
      "notes": "Window table",
      "number_of_people": 2,
      "pickup_time": "2026-11-30T12:30:00",
      "remaining_due": 0.0,
      "resource_uri": "/resources/Order/5012/",
      "service_charge": 0.0,
      "subtotal": 24.0,
      "table": "/resources/Table/4/",
      "tax": 2.1,
      "updated_date": "2026-11-30T12:20:00",
      "uuid": "3f1c7a2e-9a51-4c5b-8f0e-1b2c3d4e5f60",
      "web_order": false
    }
  ],
  "total_count": 1
}
```

### List payments

List payments, newest first, with amount, tip and card details, filtered by location, order and the days they were taken.

**Inputs**

- Location (`establishment_id`, text): Only this location. Leave empty for every location.
- Order ID (`order_id`, text): Only payments for this order. Leave empty for every order.
- Created on or after (`created_from`, date): Only payments created on or after this day, in Revel's local time.
- Created on or before (`created_to`, date): Only payments created on or before this day, in Revel's local time.
- Order (`sort`, text): Which come first. Defaults to newest first. One of: `newest` (Newest first), `oldest` (Oldest first).
- Page size (`limit`, number): How many to return, 1 to 100. Revel's default is 20. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get a later page: the 'next_offset' an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many on this page
- `has_more` (true/false): Whether another page follows
- `next_offset` (number): Pass as 'Skip' for the next page; 0 on the last one
- `offset` (number): Where this page starts
- `payments` (list): The payments
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "next_offset": 0,
  "offset": 0,
  "payments": [
    {
      "amount": "26.10",
      "change": "0.00",
      "created_date": "2026-11-30T12:19:00",
      "deleted": false,
      "establishment": "/enterprise/Establishment/1/",
      "id": 7001,
      "last_4_cc_digits": "4242",
      "order": "/resources/Order/5012/",
      "payment_date": "2026-11-30T12:19:00",
      "payment_type": 2,
      "refunded": false,
      "resource_uri": "/resources/Payment/7001/",
      "tip": "4.00",
      "transaction_id": "TX-88231",
      "updated_date": "2026-11-30T12:19:00",
      "uuid": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
    }
  ],
  "total_count": 1
}
```

### List product categories

List product categories, filtered by location, parent category, active or inactive, or an exact name.

**Inputs**

- Location (`establishment_id`, text): Only this location. Leave empty for every location.
- Parent category (`parent_id`, text): Only the subcategories of this category.
- State (`active`, text): Only active or only inactive categories. Leave empty for both. One of: `active`, `inactive`.
- Name (`name`, text): Only categories with exactly this name.
- Page size (`limit`, number): How many to return, 1 to 100. Revel's default is 20. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get a later page: the 'next_offset' an earlier page gave. At least 0.

**Outputs**

- `categories` (list): The categories
- `count` (number): How many on this page
- `has_more` (true/false): Whether another page follows
- `next_offset` (number): Pass as 'Skip' for the next page; 0 on the last one
- `offset` (number): Where this page starts
- `total_count` (number): How many match in all

**Example output**

```json
{
  "categories": [
    {
      "active": true,
      "created_date": "2025-03-01T09:00:00",
      "establishment": "/enterprise/Establishment/1/",
      "id": 12,
      "name": "Coffee",
      "parent": "/products/ProductCategory/2/",
      "resource_uri": "/products/ProductCategory/12/",
      "sorting": 1,
      "updated_date": "2026-11-01T09:00:00"
    }
  ],
  "count": 1,
  "has_more": false,
  "next_offset": 0,
  "offset": 0,
  "total_count": 1
}
```

### List products

List products with their prices, categories and codes, filtered by location, category, active or inactive, or an exact name, SKU or barcode.

**Inputs**

- Location (`establishment_id`, text): Only this location. Leave empty for every location.
- Category (`category_id`, text): Only products in this category. Leave empty for every category.
- State (`active`, text): Only active or only inactive products. Leave empty for both. One of: `active`, `inactive`.
- Name (`name`, text): Only products with exactly this name.
- SKU (`sku`, text): Only the product with this SKU.
- Barcode (`barcode`, text): Only the product with this barcode.
- Page size (`limit`, number): How many to return, 1 to 100. Revel's default is 20. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get a later page: the 'next_offset' an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many on this page
- `has_more` (true/false): Whether another page follows
- `next_offset` (number): Pass as 'Skip' for the next page; 0 on the last one
- `offset` (number): Where this page starts
- `products` (list): The products
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "next_offset": 0,
  "offset": 0,
  "products": [
    {
      "active": true,
      "barcode": "012345678905",
      "category": "/products/ProductCategory/12/",
      "cost": "0.90",
      "created_date": "2025-03-01T10:00:00",
      "description": "Double shot with steamed milk.",
      "establishment": "/enterprise/Establishment/1/",
      "id": 77,
      "name": "Flat white",
      "price": 4.5,
      "resource_uri": "/resources/Product/77/",
      "sku": "COF-FW",
      "sorting": 3,
      "tax_class": 0,
      "updated_date": "2026-11-01T10:00:00",
      "uuid": "d4c3b2a1-0f9e-4d8c-b7a6-5e4d3c2b1a09"
    }
  ],
  "total_count": 1
}
```

### List time sheet entries

List shifts clocked, most recent first, with clock-in and clock-out times, role, wage and breaks, filtered by location, employee and day.

**Inputs**

- Location (`establishment_id`, text): Only this location. Leave empty for every location.
- Employee (`employee_id`, text): Only this employee's shifts. Leave empty for everyone.
- Clocked in on or after (`clock_in_from`, date): Only shifts started on or after this day, in Revel's local time.
- Clocked in on or before (`clock_in_to`, date): Only shifts started on or before this day, in Revel's local time.
- Order (`sort`, text): Which come first. Defaults to most recent first. One of: `newest` (Newest first), `oldest` (Oldest first).
- Page size (`limit`, number): How many to return, 1 to 100. Revel's default is 20. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get a later page: the 'next_offset' an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many on this page
- `has_more` (true/false): Whether another page follows
- `next_offset` (number): Pass as 'Skip' for the next page; 0 on the last one
- `offset` (number): Where this page starts
- `time_sheet_entries` (list): The shifts
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "next_offset": 0,
  "offset": 0,
  "time_sheet_entries": [
    {
      "break_length": 1800,
      "clock_in": "2026-11-30T07:58:00",
      "clock_out": "2026-11-30T16:02:00",
      "created_date": "2026-11-30T07:58:00",
      "department_name": "Front of house",
      "employee": "/resources/Employee/40/",
      "establishment": "/enterprise/Establishment/1/",
      "id": 880,
      "remarks": "",
      "role_name": "Barista",
      "role_wage": 18.5,
      "updated_date": "2026-11-30T16:02:00"
    }
  ],
  "total_count": 1
}
```

### List users

List the account's Revel users: the people who sign in to the Management Console and whom changes are recorded as made by.

**Inputs**

- State (`active`, text): Only active or only deactivated users. Leave empty for both. One of: `active`, `inactive`.
- Page size (`limit`, number): How many to return, 1 to 100. Revel's default is 20. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get a later page: the 'next_offset' an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many on this page
- `has_more` (true/false): Whether another page follows
- `next_offset` (number): Pass as 'Skip' for the next page; 0 on the last one
- `offset` (number): Where this page starts
- `total_count` (number): How many match in all
- `users` (list): The users

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "next_offset": 0,
  "offset": 0,
  "total_count": 1,
  "users": [
    {
      "date_joined": "2024-01-10T09:00:00",
      "first_name": "Jo",
      "id": 10,
      "is_active": true,
      "last_login": "2026-11-29T08:00:00",
      "last_name": "Bloggs",
      "resource_uri": "/enterprise/User/10/",
      "username": "jo.bloggs"
    }
  ]
}
```

### Update customer

Change a customer's contact details, notes, marketing consent or state. Fields left empty stay as they are.

**Inputs**

- Customer ID (`customer_id`, text, required): The customer's id.
- Recorded as (`revel_user`, text, required): The Revel user the change is recorded as made by. Pick one, or give the user's id.
- First name (`first_name`, text): The customer's first name.
- Last name (`last_name`, text): The customer's last name.
- Email (`email`, text): The customer's email address.
- Phone (`phone_number`, text): The customer's phone number, up to 20 characters.
- Company (`company_name`, text): The company the customer works for.
- Title (`title`, text): Such as Mr, Mrs, Ms or Dr.
- Reference number (`ref_number`, text): Your own reference for the customer, such as an id in another system.
- Birthday (`birth_date`, date): The customer's date of birth.
- Notes (`notes`, text): Notes about the customer, shown on the POS.
- Agrees to marketing emails (`email_opt_in`, text): Record whether they agree. Leave empty to keep it. One of: `yes`, `no`.
- Agrees to marketing calls and texts (`phone_opt_in`, text): Record whether they agree. Leave empty to keep it. One of: `yes`, `no`.
- State (`active`, text): Make them active or inactive (hidden on the POS). Leave empty to keep it. One of: `active`, `inactive`.

**Outputs**

- `customer` (object): The customer as it is now

**Example output**

```json
{
  "customer": {
    "active": true,
    "birth_date": "1990-05-16T00:00:00",
    "company_name": "Acme Inc",
    "created_date": "2025-06-11T19:21:00",
    "email": "jo@example.com",
    "email_opt_in": true,
    "first_name": "Jo",
    "id": 300,
    "last_name": "Bloggs",
    "notes": "Prefers oat milk",
    "phone_number": "+15555550123",
    "phone_opt_in": false,
    "ref_number": "CRM-1042",
    "resource_uri": "/resources/Customer/300/",
    "title": "Ms",
    "total_purchases": 12,
    "total_visits": 9,
    "updated_date": "2026-11-20T08:00:00",
    "uuid": "e5f6a7b8-c9d0-4e1f-a2b3-c4d5e6f7a8b9"
  }
}
```

### Update product

Change a product's name, price, category, description, codes, cost, tax class, position or state. Fields left empty stay as they are.

**Inputs**

- Product ID (`product_id`, text, required): The product's id.
- Recorded as (`revel_user`, text, required): The Revel user the change is recorded as made by. Pick one, or give the user's id.
- Name (`name`, text): A new name. Leave empty to keep it.
- Price (`price`, number): A new price. Leave empty to keep it. At least 0.
- Category (`category_id`, text): Move it to this category. Leave empty to keep it.
- Description (`description`, text): More about the product, shown on the POS and online ordering.
- SKU (`sku`, text): The product's stock keeping unit.
- Barcode (`barcode`, text): The product's barcode, unique within the location.
- Cost (`cost`, number): What the product costs you, for margin reports. At least 0.
- Tax class (`tax_class`, text): The regional tax class, where your location uses them. One of: `none`, `class_a` (Tax class A), `class_b` (Tax class B).
- Position (`sorting`, number): Where it sits in its category on the POS; lower comes first. At least 0.
- State (`active`, text): Make it active or inactive (hidden from the POS). Leave empty to keep it. One of: `active`, `inactive`.

**Outputs**

- `product` (object): The product as it is now

**Example output**

```json
{
  "product": {
    "active": true,
    "barcode": "012345678905",
    "category": "/products/ProductCategory/12/",
    "cost": "0.90",
    "created_date": "2025-03-01T10:00:00",
    "description": "Double shot with steamed milk.",
    "establishment": "/enterprise/Establishment/1/",
    "id": 77,
    "name": "Flat white",
    "price": 4.5,
    "resource_uri": "/resources/Product/77/",
    "sku": "COF-FW",
    "sorting": 3,
    "tax_class": 0,
    "updated_date": "2026-11-01T10:00:00",
    "uuid": "d4c3b2a1-0f9e-4d8c-b7a6-5e4d3c2b1a09"
  }
}
```

### Update product category

Change a product category's name, parent, position or state. Fields left empty stay as they are.

**Inputs**

- Category (`category_id`, text, required): The category to change. Pick one, or give its id.
- Recorded as (`revel_user`, text, required): The Revel user the change is recorded as made by. Pick one, or give the user's id.
- Name (`name`, text): A new name. Leave empty to keep it.
- Parent category (`parent_id`, text): Move it under this category. Leave empty to keep it where it is.
- Position (`sorting`, number): A new position. Leave empty to keep it. At least 0.
- State (`active`, text): Make it active or inactive (hidden from the POS). Leave empty to keep it. One of: `active`, `inactive`.

**Outputs**

- `category` (object): The category as it is now

**Example output**

```json
{
  "category": {
    "active": true,
    "created_date": "2025-03-01T09:00:00",
    "establishment": "/enterprise/Establishment/1/",
    "id": 12,
    "name": "Coffee",
    "parent": "/products/ProductCategory/2/",
    "resource_uri": "/products/ProductCategory/12/",
    "sorting": 1,
    "updated_date": "2026-11-01T09:00:00"
  }
}
```
