v1

latestSwagger 2.02026-08-041113661.2 MB
ContactService

Update contact

put/v1beta/contacts/{id}

Path parameters

idinteger required

Object ID

Request body

api_access_enabledboolean
auth_typestring
commentsstring
company_namestring
emailstring
idinteger
innstring
is_activeboolean
kppstring
localestring
password_change_declined_atstring
rolestring
typestring
vatstring

Example request

{
  "additional_data": {
    "birth_city": "Test city",
    "birth_date": "1969-12-31",
    "social_security_number": "12326178T"
  },
  "address": {
    "city": "Test city",
    "country": "NL",
    "number": "123",
    "state": "Testprovince",
    "street": "Test street",
    "suffix": "A",
    "zipcode": "1235 XX"
  },
  "api_access_enabled": false,
  "api_client_ip_list": {
    "allow": [
      "127.0.0.1"
    ],
    "deny": [
      "127.0.0.1"
    ]
  },
  "auth_type": "",
  "comments": "",
  "company_name": "",
  "email": "",
  "id": 123456789,
  "inn": "",
  "is_active": false,
  "kpp": "",
  "locale": "",
  "name": {
    "first_name": "Test",
    "full_name": "Test Person",
    "initials": "T P",
    "last_name": "Person",
    "prefix": "Mr"
  },
  "password_change_declined_at": "",
  "phone": {
    "area_code": "111",
    "country_code": "+03",
    "subscriber_number": "123456"
  },
  "rcp_client_ip_list": {
    "allow": [
      "127.0.0.1"
    ],
    "deny": [
      "127.0.0.1"
    ]
  },
  "role": "",
  "type": "",
  "vat": ""
}

Response

A successful response.

codeinteger
descstring
maintenanceboolean

Example response

{
  "code": 0,
  "data": {
    "success": false
  },
  "desc": ""
}