Update PartnerType
PUT/partner-types/{id}
Update PartnerType data by id.
Privileges:
- bp-settings-lists.manage
Audit event:
- biz.core.v2.partner.type.update
Errors:
- BIZ_CORE:PARTNER_TYPE_NOTFOUND - Partner type with given id not found.
Validation errors:
- BIZ_CORE:PARTNER_TYPE_NAME_REQUIRED - Name of the Partner type must be provided
- BIZ_CORE:PARTNER_TYPE_NAME_OUT_OF_LIMIT - Name of the Partner type cannot be longer than 50 characters.
- BIZ_CORE:PARTNER_TYPE_NAME_NOT_UNIQUE - Name of the Partner type must be unique.
- BIZ_CORE:PARTNER_TYPE_STATUS_REQUIRED - Status of the Partner type must be provided.
- BIZ_CORE:PARTNER_TYPE_STATUS_NOT_SUPPORTED - Status of the Partner type is not supported.
- BIZ_CORE:PARTNER_TYPE_FAVORITE_NOT_SUPPORTED - Favorite of the Partner type is not supported.
Request
Responses
- 200
- 404
- default
PartnerType updated
PartnerType not found
unexpected error