Possible error codes that can be returned by .
Valid values
An option cannot have both metafield linked and nonlinked option values.
The number of variants will be above the limit after this operation.
Deleting all option values of an option is not allowed.
Cannot update the option because it would result in deleting variants, and you don't have the required permissions.
An option cannot be left only with option values that are not linked to any variant.
At least one of the product variants has invalid SKUs.
Duplicated option value.
Cannot link multiple options to the same metafield.
Invalid metafield value for linked option.
The name provided is not valid.
The option position provided is not valid.
A key is missing in the input.
No valid metafield definition found for linked option.
Linked options are currently not supported for this shop.
Updating the linked_metafield of an option requires a linked_metafield_value for each option value.
On create, this key cannot be used.
Option already exists.
Option does not exist.
An option linked to the provided metafield already exists.
Option name is too long.
Option values count is over the allowed limit.
Option value already exists.
Performing conflicting actions on an option value.
Option value does not exist.
Option value with variants linked cannot be deleted.
Option value name is too long.
Product does not exist.
Product is suspended.
The number of option values created with the MANAGE strategy would exceed the variant limit.
Operation is not supported for a combined listing parent product.
Fields with this enum
The error code.