companies

PUT {{api_url}}/api/v1/companies

Upserts (Creates or updates) an existing company in Userlot by setting appropriate attributes in the body of the request.

If you specify an id, external_id or source_external_id attribute it will attempt an update, otherwise it will create.

Please see the Custom Field setup for this entity to determine if certain attributes are required

Request Params

KeyDatatypeRequiredDescription
namestring

Request Body

[{"name"=>"id", "value"=>"", "datatype"=>"null"}, {"name"=>"name", "value"=>"", "datatype"=>"null"}, {"name"=>"arr", "value"=>"", "datatype"=>"null"}, {"name"=>"mrr", "value"=>"", "datatype"=>"null"}, {"name"=>"start_date", "value"=>"", "datatype"=>"null"}, {"name"=>"renewal_date", "value"=>"", "datatype"=>"null"}, {"name"=>"external_id", "value"=>"", "datatype"=>"null"}, {"name"=>"source_external_id", "value"=>"", "datatype"=>"null"}]