App reviews, troubleshooting, and recommendations
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
Please help me to solved out this
I have this problem too!!
@Arenas1 I see you have different issue.
as per my expectation. you can reorder the product only n only when you have sort order: manually
So, Please try to first select sort order as manually and execute above query it will work for you
It's not really a good solution but it's the only thing we can do at the moment. Thanks!!
@Arenas1 Actually, If you want to use reorderposition api than at time of create collection you have to set the sortorder: manual and than execute this api that's the rules of shopify. so, I think we must have to applied.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024