Leads

Update multiple leads

Update multiple leads.

patch/leads

Request

  • Base URL
    https://api.surense.com/api/v1
  • URL
    https://api.surense.com/api/v1/leads
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://api.surense.com/oauth/token scopes: leads:update

Request body

leadsstring[] required

Lead IDs

typeIdstring

Lead type ID

ownerIdstring

Owner ID

assigneeIdstring

Assignee ID

managerIdstring

Manager ID

statusIdstring

Lead status ID

sourceIdstring

Source ID

dueAtstring

Due date

dueAtTimeSetboolean

Whether due time is set

Example request

{
  "leads": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "typeId": "123e4567-e89b-12d3-a456-426614174000",
  "ownerId": "123e4567-e89b-12d3-a456-426614174000",
  "assigneeId": "123e4567-e89b-12d3-a456-426614174000",
  "managerId": "123e4567-e89b-12d3-a456-426614174000",
  "statusId": "123e4567-e89b-12d3-a456-426614174000",
  "sourceId": "123e4567-e89b-12d3-a456-426614174000",
  "dueAt": "2024-01-15T10:00:00Z",
  "dueAtTimeSet": true
}

Response

OK

Changes

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