Skip to main content

Update PartnerAttribute data

PUT 

/partner-attributes/{id}

Update PartnerAttribute data.

Privileges:

  • bp-settings-custom-fields.manage

Audit event:

  • biz.core.v2.partner.attribute.update

Errors:

  • BIZ_CORE:PARTNER_ATTRIBUTE_NOT_FOUND - Partner attribute not found.

Validation errors:

  • BIZ_CORE:PARTNER_ATTRIBUTE_CUSTOM_ATTR_NAME_OUT_OF_LIMIT - Custom attr name of the Partner attribute cannot be longer than 50 characters.
  • BIZ_CORE:PARTNER_ATTRIBUTE_ATTRIBUTE_VALUE_IS_LONGER_THAN_255_BUT_JSON_IS_NOT_VALID - Attribute value of the Partner attribute is longer than 255 but JSON is not valid.
  • BIZ_CORE:PARTNER_ATTRIBUTE_JSON_IS_NOT_VALID - Json value of the Partner attribute is not valid.
  • BIZ_CORE:PARTNER_ATTRIBUTE_JSON_VALUE_AND_ATTRIBUTE_VALUE_CANNOT_BE_EMPTY - Json value and attribute value of the Partner attribute can not be empty.
  • BIZ_CORE:PARTNER_ATTRIBUTE_ATTRIBUTE_SECTION_NOT_SUPPORTED - Attribute section of the Partner attribute is not supported.
  • BIZ_CORE:PARTNER_ATTRIBUTE_ATTRIBUTE_SECTION_NOT_ACTIVE - Attribute section of the Partner attribute is not active.
  • BIZ_CORE:PARTNER_ATTRIBUTE_BIZ_PARTNER_NOT_FOUND - Biz partner of the Partner attribute is not found.

Request

Responses

PartnerAttribute updated successfully