Skip to main content

DeleteProductAttributeInput

Deletes an attribute, or one value of it.

input DeleteProductAttributeInput {
attributeKey: String!
removeFromProducts: Boolean
value: String
}

Fields​

DeleteProductAttributeInput.attributeKey ● String! non-null scalar​

The attribute, in any spelling.

DeleteProductAttributeInput.removeFromProducts ● Boolean scalar​

True also removes it from every product carrying it; otherwise a delete of something in use is refused with code PRODUCT_ATTRIBUTE_IN_USE.

DeleteProductAttributeInput.value ● String scalar​

The value to delete; absent deletes the whole attribute.

Member Of​

deleteProductAttribute mutation