Solved

collectionUpdate not whitelisted for Bulk Operation?

dhaskell
Visitor
2 0 0

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.

Accepted Solution (1)

Luke_K
Shopify Staff
402 66 98

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!

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!

View solution in original post

Replies 3 (3)

Luke_K
Shopify Staff
402 66 98

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!

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
dhaskell
Visitor
2 0 0

Thank you for the response.

 

Is there a list of mutations/queries that are or are not whitelisted for bulk operations at this time?

Luke_K
Shopify Staff
402 66 98

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!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!