# ProductOptionsReorderUserError - admin-graphql - OBJECT Version: 2024-07 ## Description Error codes for failed `ProductOptionsReorder` mutation. ### Access Scopes `read_products` access scope. ## Fields * [code](/docs/api/admin-graphql/2024-07/enums/ProductOptionsReorderUserErrorCode): ProductOptionsReorderUserErrorCode - The error code. * [field](/docs/api/admin-graphql/2024-07/scalars/String): String - The path to the input field that caused the error. * [message](/docs/api/admin-graphql/2024-07/scalars/String): String! - The error message. ## Connections ## Related queries ## Related mutations * [productOptionsReorder](/docs/api/admin-graphql/2024-07/mutations/productOptionsReorder) Reorders options and option values on a product, causing product variants to alter their position. Options order take precedence over option values order. Depending on the existing product variants, some input orders might not be achieved. Example: Existing product variants: ["Red / Small", "Green / Medium", "Blue / Small"]. New order: [ { name: "Size", values: [{ name: "Small" }, { name: "Medium" }], name: "Color", values: [{ name: "Green" }, { name: "Red" }, { name: "Blue" }] } ]. Description: Variants with "Green" value are expected to appear before variants with "Red" and "Blue" values. However, "Size" option appears before "Color". Therefore, output will be: ["Small / "Red", "Small / Blue", "Medium / Green"]. ## Related Unions ## Examples