Skip to main content
POST
/
api
/
v2
/
buying-trigger
/
update
Update Buying Trigger
curl --request POST \
  --url https://app.octavehq.com/api/v2/buying-trigger/update \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "oId": "btr_1234",
  "name": "<string>",
  "internalName": "<string>",
  "description": "<string>",
  "whyThisCreatesUrgency": [
    "<string>"
  ],
  "whoFeelsThisMost": [
    "<string>"
  ],
  "whatsTheCostOfInaction": [
    "<string>"
  ],
  "howWeHelpInThisMoment": [
    "<string>"
  ],
  "customFields": [
    {
      "title": "<string>",
      "value": [
        "<string>"
      ]
    }
  ]
}
'
{
  "_metadata": {
    "requestId": "requestId",
    "timestamp": "2021-01-01T00:00:00.000Z",
    "usage": 0,
    "message": "message"
  },
  "data": {
    "oId": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "name": "<string>",
    "internalName": "<string>",
    "description": "<string>",
    "deletedAt": "<string>",
    "archivedAt": "<string>",
    "active": true,
    "data": {
      "whyThisCreatesUrgency": [
        "<string>"
      ],
      "whoFeelsThisMost": [
        "<string>"
      ],
      "whatsTheCostOfInaction": [
        "<string>"
      ],
      "howWeHelpInThisMoment": [
        "<string>"
      ],
      "customFields": [
        {
          "title": "<string>",
          "value": [
            "<string>"
          ]
        }
      ]
    },
    "user": {
      "oId": "<string>",
      "firstName": "John",
      "lastName": "Doe"
    },
    "workspace": {
      "oId": "<string>"
    }
  }
}

Authorizations

api_key
string
header
required

Body

application/json

Buying trigger update input

oId
string
required

The ID of the buying trigger to update

Minimum string length: 1
Example:

"btr_1234"

name
string

The name of the buying trigger

internalName
string

The internal name of the buying trigger

description
string

A description of the buying trigger

whyThisCreatesUrgency
string[]
whoFeelsThisMost
string[]
whatsTheCostOfInaction
string[]
howWeHelpInThisMoment
string[]
customFields
object[]

Custom fields for additional buying trigger information

Response

Buying trigger updated successfully

_metadata
object
required
data
object
required