Update a relationship

Replaces the type and the notes of one of the customer's relationships ('notes' is cleared when omitted). Only this customer's side of the relationship changes: the opposite relationship on the related customer is left as is. The related customers themselves are not changed. Returns the updated customer. Errors: 400 with error code 40001 when 'type' is missing or invalid; 404 when the customer or the relationship does not exist; 400 with error code 40000 when the caller may not access the customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

ID of the customer (UUID)

uuid
required

ID of the relationship (UUID): the 'id' of an entry of the customer's 'relatedCustomers'

Body Params

The new relationship type and notes.

type
object
required
string
Responses

400

Invalid input (40001) or the customer is not accessible (40000)

404

Customer or relationship not found

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*