businessUnitAssociateActivate
Activate a previously deactivated associate, restoring their ability to act within the business unit. Idempotent when already active.
Arguments
| Argument | Type | Description |
|---|---|---|
businessUnitId | ID! | |
customerId | ID! |
Returns
BusinessUnitAssociateStatusUpdateResponse!
| Field | Type | Description |
|---|---|---|
businessUnit | BusinessUnit | Updated business unit information with the modified associate status |
businessUnitErrors | [BusinessUnitAssociateStatusUpdateError!] | Error details if the associate status update failed |
Example
mutation { businessUnitAssociateActivate( businessUnitId: "bu-123" customerId: "customer-456" ) { businessUnit { id associates { items { id status } } } businessUnitErrors { ... on ValidationError { message } } }}{ "data": { "businessUnitAssociateActivate": { "businessUnit": { "id": "id-1", "associates": { "items": [ { "id": "id-1", "status": "ACTIVE" } ] } }, "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 | Not resolved |
| @evolve-framework/sfcc | Not resolved |

