I wanted to follow up on the issue regarding reordering product option values via the REST Admin API (originally discussed in 2022). The problem was that while the API allowed setting option values, it didn’t maintain the specified order when updating them.
Has anyone found a working solution for this, or has Shopify addressed this limitation in recent API updates? I’m still encountering this issue when trying to programmatically reorder option values.
If you’ve successfully implemented option value reordering via the API, I’d appreciate if you could share your approach. Alternatively, if any Shopify team members could confirm if this is still a known limitation or if there’s a fix in the works, that would be helpful.
Thank you for the documentation. However, I am unsure if it answers my question.
First and foremost, I am using the REST API, not GraphQL yet. I think there might be some functional differences between the two. When working with two variant options, it’s easy to control variant options at the last level. However, I would like to control option values at the top variant option level, if that makes sense. Currently, you can’t include position data there; it is only available at the variant level (last variant option).