v1

OpenAPI 3.0.02026-08-04109109370.6 KB
Competitors
Leads

Update a lead-competitor relationship

patch/competitormaps/{id}

Path parameters

idstring required

The ID of the lead-competitor relationship

Request body

op'add' | 'remove' | 'replace' | 'move' | 'copy'

The operation to perform

pathstring

The path to the attribute to patch. Can be used to update custom fields as well, such as using /leads/0/{customFieldName}

valuestring

The value to set, can be various types, please refer to our guide on JSON Patch for more information

Example request

[
  {
    "op": "add",
    "path": "/leads/0/links/accounts/337-accounts",
    "value": "337-accounts"
  }
]

Response

No Content