Update Biz partner contact status

PUT/biz-partners/{id}/contacts-status/{contactId}

Update Biz partner contact status.

Privileges: biz-core.manage

Audit event:

  • biz.core.v2.biz.partner.contact.status.update

Errors:

  • BIZ_CORE:BIZ_PARTNER_CONTACT_NOT_FOUND - Biz partner contact not found.

Validation errors:

  • BIZ_CORE:CONTACT_STATUS_MUST_BE_PROVIDED - Contact status must be provided.
  • BIZ_CORE:CONTACT_ALREADY_HAS_STATUS_<status> - Contact already has status <status>.
  • BIZ_CORE:CONTACT_STATUS_NOT_SUPPORTED - Contact status not supported.
Base URL
https://api-cpaas.sms.es/biz-core/v2
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

idintegerrequired

id.

contactIdintegerrequired

Contact ID.

Body

application/json
statusstring
Possible values: active, inactive

Request example

cURL · cURL
curl -L -X PUT "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}/contacts-status/{contactId}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>" \
  --data-raw '{
  "status": "active"
}'

Responses

Biz partner contact status updated successfully

application/json
addressstring
addressIdinteger
birthdaystring (date)
bizPartnerIdinteger
citystring
contactTypeIdinteger
contactTypeNamestring
countryIdinteger
countryNamestring
customPositionNamestring
customTypeNamestring
departmentIdinteger
departmentNamestring
eMailBusinessstring
eMailPrivatestring
extraAttributesobject
Show child attributes
dataobject[]
Show child attributes
attributeCodeNamestring
attributeIdinteger
attributeNamestring
attributeTypeIdinteger
attributeValuestring
customAttrNamestring
idinteger
sectionIdinteger
faxstring
firstNamestring
genderstring
Possible values: male, female, unknown
idinteger
languagestring
languageNamestring
lastNamestring
mobilestring
mobileBusinessstring
nickNamestring
notestring
partnerBriefNamestring
partnerNamestring
phoneOfficeCentralstring
phoneOfficeDirectstring
picturestring
positionIdinteger
positionNamestring
postalCodestring
salutationstring
Possible values: formal, informal
skypestring
statusstring
Possible values: active, inactive
statusDtstring (date-time)
titelstring
Example response
{
  "address": "string",
  "addressId": 0,
  "birthday": "2026-01-01",
  "bizPartnerId": 0,
  "city": "string",
  "contactTypeId": 0,
  "contactTypeName": "string",
  "countryId": 0,
  "countryName": "string",
  "customPositionName": "string",
  "customTypeName": "string",
  "departmentId": 0,
  "departmentName": "string",
  "eMailBusiness": "string",
  "eMailPrivate": "string",
  "extraAttributes": {
    "data": [
      {
        "attributeCodeName": "string",
        "attributeId": 0,
        "attributeName": "string",
        "attributeTypeId": 0,
        "attributeValue": "string",
        "customAttrName": "string",
        "id": 0,
        "sectionId": 0
      }
    ]
  },
  "fax": "string",
  "firstName": "string",
  "gender": "male",
  "id": 0,
  "language": "string",
  "languageName": "string",
  "lastName": "string",
  "mobile": "string",
  "mobileBusiness": "string",
  "nickName": "string",
  "note": "string",
  "partnerBriefName": "string",
  "partnerName": "string",
  "phoneOfficeCentral": "string",
  "phoneOfficeDirect": "string",
  "picture": "string",
  "positionId": 0,
  "positionName": "string",
  "postalCode": "string",
  "salutation": "formal",
  "skype": "string",
  "status": "active",
  "statusDt": "2026-01-01T12:00:00Z",
  "titel": "string"
}