Update one Customer Relationship
Updates relationship contact mirrors by relationship id. firstName, lastName, and phone change the shared Customer only when this organization alone holds that Customer and it has no portal account. Otherwise they are saved on this relationship, read back as displayName and phone, and the shared Customer and every other organization stay as they were. ownerTeamMemberId is create-only here and is rejected on PATCH because Organization API v1 does not expose the staff reassignment action. Required scope: customers:write.
Updates relationship contact mirrors by relationship id. firstName, lastName, and phone change the shared Customer only when this organization alone holds that Customer and it has no portal account. Otherwise they are saved on this relationship, read back as displayName and phone, and the shared Customer and every other organization stay as they were. ownerTeamMemberId is create-only here and is rejected on PATCH because Organization API v1 does not expose the staff reassignment action. Required scope: customers:write.
Update one Customer Relationship. Use an organization API key with customers:write. Check the response envelope and meta.requestId before triggering dependent workflow steps.
Required scopes
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| idrequired | path | string | Customer Relationship identifier returned by the Organization API. |
Request body
| Field | Type | Description |
|---|---|---|
| customerSalesforceAccountId | string | null | Optional unless marked required. |
| billingEmail | string | null | Invoice recipient for this organization. Blank or null uses the contact email. |
| string | null | Optional unless marked required. | |
| firstName | string | null | Optional unless marked required. |
| lastName | string | null | Optional unless marked required. |
| phone | string | null | Optional unless marked required. |
{
"phone": "+15555550124"
}Responses
Updated Customer Relationship envelope
#/components/schemas/OrgApiResourceEnvelope
Validation error
#/components/schemas/OrgApiError
Missing or invalid organization API key
#/components/schemas/OrgApiError
Organization billing access or an endpoint-specific business quota denied the request
#/components/schemas/OrgApiError
Missing required scope: customers:write
#/components/schemas/OrgApiError
Not found
#/components/schemas/OrgApiError
Rate limit exceeded
#/components/schemas/OrgApiError
Errors
Static examples
curl -X PATCH "$SOLAROS_BASE_URL/api/v1/customer-relationships/$SOLAROS_CUSTOMER_RELATIONSHIP" \
-H "Authorization: Bearer $SOLAROS_API_KEY" \
-H "Content-Type: application/json" \
--data '{"phone":"+15555550124"}'