businessUnitAssociateRemove
Remove an associate from the business unit
Arguments
| Argument | Type | Description |
|---|---|---|
businessUnitId | ID! | |
customerId | ID! |
Returns
BusinessUnitAssociateRemoveResponse!
| Field | Type | Description |
|---|---|---|
businessUnit | BusinessUnit | Updated 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 } } }}{ "data": { "businessUnitAssociateRemove": { "businessUnit": { "id": "id-1", "associates": { "items": [ { "id": "id-1", "email": "jane@example.com" } ] } }, "businessUnitErrors": [ { "message": "Example" } ] } }}The query is the example the schema documents. The response shows its shape with placeholder values.
Served by
| @evolve-framework/commercetools | Resolved |
| @evolve-framework/medusa | Resolved |
| @evolve-framework/sfcc | Stub: answers Not implemented |
Used by
The storefront packages that send it, in these GraphQL documents:
- @evolve-storefront/feature-organization:
BusinessUnitAssociateRemove

