New field and queries for the StaffMember
object in the GraphQL Admin API
API
Effective October 01, 2024
The 2024-10
version of the GraphQL Admin API brings improvements to the StaffMember
object:
- New
accountType
field. - You can retrieve the staff member making the API request with the
currentStaffMember
query. - You can list all staff members with the
staffMembers
connection query. Shop.staffMembers
was deprecated in favor of thestaffMembers
query.
This allows apps using the User
REST Admin API resource to migrate to GraphQL's StaffMember
object.