BoldSales

API Documentation

Update a pipeline record

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

Updates one or more field values for an existing pipeline record. Supports updating deal information, stage progression, financial data, and contact associations.

Code snippet

curl -X 'PATCH' \
  'https://{yourdomain}/api/v1/pipelines/records/{recordId}' \
  -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": {
      "stage": {
        "id": 11584
      },
      "value": 285000,
      "closingDate": "2025-01-31T23:59:59.000Z",
      "priority": {
        "id": 2448
      },
      "cf_decision_timeline": "2026-12-17"
    }
  }'

Path parameters

recordIdintegerRequiredThe unique identifier of the pipeline record to update.

Query parameters

skipValidationbooleanA flag indicating whether to bypass specific validations during pipeline record update. If set to true, the system skips checks for required fields, conditional logic, and field dependencies. When false (or unspecified), all standard validations are applied.

Request body

namestringName of the pipeline record.

stageobject

Current stage of the pipeline record in the sales process.

idintegerRequiredUnique identifier of the pipeline stage option.
descriptionstringDetailed description or notes about the pipeline record and deal specifics.
nextStepstringNext action or step required to advance the pipeline record forward.

ownerobject

Owner assignment for the pipeline record.

idintegerRequiredUnique identifier of the user who owns this pipeline record.

teamobject

Represents the team whose member can be assigned as the owner of the pipeline record.

idintegerRequiredThe unique identifier of the team.
valuenumberMonetary value or deal size associated with the pipeline record.

sourceobject

Source through which this pipeline record was acquired or originated.

idintegerRequiredUnique identifier of the source option.

priorityobject

Priority level assigned to this pipeline record for resource allocation.

idintegerRequiredUnique identifier of the priority level option.
closedLostReasonstringReason why the deal was marked as closed-lost, if applicable.
closedWonReasonstringReason why the deal was marked as closed-won, if applicable.
closingDatestringExpected or actual closing date for the pipeline record in ISO 8601 format.

companyobject

Company associated with this pipeline record.

idintegerRequiredUnique identifier of the associated company.
orderStartDatestringStart date for the order or contract in ISO 8601 format.
orderEndDatestringEnd date for the order or contract in ISO 8601 format.
contractStartDatestringContract start date in ISO 8601 format for service agreements.
contractEndDatestringContract end date in ISO 8601 format for service agreements.
contractTermnumberDuration or term of the contract.

contactsarray

List of contacts associated with this pipeline record.

idintegerRequiredUnique identifier of the associated contact.
isPrimarybooleanIndicates if this is the primary contact for the pipeline record.
cf_decision_timelinedateCustom field defined for the pipeline module. Pass a custom field using its API name, which always begins with the cf_ prefix. The value must match the data type configured for the custom field.

Example response

200 Success

{
  "message": "Pipeline record updated successfully.",
  "data": {
    "id": 1234
  }
}