Skip to content

Services

The services offered: duration, breaks, price.

Module: Catalog (catalog).

  • GET /api/v1/services - List with filters, sorting and pagination (scope catalog:read)
  • GET /api/v1/services/{id} - A record by id (scope catalog:read)
  • POST /api/v1/services - Create a record (scope catalog:write)
  • PATCH /api/v1/services/{id} - Modify the submitted fields (scope catalog:write)
  • DELETE /api/v1/services/{id} - Delete or deactivate (scope catalog:write)
  • POST /api/v1/services/{id}/set_extras - Specialists, resources, prices and materials. What is missing stays untouched. Fees stay in the app. (scope catalog:write)
  • POST /api/v1/services/{id}/set_price - The price on a price list; empty = the standard price. (scope catalog:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • name (string; write, required): Name
  • duration_minutes (number; write, required): Duration (minutes)
  • color (string; write): Calendar color
  • is_active (boolean; write): Whether the record is active.
  • custom_fields (object; read): Custom fields (key-value object). Definitions are created in the ERP; see the guide on docs.rivil.app.
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • description (string; write): Description
  • category (string; write): Category
  • price (number; write): Standard price (excl. VAT)
  • buffer_after_minutes (number; write): Break after (minutes, empty = default)
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • buffer_before_minutes (number; write): Break before (minutes, empty = default)
  • setup_minutes (number; write): Resource preparation (minutes)
  • cleanup_minutes (number; write): Resource cleanup (minutes)
  • support_note (string; write): Who prepares / cleans
  • vat_rate (number; write): VAT (%)
  • service_code (string; write): Service code
  • bookable_online (boolean; write): Can be booked online
  • approval_mode (string; write): Confirmation of online bookings
  • cancel_before_hours (number; write): Online cancel / reschedule at least (hours before, empty = company setting)
  • image_key (string; read)
  • resource_types (array; read)
  • invoice_label (string; write): Name on invoice (empty = service name)
  • online_meeting (boolean; write): Meet link on the appointment (requires the specialist’s Google Calendar)
  • delivery_mode (string; write): How it takes place
  • invite_client (boolean; write): Invite the client to the Google Calendar event (they get the invitation by email)
  • all_specialists (boolean; write): Online bookings include all specialists of the service who are free at that time (not just one)
  • services.created
  • services.updated
  • services.deleted

Accepts custom fields in custom_fields. docs.rivil.app documents the capability; the list for your company is in the ERP, under Settings, API.