--- title: companyLocationAssignAddress - Customer API description: Updates an address on a company location. api_version: unstable api_name: customer source_url: html: https://shopify.dev/docs/api/customer/unstable/mutations/companylocationassignaddress md: https://shopify.dev/docs/api/customer/unstable/mutations/companylocationassignaddress.md --- # company​Location​Assign​Address mutation Updates an address on a company location. ## Arguments * address [Company​Address​Input!](https://shopify.dev/docs/api/customer/unstable/input-objects/CompanyAddressInput) required The input fields to use to update the address. * address​Types [\[Company​Address​Type!\]!](https://shopify.dev/docs/api/customer/unstable/enums/CompanyAddressType) required The list of address types on the location to update. * location​Id [ID!](https://shopify.dev/docs/api/customer/unstable/scalars/ID) required The ID of the company location to update addresses on. *** ## Company​Location​Assign​Address​Payload returns * addresses [\[Company​Address!\]](https://shopify.dev/docs/api/customer/unstable/objects/CompanyAddress) The list of updated addresses on the company location. * user​Errors [\[Business​Customer​User​Error!\]!](https://shopify.dev/docs/api/customer/unstable/objects/BusinessCustomerUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### companyLocationAssignAddress reference