List Services
Services
List Services
Retrieve a list of all services with advanced filtering, pagination, and sorting options.
GET
List Services
Query Parameters
string
Search services by name, short description, or description
string
Filter by exact service name
string
Filter by service status (active, disabled)
integer
Filter by service category ID
integer
Filter services by location ID (shows only services available at this location)
integer
Filter services by agent ID (shows only services provided by this agent)
string
Filter by visibility (visible, hidden)
number
Minimum price filter
number
Maximum price filter
integer
Minimum duration in minutes
integer
Maximum duration in minutes
string
Filter services created after this date (YYYY-MM-DD format)
string
Filter services created before this date (YYYY-MM-DD format)
string
Filter services updated after this date (YYYY-MM-DD format)
string
Filter services updated before this date (YYYY-MM-DD format)
integer
default:"10"
Number of services per page (1-100)
integer
default:"1"
Page number for pagination
string
default:"id"
Field to order by (id, name, price, duration, created_date, updated_date)
string
default:"ASC"
Sort direction (ASC, DESC)
string
Include related data (comma-separated: category, agents, locations)
Example Requests
Basic Request
Search Services
Filter with Multiple Parameters
Price Range Filter
Duration and Date Filters
Filter by Location
Filter by Agent
Combined Location and Agent Filter
Response Example
Basic Response
With include=category,agents
The
customer_limit field is always present in the response. Use include=category to embed category data and include=agents for agent data per service. Use include=categories to append all service categories to the root of the response.