Services
The services offered: duration, breaks, price.
Module: Catalog (catalog).
Endpoints
Section titled “Endpoints”GET /api/v1/services- List with filters, sorting and pagination (scopecatalog:read)GET /api/v1/services/{id}- A record by id (scopecatalog:read)POST /api/v1/services- Create a record (scopecatalog:write)PATCH /api/v1/services/{id}- Modify the submitted fields (scopecatalog:write)DELETE /api/v1/services/{id}- Delete or deactivate (scopecatalog:write)POST /api/v1/services/{id}/set_extras- Specialists, resources, prices and materials. What is missing stays untouched. Fees stay in the app. (scopecatalog:write)POST /api/v1/services/{id}/set_price- The price on a price list; empty = the standard price. (scopecatalog:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).name(string; write, required): Nameduration_minutes(number; write, required): Duration (minutes)color(string; write): Calendar coloris_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): Descriptioncategory(string; write): Categoryprice(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 / cleansvat_rate(number; write): VAT (%)service_code(string; write): Service codebookable_online(boolean; write): Can be booked onlineapproval_mode(string; write): Confirmation of online bookingscancel_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 placeinvite_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)
Events
Section titled “Events”services.createdservices.updatedservices.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.