Reporting a bug in productReorderMedia graphql mutation

According to documentation, productReorderMedia endpoint variables are defined as following:/

input MoveInput {
id: ID!
newPosition: UnsignedInt64!
}

but when sending unsigned integer, the resopnse is:

Variable $moves of type [MoveInput!]! was provided invalid value for 0.newPosition (UnsignedInt64 ‘1’ must be encoded as a string), 1.newPosition (UnsignedInt64 ‘2’ must be encoded as a string)

So there is a mismatch, documentation says it needs integer, but server responds saying that it needs string.
When sending string, i get resopnse with no errors, but order of media objects is not changed.

PS.
I couldn’t find a proper channel for reporting a bug so im writing here

Hi Rko_tilt,

Thanks for flagging this - I’ll connect with our API development team on this and report back asap!

Hey @Liam ,
Thanks for passing the issue further.
Is there some kind of estimation maybe of when the team plans to release a fix?

hello,

I submitted the request successfully using the following parameters and interfaces. However, the order of the pictures did not change. How can I solve this problem?

mutation productReorderMedia($id: ID!, $moves: [MoveInput!]!) {
productReorderMedia(id: $id, moves: $moves) {
job {
id
}
}
}

Input variables:

{
“id”:“gid://shopify/Product/",
“moves”:[
{“id”:"gid://shopify/MediaImage/
”,“newPosition”:“1”},
{“id”:“gid://shopify/MediaImage/",“newPosition”:“2”},
{“id”:"gid://shopify/MediaImage/
”,“newPosition”:“3”},
{“id”:“gid://shopify/MediaImage/***”,“newPosition”:“4”}
]
}