Companies

Update a company.

patch/companies/{id}

Request

  • Base URL: https://api.relmcrm.com/v1
  • URL: https://api.relmcrm.com/v1/companies/{id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.relmcrm.com/oauth/authorize, token URL https://api.relmcrm.com/oauth/token, scopes: crm)

Headers

If-Matchstring

The record's current version for optimistic concurrency; a mismatch returns 412 version_conflict.

Request body

namestring required
domainstring
custom_fieldsobject

Response

Updated

idstring
object'company'
namestring
domainstring nullable
custom_fieldsobject
versioninteger
modestring
created_atstring
updated_atstring
deletedboolean

Example response

{
  "id": "cmp_..."
}

Changes

No recorded changes to this operation across all 1 revision of this API.