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>"
}
}
}Update an existing 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>"
}
}
}Buying trigger update input
The ID of the buying trigger to update
1"btr_1234"
The name of the buying trigger
The internal name of the buying trigger
A description of the buying trigger
Custom fields for additional buying trigger information
Show child attributes