Objects
Update a company property
Update a single company property by company ID.
Overview
Use this endpoint to replace one property value on an existing company. Send value for scalar properties or values for multi-value properties. It requires public api oauth access token authentication and the crm.companies.write scope.
/api/crm/objects/companies/{companyId}cURL
PATCHcurl --request PATCH \ --url 'https://crm.notifyy.io/api/crm/objects/companies/55' \ --header 'Authorization: Bearer nfy_public_api_access_token' \ --header 'Content-Type: application/json' \ --data '{ "internal_name": "website", "value": "https://notifyy.io"}'Sample Request Body
{ "internal_name": "website", "value": "https://notifyy.io"}Sample Response
{ "success": true, "message": "Property updated successfully", "data": null}Status Codes
| Code | Description |
|---|---|
| 200 | Property was updated. |
Headers
Public API OAuth bearer token.
Example: Bearer nfy_public_api_access_token
Request body media type.
Example: application/json
| Object | Description |
|---|---|
Authorization string | RequiredPublic API OAuth bearer token. Example: Bearer nfy_public_api_access_token |
Content-Type string | RequiredRequest body media type. Example: application/json |
Path parameters
Company ID.
Example: 55
| Object | Description |
|---|---|
companyId integer | RequiredCompany ID. Example: 55 |
Request body
Property internal name to update.
Example: website
Scalar property value.
Example: https://notifyy.io
Multi-value replacement.
| Object | Description |
|---|---|
internal_name string | RequiredProperty internal name to update. Example: website |
value any | OptionalScalar property value. Example: https://notifyy.io |
values array | OptionalMulti-value replacement. |
Response fields
Whether the request succeeded.
Example: true
Human-readable result message.
Example: Property updated successfully
No response payload is returned for a successful property update.
| Object | Description |
|---|---|
success boolean | Whether the request succeeded. Example: true |
message string | Human-readable result message. Example: Property updated successfully |
data null | No response payload is returned for a successful property update. |