Skip to main content
query

Retrieves a staff member by ID. If no ID is provided, the query returns the staff member that's making the request. A staff member is a user who can access the Shopify admin to manage store operations.

Provides staff member details such as email, name, and shop owner status. When querying the current user (with or without an ID), additional private data becomes available.

•ID

The ID of the staff member to return. If no ID is provided, then the staff member making the query (if any) is returned.


Was this section helpful?

•StaffMember

A user account that can access the Shopify admin to manage store operations. Includes personal information and account status.

You can assign staff members to CompanyLocation objects for B2B operations, limiting their actions to those locations.

•AccountType

The type of account the staff member has.

•Boolean!
non-null

Whether the staff member is active.

•Image!
non-null

The image used as the staff member's avatar in the Shopify admin.

Arguments

•Int
Deprecated
•Int
Deprecated
•StaffMemberDefaultImage
Default:DEFAULT

The default image returned if the staff member has no avatar.


•String!
non-null

The staff member's email address.

•Boolean!
non-null

Whether the staff member's account exists.

•String

The staff member's first name.

•ID!
non-null

A globally-unique ID.

•[String!]

The staff member's initials, if available.

•Boolean!
non-null

Whether the staff member is the shop owner.

•String

The staff member's last name.

•String!
non-null

The staff member's preferred locale. Locale values use the format language or language-COUNTRY, where language is a two-letter language code, and COUNTRY is a two-letter country code. For example: en or en-US

•String!
non-null

The staff member's full name.

•String

The staff member's phone number.

•StaffMemberPrivateData!
non-null

The data used to customize the Shopify admin experience for the staff member.


Was this section helpful?