businessUnitAddressUpdate
Update an existing address in a business unit
Arguments
| Argument | Type | Description |
|---|---|---|
businessUnitId | ID! | |
addressId | ID! | |
address | AddressInput! |
Returns
BusinessUnitAddressUpdateResponse!
| Field | Type | Description |
|---|---|---|
businessUnit | BusinessUnit | Updated business unit information with modified address |
businessUnitErrors | [BusinessUnitAddressUpdateError!] | Error details if address update failed |
Example
mutation { businessUnitAddressUpdate( businessUnitId: "bu-123" addressId: "addr-456" address: { givenName: "Updated Business" familyName: "Contact" streetName: "New Business Street" streetNumber: "200" city: "Rotterdam" postalCode: "2000BB" country: "NL" } ) { businessUnit { id addresses { items { id givenName familyName city } } } businessUnitErrors { ... on ValidationError { message } } }}{ "data": { "businessUnitAddressUpdate": { "businessUnit": { "id": "id-1", "addresses": { "items": [ { "id": "id-1", "givenName": "Example", "familyName": "Example", "city": "Example" } ] } }, "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 | Not resolved |
Used by
The storefront packages that send it, in these GraphQL documents:
- @evolve-storefront/feature-organization:
BusinessUnitAddressUpdate

