A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello!
We send request(for get products from channels):
{
channels(first: 10) {
edges {
node {
id
name
products(first: 10) {
edges {
node {
id
title
}
}
}
}
}
}
}
Response:
access denied
Please help us get all products from all channels.
Thank you.
Solved! Go to the solution
This is an accepted solution.
Hey @arthur_v,
Taking a closer look into the query shared, I can confirm that the GraphQL Admin API channel(s) query was deprecated, as stated in our API documentation here.
The suggested replacement would be to use a publication(s) query, however this requires access to the scope read_publications available only to some apps installed on Shopify Plus stores. If you are building an app for a Plus store, please have them connect with their support contact to work through obtaining access.
To enquire about access for an app created within a partner account, please connect with our Partner Support team directly through the Partner Dashboard > Support menu.
Cheers!
awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hey @arthur_v,
Taking a closer look into the query shared, I can confirm that the GraphQL Admin API channel(s) query was deprecated, as stated in our API documentation here.
The suggested replacement would be to use a publication(s) query, however this requires access to the scope read_publications available only to some apps installed on Shopify Plus stores. If you are building an app for a Plus store, please have them connect with their support contact to work through obtaining access.
To enquire about access for an app created within a partner account, please connect with our Partner Support team directly through the Partner Dashboard > Support menu.
Cheers!
awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi Awwdam