List services
sales:services.readhttps://api.holded.com/api/v2/servicesReturns a paginated list of services in your catalog. Results are cursor-paginated. Default page size is 25, configurable up to 100 with `limit`.
Parameters
Query parameters
integeroptional= 50Maximum number of services to return per page. Defaults to 25, maximum 100.
stringoptionalPagination cursor returned by the previous response. Omit to start from the first page.
booleanoptional= falseWhether to include archived services in the results
Request
import requests
url = "https://api.holded.com/api/v2/services?limit=50&cursor=value&include_archived=false"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
{
"items": [
{
"id": "507f1f77bcf86cd799439011",
"name": "Consulting",
"code": "SRV-001",
"description": "Consulting service",
"price": "100.00",
"cost": "50.00",
"tags": [
"string"
],
"taxes": [
"string"
],
"sales_channel_id": "string",
"color": "string",
"duration": "string",
"archived": false
}
],
"has_more": false,
"cursor": "string"
}Success responses
200List of servicesapplication/jsonUnique identifier of the service
Name of the service
Internal reference code for the service
Description of the service
Sale price as a decimal string
Cost price as a decimal string
List of tags attached to the service
List of tax identifiers applied to the service
Identifier of the sales channel assigned to this service
Hex color code used in the UI
Duration in minutes as a decimal string
Whether the service is archived
Whether there are more items on the next page
Opaque cursor to pass as ?cursor= to fetch the next page. Null on the last page.
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json429Rate limit exceededapplication/json