Show Business Admin
Gets the details of a business admin in the Punchh platform
Headers
- Type: stringAuthorizationrequired
Bearer token for admin authorization, who is making a call on behalf of the customer. Send the API key in the following format: "Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE".
- Type: stringAcceptrequired
Advertises which content types the client is able to understand
- Type: stringContent
- Type requiredSet this header to application/json.
Body
application/json
- Type: stringbusiness
_admin _id ID of the business admin whose details you want to fetch
Responses
- application/json
- application/json
Request Example for get/api2/dashboard/business_admins
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/dashboard/business_admins \
--header 'Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"business_admin_id": "30803"
}'
{
"email": "test@example.com",
"first_name": "FIRST_NAME_GOES_HERE",
"last_name": "LAST_NAME_GOES_HERE",
"timezone": "America/Los_Angeles",
"role_id": 11,
"business_admin_id": 30803,
"franchisee_id": 12,
"locations": [
{
"location_id": 9,
"store_number": "21"
},
{
"location_id": 10,
"store_number": "10"
}
],
"location_groups": [
{
"location_group_id": 1,
"name": "New Business Location group"
}
]
}