Products > Product Field Sets > productFieldSetsModify
Commerce APIProductsProduct Field SetsproductFieldSetsModify
productFieldSetsModify
POST:product_field_sets.json

Description

Modify one or multiple product field sets.

Permission bit: "product_field_sets.modify"

Topic: Product Field Sets

Arguments

data: [ProductFieldSetModify!]!

Main argument for mutations.


ids: [String!]!

List of product field set ids. See also: Unique Identifiers

Example: ["pf_EQzGqWoY"]


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

Translatable

Valid when: name is not empty

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


Result

[ProductFieldSet!]

Preview (typescript)

Loading module