Get a list of custom fields
Query Parameters
- Type: string
filter[search] Search by name
- Type: string
filter[model _type] Filter by model type
- Type: string
filter[target _model _types] Filter by target model types
- Type: string
filter[service _ids] Filter by associated service IDs
- Type: string
sort Allowed: order_index, name, created_at
- Type: integer
page[number] Integer numbers.
- Type: integer
page[size] Integer numbers.
- Type: string
o Organization ID
Responses
- application/vnd.api+json
Request Example for get/api/v1/custom-fields
curl 'https://b.anny.co/api/v1/custom-fields?filter%5Bsearch%5D=&filter%5Bmodel_type%5D=&filter%5Btarget_model_types%5D=&filter%5Bservice_ids%5D=&sort=&page%5Bnumber%5D=1&page%5Bsize%5D=1&o='
{
"data": [
{
"id": "string",
"type": "customfields",
"attributes": {
"name": "string",
"description": null,
"field_type": "text",
"required": true,
"display_in_checkout": true,
"options": [],
"default_value": null,
"order_index": 1,
"custom_validation": null
},
"links": {
"self": "https://example.com"
}
}
],
"meta": {},
"links": {}
}