Having issue with graphQL Mutations for collectionReorderProducts

cnviradiya
New Member
1 0 0

Guys,

I'm implementing graphQL in my public app but having issue with implementation/mutations don't know.
Let me write here mutation,

mutation {
  collectionReorderProducts(id: "gid://shopify/Collection/280503451819", moves: [
    {
      id: "gid://shopify/Product/6878982013099",
      newPosition: "5"
    },
    {
      id: "gid://shopify/Product/6878981685419",
      newPosition: "2"
    }
  ]) {
    userErrors {
      field
      message
    }
    job {
      # Job fields
      done
    }
    
  }
}


It's come with wrong response

graphql-error.png


Please help me to solved out this



twitterlinkedininstagram

Chirag Viradiya

Sr Full Stack Web Developer

Web Development | Itcoders

919726099884
viradiyachirag91@gmail.com
www.itcoders.in
Create Your Own Free Signature


Replies 0 (0)