Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I am trying to access and query the `staffMember` object through the Shopify GraphiQL App but it keeps saying it doesn't know it:
Field 'staffMember' doesn't exist on type 'QueryRoot'
query ActivityFeed($first: Int!) {
staffMember {
id
privateData {
activityFeed(first: $first) {
pageInfo {
hasNextPage
__typename
}
edges {
...Activity
__typename
}
__typename
}
__typename
}
__typename
}
}
fragment Activity on ActivityEdge {
cursor
node {
author
createdAt
messages
attributed
__typename
}
__typename
}
More-so when it made me re-install the App I looked for the `read_users` scope (which is needed by the StaffMember object) and did not find it when giving the app permissions upon re-install.
Does this app not have that permission?
Solved! Go to the solution
This is an accepted solution.
I have found that the `read_users` scope is available considering the following:
The User resource is available for private apps and custom apps installed on Shopify Plus stores. You need to contact Shopify Plus Support to request the read_users access scope for your app.
This is an accepted solution.
I have found that the `read_users` scope is available considering the following:
The User resource is available for private apps and custom apps installed on Shopify Plus stores. You need to contact Shopify Plus Support to request the read_users access scope for your app.