Staff

1 operation. Every schema and example on this page is generated from the platform contract.

List a store's staff members and their permissions.

Merchant views everyone with access to the store, the owner plus any scoped staff, each with their fine-grained permission grants (manage classes, process payments, view reports, and so on). Owners are flagged and hold every permission implicitly. Gated on the gym-management entitlement.

Parameters

store_idstring · uuidqueryrequired

Store whose staff to list (also authorises the merchant).

Response, 200

staffarray of objectrequired
6 child fields
user_idstringrequired
emailstring, nullablerequired
full_namestring, nullablerequired
permissionsobjectrequired
10 child fields
can_manage_classesbooleanrequired
can_manage_membershipsbooleanrequired
can_process_paymentsbooleanrequired
can_waive_penaltiesbooleanrequired
can_override_bookingbooleanrequired
can_view_reportsbooleanrequired
can_manage_staffbooleanrequired
can_manage_eventsbooleanrequired
can_manage_configbooleanrequired
can_message_customersbooleanrequired
is_ownerbooleanrequired
has_explicit_grantsbooleanrequired
curl -G "https://www.membber.com/api/v1/staff/permissions" \
  -H "Authorization: Bearer $MEMBBER_TOKEN" \
  --data-urlencode "store_id=6659c139-0000-4000-8000-d0c500000066"
Response, 200
{
  "staff": [
    {
      "user_id": "f73aee0f-0000-4000-8000-d0c5000000f7",
      "email": "alex@example.com",
      "full_name": "Alex Example",
      "permissions": {
        "can_manage_classes": true,
        "can_manage_memberships": true,
        "can_process_payments": true,
        "can_waive_penalties": true,
        "can_override_booking": true,
        "can_view_reports": true,
        "can_manage_staff": true,
        "can_manage_events": true,
        "can_manage_config": true,
        "can_message_customers": true
      },
      "is_owner": true,
      "has_explicit_grants": true
    }
  ]
}
WhatsApp
Book a Call
Start Free