Create a new custom object field
POST
/custom-objects/{custom_object_api_name}/fields/
Creates new fields on an existing custom object and returns the new IDs and details.
Helpful resources
- Create and manage custom objects
- Get started with custom objects
- Overview of basic fields in custom objects
- Overview of summary fields in custom objects
Note: Scopes are mutually exclusive and represent increasing levels of access. Only one of the scopes listed below is required to call this endpoint.
Required Scopes
- custom-objects.read-write
- custom-objects.read-write.owner
Request
Path Parameters
custom_object_api_name stringrequired
The API name of the custom object.
Responses
- 200
- 400
- 401
- 403
Successful response
The field definition is invalid. Lookup fields require data_type.related_data_label.
Authentication is required or the supplied credentials are invalid.
The caller is not authorized to perform this action.
Loading...