Skip to content

Set Customer Journey Status

Required scope: journey:write

Sets a customer’s status on one journey track. Get the trackId and statusId from List Journey Config. A customer holds at most one status per track, so this replaces any current status on the track.

Every active status applies immediately and applied is true. The response returns the customer with the new status. A status that is archived or belongs to another track is rejected with invalid_argument; a customer or track the API key cannot write is rejected with permission_denied.

pendingApproval is deprecated and always false: journey statuses no longer have approval or automation-only modes.

Generated Reference
POST /public-api/publicapi.v1.Customer/SetCustomerJourneyStatus

Sets a customer's status on a journey track. Every active status applies immediately; archived statuses or statuses of another track are rejected with invalid_argument.

Request SetCustomerJourneyStatusRequest
Response SetCustomerJourneyStatusResponse

SetCustomerJourneyStatusRequest

Field Type Description
customer_id string Customer whose journey status is being set.
track_id string Journey track the status belongs to.
status_id string Status to set on the track, from ListJourneyConfig.

SetCustomerJourneyStatusResponse

Field Type Description
customer Customer The customer after the request, showing the new status.
applied bool Always true: a status that is accepted is applied immediately.
pending_approval bool Deprecated: journey approvals were removed; always false. Kept so existing clients keep decoding.
{
"customerId": "be85f4d1-b680-4964-bf62-9828fdf4ce04",
"trackId": "4c3c9f2e-6d21-4a0b-9d0f-2b1e7c8a4d10",
"statusId": "b1f0a7d4-2c88-4e13-9a5e-6d9f0c2b3a41"
}
{
"customer": {
"id": "be85f4d1-b680-4964-bf62-9828fdf4ce04",
"title": "Solar installation lead",
"referenceNumber": "P-000456"
},
"applied": true
}