Skip to content

businessUnitAssociateActivate

Mutationin Business units

Activate a previously deactivated associate, restoring their ability to act within the business unit. Idempotent when already active.

Arguments

ArgumentTypeDescription
businessUnitIdID!
customerIdID!

Returns

BusinessUnitAssociateStatusUpdateResponse!

FieldTypeDescription
businessUnitBusinessUnitUpdated 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
}
}
}
}

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

Served by

@evolve-framework/commercetoolsResolved
@evolve-framework/medusaNot resolved
@evolve-framework/sfccNot resolved