Skip to content

Get Chain Service

Request

Returns a Chain Service with the Locations it is linked to (salon_ids) and whether price and comment are managed only at the Chain level. The Business User needs access to the Chain's Services.

Security
BearerPartnerUser
Path
chain_idintegerrequired

Chain ID

Example:706028
service_idintegerrequired

Service ID

Example:13160804
Headers
Acceptstringrequired
Default:"application/vnd.api.v2+json"
Content-Typestringrequired
Default:"application/json"
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

curl -i -X GET \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/chains/706028/services/13160804 \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

OK

Bodyapplication/json
successboolean
dataobject
metaArray of any
Response
{ "success": true, "data": { "id": 13160804, "title": "Yoga class", "booking_title": "Yoga class", "category_id": 13160801, "is_multi": true, "is_comment_managed_only_in_chain": false, "is_price_managed_only_in_chain": false, "comment": "", "is_composite": false, "is_chain": true, "salon_id": 0, "price_min": 1000, "price_max": 1000, "salon_ids": [ … ], "in_main_location": true, "image_group": [] }, "meta": [] }