Products > Option Sets > optionSetsCreate
POST:option_sets.json
Description
Create one or multiple option sets.
Permission bit: "option_sets.create"
Topic: Option Sets
Arguments
data: [OptionSetCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Name of the option set
Example: "T-Shirts"
Valid when: name is not empty
Valid when: name's length doesn't exceed 250 characters
Option IDs of options which belong to a set
Result
[OptionSet!]
Preview (typescript)
Loading module