Skip to main content
object

Requires read_users access scope. Also: The app must be a finance embedded app or installed on a Shopify Plus or Advanced store. Contact Shopify Support to enable this scope for your app.

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.

•IdentityAccount

The Identity account details for the staff member.

•[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.

•URL
Deprecated

Was this section helpful?

•query

The staff member making the API request.

•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.

Arguments

•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.


•query

Returns a paginated list of StaffMember objects for the shop. Staff members are users who can access the Shopify admin to manage store operations.

Supports filtering by account type, email, and name, with an option to sort results. The query returns a StaffMemberConnection for cursor-based pagination.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•StaffMembersSortKeys
Default:ID

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Anchor to account_type
•string

Filter by account type.

Valid values:

  • collaborator
  • collaborator_team_member
  • invited
  • regular
  • requested
  • restricted
  • saml
•string

Filter by email.

Anchor to first_name
•string

Filter by first name.

•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to last_name
•string

Filter by last name.



Was this section helpful?

•interface

Was this section helpful?