---
title: "staffMember"
description: >
  Query information for a specific staff member in the store. You can use the UID to query the staff member's name, phone number, email, and other details.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/store-properties/queries/staff-member'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/store-properties/queries/staff-member.md'
---
# staffMember

Query information for a specific staff member in the store. You can use the UID to query the staff member's name, phone number, email, and other details.

- **Required Scopes:** `read_store_staff`
- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Query

## Required Permissions

* `read_store_staff`

An access token is required to call this API. Refer to [Authorization](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md) for more information about how to obtain the token.

## Arguments

* `uid`

  [ID!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  Staff member UID.

## Returns

* `uid`

  [ID](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  Staff member UID.

* `phone`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Staff member phone number.

* `name`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Staff member name.

* `active`

  [Boolean!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/boolean.md)

  Whether the staff member’s account is active.
  
  - `true`: active 
  - `false`: inactive

* `isShopOwner`

  [Boolean!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/boolean.md)

  Whether the staff member is the store owner.
  - `true`: The staff member is the store owner.
  - `false`: The staff member is not the store owner.

* `email`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Staff member email.

## Examples

### Query a specific store staff member

Query a specific store staff member.

**Request:**

```json
query MyQuery {
    staffMember(
        uid: "111"
    ) {
        uid
        phone
        name
        active
        isShopOwner
        email
    }
}
```

**Response:**

```json
{
  "data": {
    "data": {
      "isShopOwner": true,
      "name": "test",
      "phone": "13000000000",
      "uid": "111",
      "active": true,
      "email": "test@163.com"
    }
  }
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

