BoldSales

API Documentation

Update a pipeline record link

patch/api/v1/pipelines/records/{recordId}/links/{id}

Updates the details of an existing link associated with a pipeline record. You can modify the link's name and the URL it points to.

Code snippet

curl -X 'PATCH' \
  'https://{yourdomain}/api/v1/pipelines/records/{recordId}/links/{id}' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}' \
  -H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
  -d '{
    "data": {
      "name": "Company Website",
      "url": "https://www.example.com"
    }
  }'

Path parameters

recordIdintegerRequiredThe unique identifier of the pipeline record with which the link is associated.
idintegerRequiredThe unique identifier of the link to be updated.

Request body

namestringThe display name of the link used for identification purposes.
urlstringThe URL to which the link points. Must be a valid HTTP or HTTPS URL.

Example response

200 Success

{
  "message": "Link updated successfully.",
  "data": {
    "id": 1
  }
}