Bỏ qua để đến nội dung

Get Services List

API cho đối tácAdd-on
GET
/properties/{tenant_id}/services

Retrieve the list of active services for a specific property. Services are identified by their unique code (not internal ID).

Scope Required: properties:read

Path Parameters:

  • tenant_id (required): Property/tenant identifier

Query Parameters:

  • category (optional): Filter by service category name

Use Cases:

  • Get available services for booking service additions
  • Display services list in third-party integrations
  • Validate service codes before adding to bookings

Important Notes:

  • Only returns active services for the current property
  • Services are identified by id field (e.g., SVAB12CD34)
  • Internal IDs are hidden from the response
  • Results are cached for 10 minutes
tenant_id
required
string
object
success
required
boolean
data
required
Array<object>
object
id
required
string
name
required
string
price_per_unit
required
number
currency
required
string
note
required
string | null
category
required
object
name
required
string
icon
required
string | null
Bài này có giúp được bạn không?