A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi all, I'm trying to use the catalogContextUpdate GraphQL mutation. I haven't had any trouble using many of the GraphQL mutations but this one doesn't work. Below is the variable I'm sending.
When I send I get the error "Must have `contexts_to_add` or `contexts_to_remove` argument". I'm not sure what this means since I'm sending contextToAdd. Any help is appreciated. Thanks in advance.
Go to the solution
This is an accepted solution.
I was able to figure it out, the query needed to be changed as follows:
View solution in original post