companyAddressCreate
Create a new address for a company.
Establishes a new address record associated with the specified company including headquarters, branch offices, shipping locations, and billing addresses. The address will be available for company operations immediately.
Possible errors:
- ADDRESS_CREATE_ERROR: Failed to create the company address in the backend service
- ADDRESS_UNKNOWN_ERROR: Unknown error occurred during company address creation
- FORBIDDEN: Insufficient permissions to create company addresses
AUTH: Role=[user.OWNER] OR (('user is authenticated') AND ('companyId(s) if present in input matches JWT'))
companyAddressCreate(
input: CompanyAddressCreateInput!
): Address!
Arguments
companyAddressCreate.input
● CompanyAddressCreateInput!
non-null input
Company address creation data including address details and type.
Contains company ID, address information, type designation, and all data needed to create a functional company address.