Skip to main content

RenameProductAttributeInput

Renames an attribute on every product carrying it.

input RenameProductAttributeInput {
attributeKey: String!
merge: Boolean
name: String!
}

Fields​

RenameProductAttributeInput.attributeKey ● String! non-null scalar​

The attribute, in any spelling.

RenameProductAttributeInput.merge ● Boolean scalar​

When the new name is another existing attribute: true merges into it (a variant carrying both keeps the existing attribute's value); otherwise the rename is refused with code PRODUCT_ATTRIBUTE_EXISTS.

RenameProductAttributeInput.name ● String! non-null scalar​

The new name.

Member Of​

renameProductAttribute mutation