# Update customer relationship (/docs/api-reference/customers/relationships/update-customer-relationship)



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Change how two linked customers are related

<APIPage document="&#x22;../../apps/api/openapi/specs/openapi-public.yaml&#x22;" operations="[{&#x22;path&#x22;:&#x22;/v2/customers/{id}/relationships/{relationshipId}&#x22;,&#x22;method&#x22;:&#x22;patch&#x22;}]" />
