Products > Product Field Sets > productFieldSetsCreate
Commerce APIProductsProduct Field SetsproductFieldSetsCreate
productFieldSetsCreate
POST:product_field_sets.json

Description

Create one or multiple product field sets.

Permission bit: "product_field_sets.create"

Topic: Product Field Sets

Arguments

data: [ProductFieldSetCreate!]!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

fields: [ProductFieldCreate!]!


name: String!

Name of the field set

Valid when: name is not empty

Valid when: name's length doesn't exceed 250 characters


Result

[ProductFieldSet!]

Preview (typescript)

Loading module