Products > Options > optionsModify
POST:options.json
Description
Modify one or multiple options.
Permission bit: "options.modify"
Topic: Options
Arguments
data: [OptionModify!]!
Main argument for mutations.
List of option ids. See also: Unique Identifiers
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Metadata of the option
Example: "color"
Valid when: meta's length doesn't exceed 250 characters
Name of the option
Translatable
Example: "Size"
Valid when: name is not empty
Valid when: name's length doesn't exceed 250 characters
values: [OptionValueCreate!]
Option values
Result
[Option!]
Preview (typescript)
Loading module