Skip to content

Deprecated. Get a list of services / specific service
deprecated

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

service_idnumberrequired

Service ID, if you need to work with a specific service.

Query
team_member_idnumber

Team Member ID, if you want to filter by Team Member

category_idnumber

Category ID, if you want to filter by category

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/services/{location_id}/{service_id}?team_member_id=0&category_id=0' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataobject

Service data object

Example:
{ "id": 83169, "salon_service_id": 433222, "title": "Men's haircut", "category_id": 83167, "price_min": 1300, "price_max": 1300, "discount": 0, "comment": "", "weight": 6, "active": 1, "api_id": "00000000042", "staff": [ { … }, { … } ], "duration": 3600, "is_online": true }
metaArray of objects

Metadata (empty array)

Example:
[]
Response
{ "success": true, "data": [ { … }, { … } ], "meta": [] }