Skip to main content
The Rates API allows you to manage pricing information for different spaces in the DEMET platform. You can create, retrieve, update, and delete rate configurations.

Base URL

/rate

Available Endpoints

Create Rate

Register a new rate for a space

List Rates

Get all registered rates

Update Rate

Update an existing rate

Delete Rate

Delete a rate from the system

Rate Object

A rate object contains the following fields:
id_rate
number
Unique identifier for the rate
name
string
Name of the rate (e.g., “Weekend Rate”, “Weekday Rate”)
pax
number
Maximum capacity (number of people)
value4
number
Price for 4-hour rental period
value8
number
Price for 8-hour rental period
value_extra
number
Price per additional hour beyond the standard periods
isPartner
boolean
Whether this rate is for partner accounts
id_space
number
ID of the space this rate belongs to

Authentication

Most rate endpoints require authentication via JWT token stored in the access_token cookie. The token is automatically sent with requests when the user is logged in.
The List Rates endpoint (GET /rate/get) does not require authentication.

Build docs developers (and LLMs) love