Development discussions around Shopify APIs
In the GraphQL API I was able to run collectionCreate through the Bulk Operation feature just fine but collectionUpdate throw back an error saying it's not whitelisted.
Is there any way to get it whitelisted?
I'm using version 2021-10 if that matters.
Solved! Go to the solution
This is an accepted solution.
Hey @dhaskell
Thanks for getting in touch! So yes, that's correct, I can confirm that as per the code at the moment, collectionUpdate isn't available to be run as part of a bulk mutation.
That said, I'll make this known to the custodians of the component that there is demand for it. Any further updates I'll be sure to communicate them here, or alternatively they will be communicated via our Developer Changelog. Hope that helps explain more at least!
This is an accepted solution.
Hey @dhaskell
Thanks for getting in touch! So yes, that's correct, I can confirm that as per the code at the moment, collectionUpdate isn't available to be run as part of a bulk mutation.
That said, I'll make this known to the custodians of the component that there is demand for it. Any further updates I'll be sure to communicate them here, or alternatively they will be communicated via our Developer Changelog. Hope that helps explain more at least!
Thank you for the response.
Is there a list of mutations/queries that are or are not whitelisted for bulk operations at this time?
Hey @dhaskell
No worries - and yes there is. Here's the list of support GraphQL mutations that can be supplied to the bulkOperationRunMutation presently. Hope that helps!
User | RANK |
---|---|
43 | |
16 | |
9 | |
9 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023