Skip to main content

UpdateProductAttributeInput

Changes to an attribute's own fields. A key sent replaces the stored value, null clears it, and a key left out keeps its value.

input UpdateProductAttributeInput {
attributeKey: String!
customFields: JSON!
}

Fields​

UpdateProductAttributeInput.attributeKey ● String! non-null scalar​

The attribute, in any spelling.

UpdateProductAttributeInput.customFields ● JSON! non-null scalar​

Values for the organization's own attribute fields, keyed by field key.

Member Of​

updateProductAttribute mutation