Custom Objects
Custom objects use the same record, attribute, query, patch, archive, and relationship patterns as standard objects.Supported actions
| Action | Support |
|---|---|
| Create | Supported |
| Read by ID | Supported |
| Query | Supported |
| Patch | Supported |
| Archive | Supported |
_assert | Not available |
| Relationships | Generic relationship names |
| Attribute sub-resources | Not available |
Addressing a custom object
Use the custom object’s API name as the record type in the path.contact, account, and opportunity keep their dedicated behavior.
Create a custom object record
Unknown custom objects
If the custom object API name does not exist or is not available to the workspace, the API returns404 unknown_record_type.
Common errors
| Error code | Usually means |
|---|---|
unknown_record_type | Custom object API name is unknown or unavailable |
unknown_field | Field is not declared for that custom object |
record_not_writable | The custom object is not writable in its current state |
field_value_invalid | Value did not match the custom field type |