Portfolio Relationships
Upsert a partner-managed-account relationship
Upserts a single partner-managed-account relationship and its metrics. The primary integration point for a partner's managed-account data (for example, an agency's managed customer accounts). Upserted on the partner and customer pairing; pushing the same pairing again updates the existing relationship rather than creating a duplicate. engagement_type is a mutable attribute of that relationship, so changing it updates the existing record in place.
A field the relationship object does not define (for example a misspelled startDate) fails the row with unknown_field rather than being ignored. Requires portfolio_write permission.
post/portfolio_relationships
Request
- Base URL: https://api.lassotech.com/api/v1/rest
- URL: https://api.lassotech.com/api/v1/rest/portfolio_relationships
- Auth: API key in header x-lasso-access-token
Request body
Example request
{
"partner": {
"lasso_partner_key": "P-A1B2C3"
},
"customer": {
"lasso_customer_key": "CUST_7Q2M4X",
"crm_account_id": "0014S000009mh2FQAQ",
"external_id": "225070",
"domain": "customer.example.com",
"name": "Example Customer"
},
"engagement_type": "ongoing_retainer",
"metrics": [
{
"key": "mrr",
"value": 4820400,
"currency": "USD"
}
]
}Response
Existing relationship updated
Example response
{
"customer_id": "CUST_7Q2M4X"
}Changes
No recorded changes to this operation across all 1 revision of this API.