---
updatedAt: 2025-06-12T22:44:52.000Z
agentTools:
  projectIndex: https://developer.cequens.com/llms.txt
---

# Update Contact

update Contact endpoint to update a single contact. When you send a request using this API, the API will update a single contact by Id

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "console-v2",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://apis.cequens.net/console/v2/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/contacts/{id}": {
      "put": {
        "summary": "Update Contact",
        "description": "update Contact endpoint to update a single contact. When you send a request using this API, the API will update a single contact by Id",
        "operationId": "create-contact-copy",
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "description": "Contact Id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "number"
                ],
                "properties": {
                  "number": {
                    "type": "string",
                    "description": "Contact phone number."
                  },
                  "arabicFirstName": {
                    "type": "string",
                    "description": "Arabic First Name"
                  },
                  "arabicLastName": {
                    "type": "string",
                    "description": "Arabic Last Name"
                  },
                  "englishFirstName": {
                    "type": "string",
                    "description": "English First Name"
                  },
                  "englishLastName": {
                    "type": "string",
                    "description": "English Last Name"
                  },
                  "country": {
                    "type": "string",
                    "description": "Country"
                  },
                  "zone": {
                    "type": "string",
                    "description": "Zone"
                  },
                  "district": {
                    "type": "string",
                    "description": "District"
                  },
                  "city": {
                    "type": "string",
                    "description": "City"
                  },
                  "zipcode": {
                    "type": "string",
                    "description": "Zip code"
                  },
                  "genderId": {
                    "type": "string",
                    "description": "Gender Ids [0: UNKNOWN, 1: Male, 2: Female]",
                    "enum": [
                      "0",
                      "1",
                      "2"
                    ]
                  },
                  "nationality": {
                    "type": "string",
                    "description": "Nationality"
                  },
                  "birthDate": {
                    "type": "string",
                    "format": "date"
                  },
                  "languageId": {
                    "type": "string",
                    "description": "1: Arabic | 2: English",
                    "enum": [
                      "1",
                      "2"
                    ]
                  },
                  "income": {
                    "type": "number",
                    "description": "Income",
                    "format": "double"
                  },
                  "occupation": {
                    "type": "string",
                    "description": "Occupation"
                  },
                  "maritalStatusId": {
                    "type": "string",
                    "description": "Marital status Id [0: Unknown , 1: Single , 2: Married, 3: Widowed , 4: Divorced]",
                    "enum": [
                      "0",
                      "1",
                      "2",
                      "3",
                      "4"
                    ]
                  },
                  "hasKids": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "string",
                    "description": "E-Mail"
                  },
                  "businessFunction": {
                    "type": "string",
                    "description": "Business Function"
                  },
                  "tag3": {
                    "type": "string",
                    "description": "custom tag"
                  },
                  "tag1": {
                    "type": "string",
                    "description": "custom tag"
                  },
                  "tag2": {
                    "type": "string",
                    "description": "custom tag"
                  },
                  "department": {
                    "type": "string"
                  },
                  "address": {
                    "type": "string"
                  },
                  "businessSector": {
                    "type": "string",
                    "description": "Business Sector"
                  },
                  "groups": {
                    "type": "array",
                    "description": "comma separated values for group Id",
                    "items": {
                      "type": "string"
                    }
                  },
                  "customFields": {
                    "type": "array",
                    "description": "array of key value pair for custom attributes",
                    "items": {
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "value": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "OK"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\n    \"meta\": {\n\n        \"version\": \"1.0.0\"\n\n    },\n\n    \"errors\": [\n\n        {\n\n            \"code\": 400,\n\n            \"title\": \"Missing or Invalid body property: (number)\",\n\n            \"details\": \"number must be a number string, Number length must be from 7-19 numbers.\"\n\n        }\n\n    ]\n\n}"
                  }
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\n    \"meta\": {\n\n        \"version\": \"1.0.0\"\n\n    },\n\n    \"errors\": \"Something went wrong\"\n\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl --location --request PUT 'https://apis.cequens.net/console/v2/contacts/xxxxxxxxxxxxxxxxxxxxxxxx' \\\n\n--header 'Authorization: bearer xxxxxxxxxxxxxxx' \\\n\n--header 'Content-Type: application/json' \\\n\n--data-raw '{\n\n  \"number\": \"phone number\",\n\n  \"englishFirstName\": \"text\",\n\n  \"englishLastName\": \"text\",\n\n  \"email\": \"text\",\n\n  \"groups\": [\n\n    \"text\"\n\n  ]\n\n}'\n"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```