Skip to content

businessUnitAddressDelete

Mutationin Business units

Remove an address from a business unit

Arguments

ArgumentTypeDescription
businessUnitIdID!
addressIdID!

Returns

BusinessUnitAddressDeleteResponse!

FieldTypeDescription
businessUnitBusinessUnitUpdated business unit information after address deletion
businessUnitErrors[BusinessUnitAddressDeleteError!]Error details if address deletion failed

Example

mutation {
businessUnitAddressDelete(
businessUnitId: "bu-123"
addressId: "addr-456"
) {
businessUnit {
id
addresses {
items {
id
city
}
}
}
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/sfccNot resolved

Used by

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