customerTypeAssignAttributes Mutation
Assign attributes to a given customer type.
Added in Saleor 3.23.
Triggers the following webhook events:
- CUSTOMER_TYPE_UPDATED (async): A customer type was updated.
Applied directives
@webhookEventsInfo(asyncEvents: [CUSTOMER_TYPE_UPDATED], syncEvents: [])
customerTypeAssignAttributes(attributeIds: [ID!]!, customerTypeId: ID!): CustomerTypeAssignAttributes
Returns
Show return type
type CustomerTypeAssignAttributes {
customerType: CustomerType
errors: [CustomerTypeAssignAttributesError!]!
}Arguments
attributeIds
attributeIds · [ID!]!
The IDs of the attributes to assign. Maximum of 100 items.
customerTypeId
customerTypeId · ID!
ID of the customer type to assign the attributes to.
Schema: Saleor 3.23.43. Download SDL.