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.
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.
RequestSetCustomerJourneyStatusRequest
ResponseSetCustomerJourneyStatusResponse
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.
Related Types
Customer
Field
Type
Description
id
string
title
string
custom_fields
map<string, string>
Name-keyed compatibility representation; keys are not internal UUIDs.
reference_number
string
created_at
int64
updated_at
int64
kind
string
"prospect" until the customer buys (a confirmed quote, a payment that received money or a work order), then "customer". Its prospects are in ListCustomerProspects.
owner
CustomerOwner
Deprecated: customers no longer have an owner of their own, so this is always unset. Quotes and orders keep their owner.
prospect_owner
CustomerOwner
The owner of its current prospect (its newest open prospect, else the one it was won by); unset when none. Each prospect has its own owner: see ListCustomerProspects.
contact_attempt_count
int32
Contact attempts on the customer: how many, and the latest.
last_contact_attempt
ContactAttemptSummary
expected_close_date
optional int64
As set by CreateCustomer and PatchCustomer: the expected close date (Unix seconds; unset when none) and the assigned members and teams.
assignee_ids
repeated string
team_ids
repeated string
CustomerOwner
Field
Type
member_id
string
first_name
string
last_name
string
ContactAttemptSummary
Field
Type
Description
occurred_at
int64
Unix seconds.
channel
string
phone, email, whatsapp, sms or in_person.
outcome
string
The result's name; empty when the attempt has no result.
outcome_kind
string
follow_up, negative or positive; empty without a result.