v2

latestOpenAPI 3.0.0Apache 2.02026-07-2638645559.8 KB
Relationships

Update a relationship

Update a relationship by id

post/apps/{appId}/relationships/{id}

Path parameters

appIdinteger required

The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have several Sinao applications. To retrieve the identifiers of its applications, you must call the endpoint /apps.

idinteger required

ID of Relationship

Query parameters

is_customerboolean
is_supplierboolean
is_prospectboolean
importance_levelinteger
ratinginteger
balance_initial_amountinteger
is_notifyingboolean
notestring
referencestring nullable

Accounting number if it's specific. No special chars accepted.

tagsstring nullable
discountstring nullable
detailsstring nullable
metadatastring[] nullable

Response

Success

idinteger
is_customerboolean
is_supplierboolean
is_prospectboolean
importance_levelinteger nullable
ratinginteger nullable
is_notifyingboolean
notestring nullable