Skip to main content

Update Biz partner address

PUT 

/biz-partners/{id}/addresses/{addressId}

Update Biz partner address.

Privileges: biz-core.manage

Audit event:

  • biz.core.v2.biz.partner.address.update

Errors:

  • BIZ_CORE:BIZ_PARTNER_NOT_FOUND - Biz partner not found.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_NOT_FOUND - Biz partner address not found.\
  • BIZ_CORE:ADDRESS_TYPE_NOTFOUND - Address type not found.

Validation errors:

  • BIZ_CORE:ADDRESS_TYPE_LEGAL_NOT_FOUND - Address type legal not found.
  • BIZ_CORE:ADDRESS_TYPE_HEADQUARTER_NOT_FOUND - Address type headquarter not found.
  • BIZ_CORE:ADDRESS_TYPE_INVOICE_NOT_FOUND - Address type invoice not found.
  • BIZ_CORE:COUNTRY_NOT_VALID - Country not valid.
  • BIZ_CORE:COUNTRY_NOT_FOUND - Country not found.
  • BIZ_CORE:COUNTRY_IN_BIZ_PARTNER_ADDRESS_MUST_BE_ACTIVE - Country in biz partner address must be active.
  • BIZ_CORE:COUNTRY_OF_INVOICE_ADDRESS_CANNOT_BE_CHANGED - Country of invoice address cannot be changed.
  • BIZ_CORE:COUNTRY_IN_BIZ_PARTNER_ADDRESS_MUST_BE_PROVIDED - Country in biz partner address must be provided.
  • BIZ_CORE:ADDRESS_TYPE_NOT_VALID - Address type not valid.
  • BIZ_CORE:ADDRESS_TYPE_NOT_FOUND - Address type not found.
  • BIZ_CORE:ADDRESS_TYPE_CHANGING_IS_NOT_ALLOWED_FOR_EXISTING_ADDRESS - Changing address type is not allowed for existing address.
  • BIZ_CORE:CHANGING_ADDRESS_COUNTRY_IS_NOT_ALLOWED_FOR_INVOICE_ADDRESS - Changing address country is not allowed for invoice address.
  • BIZ_CORE:ADDRESS_TYPE_IS_NOT_VALID - Address type is not valid.
  • BIZ_CORE:BIZ_PARTNER_NAME_MUST_BE_PROVIDED_FOR_PARTNERS_WHO_IS_NOT_IN_STATUS_DRAFT - Biz Partner name must be provided for partners who is not in status draft.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_NAME_CANNOT_BE_LONGER_THAN_150_CHARACTERS - Biz Partner Address name cannot be longer than 150 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_BRANCH_NAME_CANNOT_BE_LONGER_THAN_150_CHARACTERS - Biz Partner Address branch name cannot be longer than 150 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_MUST_BE_PROVIDED_FOR_PARTNERS_WHO_IS_NOT_IN_STATUS_DRAFT - Biz Partner Address must be provided for partners who is not in status draft.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_CANNOT_BE_LONGER_THAN_255_CHARACTERS - Biz Partner Address cannot be longer than 255 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_PO_BOX_CANNOT_BE_LONGER_THAN_20_CHARACTERS - Biz Partner Address po box cannot be longer than 20 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_POSTAL_CODE_CANNOT_BE_LONGER_THAN_20_CHARACTERS - Biz Partner Address postal code cannot be longer than 20 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_CITY_MUST_BE_PROVIDED_FOR_PARTNERS_WHO_IS_NOT_IN_STATUS_DRAFT - Biz Partner Address city must be provided for partners who is not in status draft.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_CITY_CANNOT_BE_LONGER_THAN_100_CHARACTERS - Biz Partner Address city cannot be longer than 100 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_PROVINCE_CANNOT_BE_LONGER_THAN_100_CHARACTERS - Biz Partner Address province cannot be longer than 100 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_ATTN_PERSON_CANNOT_BE_LONGER_THAN_100_CHARACTERS - Biz Partner Address attn person cannot be longer than 100 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_E_MAIL_NOT_VALID - Biz Partner Address email not valid.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_E_MAIL_CANNOT_BE_LONGER_THAN_255_CHARACTERS - Biz Partner Address email cannot be longer than 255 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_PHONE_CANNOT_BE_LONGER_THAN_30_CHARACTERS - Biz Partner Address phone cannot be longer than 30 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_PHONE_NOT_VALID - Biz Partner Address phone not valid.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_FAX_CANNOT_BE_LONGER_THAN_30_CHARACTERS - Biz Partner Address fax cannot be longer than 30 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_FAX_NOT_VALID - Biz Partner Address fax not valid.
  • BIZ_CORE:NO_COPY_ADDRESS_TWICE - No copy address twice.
  • BIZ_CORE:ADDRESS_TYPE_IS_ALREADY_SET_CANNOT_BE_IN_THE_LIST_OF_COPIES - Address type is already set, can not be in the list of copies.
  • BIZ_CORE:ADDRESS_TYPE_LEGAL_ADDRESS_CANNOT_BE_A_COPY_ADDRESS - Legal address cannot be a copy address.
  • BIZ_CORE:ADDRESS_TYPE_HEADQUARTER_CANNOT_BE_A_COPY_ADDRESS_EXCEPT_OF_A_LEGAL_ADDRESS - Head quarter address can not be a copy address except from a legal address.
  • BIZ_CORE:ADDRESS_TYPE_CANNOT_BE_CHANGED - Address type cannot be changed.
  • BIZ_CORE:ADDRESS_TYPE_CANNOT_BE_ZERO - Address type cannot be zero.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_COPY_TO_ADDRESSES_NAME_CANNOT_BE_LONGER_THAN_150_CHARACTERS - Biz Partner Address copy to addresses name cannot be longer than 150 characters.
  • BIZ_CORE:BIZ_PARTNER_ADDRESS_COPY_TO_ADDRESSES_BRANCH_NAME_CANNOT_BE_LONGER_THAN_150_CHARACTERS - Biz Partner Address copy to addresses branch name cannot be longer than 150 characters.

Request

Responses

Biz partner address updated successfully