Use this endpoint to update a customer’s editable top-level fields. It performs a
partial update, so only the fields you supply change.
Patch semantics:
title: omit to leave unchanged; send a new value to replace it.
expectedCloseDate: a Unix timestamp in seconds. Omit to leave unchanged, or
set clearExpectedCloseDate to true to remove the current value.
assigneeIds: a nonempty list of member IDs replaces the current assignees. An
omitted or empty list preserves them unless clearAssignees is true. A
nonempty list takes precedence over clearAssignees.
teamIds: a nonempty list of team IDs replaces the current teams. An omitted or
empty list preserves them unless clearTeams is true. A nonempty list takes
precedence over clearTeams.
Updates a customer's editable top-level fields. Only supplied fields change: omit a field to preserve it. Assignee and team lists replace the current assignments when nonempty; send the matching clear flag to remove all assignees or teams. A nonempty list takes precedence over its clear flag. Custom data fields are not modified here; use PatchCustomerDataFields for those. This operation is not idempotent and must not be blindly retried.
RequestPatchCustomerRequest
ResponsePatchCustomerResponse
PatchCustomerRequest
Field
Type
Description
id
string
Customer to update.
title
optional string
New title. Omit to leave the title unchanged.
expected_close_date
optional int64
New expected close date as a Unix timestamp in seconds. Omit to leave it unchanged; set clear_expected_close_date to remove the current value.
clear_expected_close_date
bool
Remove the customer's expected close date. Ignored when expected_close_date is supplied.
assignee_ids
repeated string
Member IDs to assign to the customer. A nonempty list replaces the current assignees. An empty or omitted list preserves them unless clear_assignees is set. A nonempty list takes precedence over clear_assignees.
clear_assignees
bool
Remove all assignees. Ignored when assignee_ids is nonempty.
team_ids
repeated string
Team IDs to assign to the customer. A nonempty list replaces the current teams. An empty or omitted list preserves them unless clear_teams is set. A nonempty list takes precedence over clear_teams.
clear_teams
bool
Remove all teams. Ignored when team_ids is nonempty.
PatchCustomerResponse
Field
Type
Description
customer
Customer
The customer after the update, projected to the fields the API key can see.
Related Types
Customer
Field
Type
Description
id
string
title
string
custom_fields
map<string, string>
Name-keyed compatibility representation; keys are not internal UUIDs.