Skip to content

Disable Tips for the team member

Request

Security
BearerPartnerUser
Path
location_idintegerrequired

location id

master_tips_settings_idintegerrequired

tip settings id

Headers
Acceptstringrequired

application/vnd.api.v2+json

Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X POST \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/tips/{location_id}/settings/{master_tips_settings_id}/disable' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

Tip settings object

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataArray of objects

Array of objects with data

Example:
[ { "id": 1, "location_id": 253859, "staff_id": 742418, "hash": "ba816199-eecf-4bd2-9f1d-db470545bfaf", "status": 3, "status_title": "pending account", "is_enabled": true, "landing_external": "https://app.alteg.io/tips/external/253859/ba816199-eecf-4bd2-9f1d-db470545bfaf/", "master_tips_form_link": "https://app.alteg.io/companies/253859/staff/742418/tips/pay/", "invite_sms_sent": false, "staff": { … } }, { "id": 152763, "location_id": 253859, "staff_id": 743018, "hash": "b7c81cab-290a-4b0a-ad05-9c4b98ef3565", "status": 4, "status_title": "everything is set", "is_enabled": true, "landing_external": "https://app.alteg.io/tips/external/253859/b7c81cab-290a-4b0a-ad05-9c4b98ef3565/", "master_tips_form_link": "https://app.alteg.io/companies/253859/staff/743018/tips/pay/", "invite_sms_sent": false, "staff": { … } } ]
metaobject

Metadata (contains the number of found team members)

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