cliDeterministic

Update gtm asset candidate

pipeline update-gtm-asset-candidate

Edit an unapproved GTM asset candidate, or create a superseding version when the selected asset is immutable.

Parameters

workspaceIdrequired
string
No description.
offeringIdrequired
string
No description.
kindrequired
string
No description.
offer | lead_magnet
idrequired
string
No description.
expectedUpdatedAtrequired
string
No description.
candidaterequired
object
No description.
offerType
string
No description.
direct_offer | front_end_offer | trial

Example

CLI commandbash
pipeline update-gtm-asset-candidate \
--workspace-id "00000000-0000-4000-8000-000000000000" \
--offering-id "00000000-0000-4000-8000-000000000000" \
--kind "offer" \
--id "00000000-0000-4000-8000-000000000000" \
--expected-updated-at "2026-01-01T00:00:00.000Z" \
--candidate-json '{}'

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"asset": {
"type": "object"
}
},
"required": [
"asset"
]
}

Exit codes

1
Invalid input or local configuration.
2
The API or tool returned an error.
3
Authentication failed.
4
A network request failed.
Pipeline CLI documentation | Pipeline