Accounts

Update an account

Update an account record.

patch/v1/accounts/{id}

Request

  • Base URL
    https://api.capacity.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-capacity-id
    • or HTTP bearer

Path parameters

idstring required

Request body

csatinteger
namestring
notesstring
npsinteger
phone_numberstring
renewal_datestring
custom_fieldsobject

Example request

{
  "renewal_date": "2023-01-01 00:00:00"
}

Response

The updated account

bodyobject

Json body data in the request

parametersobject

Query parameters in the request

csatinteger
idstring
namestring
notesstring
npsinteger
renewal_datestring
phone_numberstring

Example response

{
  "renewal_date": "2023-01-01 00:00:00",
  "parent_account": {
    "renewal_date": "2023-01-01 00:00:00"
  }
}

Changes

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