Actions38
- Bookings Actions
- Customers Actions
- Agents Actions
- Services Actions
- Payments Actions
- Orders Actions
- Coupons Actions
- Locations Actions
- Availability Actions
Services → Get All
AI-generatedSummary
Retrieve a list of services from Latepoint, optionally filtered and sorted by various predefined criteria or custom JSON filters, with pagination support.
Inputs
- Use Filters — Toggle to enable predefined filter fields for services such as name, category, duration, price, visibility, status, location, agent, creation and update dates, metadata, and sorting options.
- Filters — Collection of predefined filter parameters to narrow the retrieved services when 'Use Filters' is enabled.
- Additional Filters (JSON) — JSON string of extra filter parameters independent of the 'Use Filters' toggle; keys must match Latepoint API parameter names.
- Return All — Boolean to indicate whether to return all matching services across pages or just a single page limited by 'Limit'.
- Max Pages — Maximum number of pages to fetch when 'Return All' is true; set to 0 for unlimited.
- Limit — Maximum number of services to return per page when not returning all results.
- Page — Page number to retrieve when paginating manually with 'Return All' set to false.
Output shape
a list of service objects, each representing a service matching the filter criteria; pagination information is included if not returning all results
Supports pagination with the 'Return All', 'Limit', 'Page', and 'Max Pages' parameters. Filters applied include both UI-defined fields and additional JSON filters. The response includes full service data and optionally service metadata.
Examples
Example 1: Fetch first 10 active and visible services with a minimum price of 50 sorted by name ascending
Use Filters enabled, set Filters for status to 'active', visibility to 'visible', price_min to 50; Limit 10, Page 1, Return All false.
Example 2: Retrieve all services updated after 2024-01-01 including metadata
Use Filters enabled, set Filters for updated_after to '2024-01-01', include_meta to true; Return All true to fetch all pages.
Example 3: Fetch services with a custom filter via JSON
Use Filters disabled, Additional Filters JSON set to '{"category_id":"123", "price_max":100}', Return All true or false as needed.