customerTypeUnassignAttributes Mutation
Unassign attributes from a given customer type. Values already assigned to users are kept in the database, but are hidden until the attribute is assigned to the user's customer type again.
Added in Saleor 3.23.
Triggers the following webhook events:
- CUSTOMER_TYPE_UPDATED (async): A customer type was updated.
customerTypeUnassignAttributes(
attributeIds: [ID!]!
customerTypeId: ID!
): CustomerTypeUnassignAttributes
Details
type CustomerTypeUnassignAttributes {
customerType: CustomerType
errors: [CustomerTypeUnassignAttributesError!]!
}
Arguments
attributeIds ● [ID!]!
The IDs of the attributes to unassign. Maximum of 100 items.
customerTypeId ● ID!
ID of the customer type from which the attributes should be unassigned.
Type
CustomerTypeUnassignAttributes
Unassign attributes from a given customer type. Values already assigned to users are kept in the database, but are hidden until the attribute is assigned to the user's customer type again.
Added in Saleor 3.23.
Triggers the following webhook events:
- CUSTOMER_TYPE_UPDATED (async): A customer type was updated.