Skip to main content

Update business partner for given id

PUT 

/biz-partners/{id}

Update business partner for given id.

Privileges:

  • biz-core.manage

Audit event:

  • biz.core.v2.biz.partners.put

Errors:

  • BIZ_CORE:PARTNER_NOTFOUND - Partner with given id not found.
  • BIZ_CORE:BIZ_SETTINGS_NOTFOUND - Biz settings with given instance_id not found.

Validation errors:

  • BIZ_CORE:PARTNER_OWNER_BP_ID_IS_NOT_VALID - Owner bp id of the Partner is not valid.
  • BIZ_CORE:OWNER_BP_ID_CANNOT_BE_EMPTY - Owner bp id cannot be empty.
  • BIZ_CORE:OWNER_BP_ID_CANNOT_BE_0 - Owner bp id cannot be 0.
  • BIZ_CORE:CO_OWNER_HAS_PARTNERS - Co-owner bp id cannot be changed for this partner because it is owner of some other partners.
  • BIZ_CORE:OWNER_BP_DOES_NOT_EXIST - Partner does not exist for given owner bp id.
  • BIZ_CORE:GIVEN_PARTNER_IS_NOT_CO_OWNER_OR_OWNER - Given partner is not co-owner or owner.
  • BIZ_CORE:CO_OWNER_HAS_PARTNERS - Co-owner bp id cannot be changed for this partner because it is owner of some other partners.
  • BIZ_CORE:OWNER_BP_DOES_NOT_EXIST - Partner does not exist for given owner bp id.
  • BIZ_CORE:GIVEN_PARTNER_IS_NOT_CO_OWNER_OR_OWNER - Given partner is not co-owner or owner.
  • BIZ_CORE:OWNER_BP_ID_CANNOT_BE_EQUAL_TO_0 - Owner bp id cannot be equal to 0.
  • BIZ_CORE:PARTNER_NAME_REQUIRED - Name of the Partner must be provided.
  • BIZ_CORE:PARTNER_NAME_OUT_OF_LIMIT - Name of the Partner cannot be longer than 150 characters.
  • BIZ_CORE:PARTNER_COUNTRY_ID_IS_NOT_VALID - Country id of the Partner is not valid.
  • BIZ_CORE:PARTNER_COUNTRY_NOT_SUPPORTED - Country of the Partner is not supported.
  • BIZ_CORE:PARTNER_COUNTRY_NOT_FOUND - Country of the Partner is not found.
  • BIZ_CORE:COUNTRY_IN_BIZ_PARTNER_MUST_BE_ACTIVE - Country in biz partner must be active.
  • BIZ_CORE:PARTNER_VAT_NUMBER_OUT_OF_LIMIT - Vat number of the Partner cannot be longer than 30 characters.
  • BIZ_CORE:PARTNER_VAT_NUMBER_AND_PARTNER_COUNTRY_MUST_BE_UNIQUE - VAT Number and Partner country must be unique.
  • BIZ_CORE:PARTNER_VAT_APPLY_NOT_SUPPORTED - Vat apply of the Partner is not supported.
  • BIZ_CORE:PARTNER_REG_NUMBER_OUT_OF_LIMIT - Reg number of the Partner cannot be longer than 30 characters.
  • BIZ_CORE:PARTNER_LEGAL_FORM_ID_IS_NOT_VALID - Legal form id of the Partner is not valid.
  • BIZ_CORE:PARTNER_LEGAL_FORM_NOT_FOUND - Legal form of the Partner is not found.
  • BIZ_CORE:PARTNER_LEGAL_FORM_NOT_ACTIVE - Legal form of the Partner is not active.
  • BIZ_CORE:PARTNER_LANGUAGE_NOT_FOUND - Language of the Partner is not found.
  • BIZ_CORE:PARTNER_LANGUAGE_NOT_ACTIVE - Language of the Partner is not active.
  • BIZ_CORE:PARTNER_BRIEF_NAME_REQUIRED - Brief name of the Partner must be provided.
  • BIZ_CORE:PARTNER_BRIEF_NAME_OUT_OF_LIMIT - Brief name of the Partner cannot be longer than 50 characters.
  • BIZ_CORE:PARTNER_EXTERNAL_REF_OUT_OF_LIMIT - External ref of the Partner cannot be longer than 100 characters.
  • BIZ_CORE:PARTNER_PARTNER_TYPE_ID_IS_NOT_VALID - Partner type id of the Partner is not valid.
  • BIZ_CORE:PARTNER_PARTNER_TYPE_NOT_FOUND - Partner type of the Partner is not found.
  • BIZ_CORE:PARTNER_PARTNER_TYPE_NOT_ACTIVE - Partner type of the Partner is not active.
  • BIZ_CORE:PARTNER_IS_INTERCOMPANY_NOT_SUPPORTED - Is intercompany of the Partner is not supported.
  • BIZ_CORE:PARTNER_DUNS_NUMBER_OUT_OF_LIMIT - Duns number of the Partner cannot be longer than 20 characters.
  • BIZ_CORE:PARTNER_FOUNDING_DATE_IS_NOT_VALID - Founding date of the Partner is not valid.
  • BIZ_CORE:PARTNER_FOUNDING_DATE_SHOULD_BE_TODAY_OR_LESS - Founding date of the Partner should be today or less.
  • BIZ_CORE:PARTNER_INDUSTRY_ID_IS_NOT_VALID - Industry id of the Partner is not valid.
  • BIZ_CORE:PARTNER_INDUSTRY_NOT_FOUND - Industry of the Partner is not found.
  • BIZ_CORE:PARTNER_INDUSTRY_NOT_ACTIVE - Industry of the Partner is not active.
  • BIZ_CORE:PARTNER_COMPANY_SIZE_ID_IS_NOT_VALID - Company size id of the Partner is not valid.
  • BIZ_CORE:PARTNER_COMPANY_SIZE_NOT_FOUND - Company size of the Partner is not found.
  • BIZ_CORE:PARTNER_COMPANY_SIZE_NOT_ACTIVE - Company size of the Partner is not active.
  • BIZ_CORE:PARTNER_E_MAIL_OUT_OF_LIMIT - Email of the Partner cannot be longer than 255 characters.
  • BIZ_CORE:PARTNER_E_MAIL_NOT_VALID - Email of the Partner is not valid.
  • BIZ_CORE:PARTNER_PHONE_OUT_OF_LIMIT - Phone of the Partner cannot be longer than 30 characters.
  • BIZ_CORE:PARTNER_PHONE_NOT_VALID - Phone of the Partner is not valid.
  • BIZ_CORE:PARTNER_FAX_OUT_OF_LIMIT - Fax of the Partner cannot be longer than 30 characters.
  • BIZ_CORE:PARTNER_FAX_NOT_VALID - Fax of the Partner is not valid.
  • BIZ_CORE:PARTNER_STATUS_ACTIVE_DT_IS_NOT_VALID - Status active dt of the Partner is not valid.
  • BIZ_CORE:SECTION_DETAILS_NOT_FOUND - Section details not found.
  • BIZ_CORE:ATTRIBUTE_NOT_FOUND - Attribute not found.
  • BIZ_CORE:ATTRIBUTE_VALUE_CANNOT_BE_LONGER_THAN_1000_CHARACTERS - Attribute value cannot be longer than 1000 characters.
  • BIZ_CORE:CUSTOM_ATTR_NAME_CANNOT_BE_LONGER_THAN_50_CHARACTERS - Custom attr name cannot be longer than 50 characters.

Request

Responses

Business partner updated successfully