Contacts

Patch contact by id

patch/v1/contacts/:id

Request

  • Base URL: https://api.dayschedule.com/v1
  • URL: https://api.dayschedule.com/v1/v1/contacts/:id
  • Auth: none declared

Path parameters

idnumber required

Request body

user_idnumber nullable
namestring
emailstring email nullable

Either email or phone is required

phonestring nullable

Either email or phone is required

citystring nullable
countrystring nullable
avatarstring nullable
companystring nullable
followupstring date-time nullable
sourcestring nullable
ratingnumber nullable
tagsstring[] nullable

Example request

{
  "name": "Vikash Rathee",
  "email": "vikash.rathee@dayschedule.com",
  "phone": "+1234567890",
  "city": "New York",
  "country": "US",
  "avatar": "https://example.com/avatar.jpg",
  "company": "Example Inc.",
  "followup": "1970-01-01T00:00:00.000Z",
  "source": "Referral",
  "rating": 5,
  "tags": [
    "important",
    "lead"
  ],
  "custom_fields": [
    {
      "name": "Custom Field 1",
      "value": "Value 1"
    },
    {
      "name": "Custom Field 2",
      "value": "Value 2"
    }
  ]
}

Response

OK

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.