Retrieves a schema of custom fields for the specified resource type.
Schema of custom fields retrieved.
type required | string Describes the data type. Custom field type value cannot be changed.
| ||||||||||||||||||
name | string Name of the custom field. | ||||||||||||||||||
description | string Description of the custom field. | ||||||||||||||||||
additionalSchema | any Additional schema which adds additional values constrains. Additional parameters which can be added according to type:
| ||||||||||||||||||
Array of objects (SelfLink) Related links. | |||||||||||||||||||
Unauthorized access. Invalid credentials used.
Access forbidden.
$customFields = $client->customFields()->search('customers', [ 'filter' => 'type:boolean', ]);
[- {
- "name": "string",
- "type": "array",
- "description": "string",
- "additionalSchema": null,
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}
]