Skip to content

businessUnitAssociateRemove

Mutationin Business units

Remove an associate from the business unit

Arguments

ArgumentTypeDescription
businessUnitIdID!
customerIdID!

Returns

BusinessUnitAssociateRemoveResponse!

FieldTypeDescription
businessUnitBusinessUnitUpdated business unit information after associate removal
businessUnitErrors[BusinessUnitAssociateRemoveError!]Error details if associate removal failed

Example

mutation {
businessUnitAssociateRemove(
businessUnitId: "bu-123"
customerId: "customer-456"
) {
businessUnit {
id
associates {
items {
id
email
}
}
}
businessUnitErrors {
... on ValidationError {
message
}
}
}
}

The query is the example the schema documents. The response shows its shape with placeholder values.

Served by

@evolve-framework/commercetoolsResolved
@evolve-framework/medusaResolved
@evolve-framework/sfccStub: answers Not implemented

Used by

The storefront packages that send it, in these GraphQL documents: