curl --request PATCH \
--url https://api.zapier.com/tables/v2/tables/{table_id}/fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"updated_fields": [
{
"id": 1,
"name": "Customer Email"
}
]
}
'{
"results": [
{
"field": {
"id": 123,
"name": "<string>",
"type": "string",
"created_at": "2023-11-07T05:31:56Z",
"edited_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"options": {
"is_unique": false,
"required": false,
"read_only": false,
"converted_from": "string",
"converted_from_version": 123,
"choice_provider": {
"choices": [
{
"value": "<string>",
"label": "<string>",
"color": "<string>"
}
],
"kind": "static"
},
"formula": {
"formula": "<string>",
"field_id_args": [
123
],
"rerender_on": "any"
},
"button": {
"label": "<string>",
"additional_labels": [
"<string>"
],
"is_enabled": true,
"custom_label": "<string>",
"disable_on_click": false
},
"include_time": true,
"timezone": "Africa/Abidjan",
"date_format": "<string>",
"time_format": "<string>",
"ai_formula": {
"model": "gpt-3.5-turbo",
"prompt": "<string>",
"connection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"field_id_args": [
123
],
"max_length": 123,
"temperature": 123
},
"source_column_key": "<string>",
"slug": "<string>",
"icon": "<string>",
"alignment": "left",
"decimals": 123,
"currency_format": "<string>",
"phone_number_format": "<string>",
"description": "<string>"
},
"config": {
"hidden": false,
"locked": true,
"order": 123,
"width": 123,
"default_display_field_id": 123,
"default_link_field_id": 123,
"summary_formulas": [
{
"decimals": 123,
"aggregate_function": "<string>"
}
]
},
"is_order_field": false,
"is_filter_field": false,
"is_selected_field": false,
"source_field": "<unknown>",
"linked_records_destination_tables": [
{
"table_name": "<string>",
"table_id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"table_owner_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"previous": {
"id": 123,
"name": "<string>",
"type": "string",
"created_at": "2023-11-07T05:31:56Z",
"edited_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"options": {
"is_unique": false,
"required": false,
"read_only": false,
"converted_from": "string",
"converted_from_version": 123,
"choice_provider": {
"choices": [
{
"value": "<string>",
"label": "<string>",
"color": "<string>"
}
],
"kind": "static"
},
"formula": {
"formula": "<string>",
"field_id_args": [
123
],
"rerender_on": "any"
},
"button": {
"label": "<string>",
"additional_labels": [
"<string>"
],
"is_enabled": true,
"custom_label": "<string>",
"disable_on_click": false
},
"include_time": true,
"timezone": "Africa/Abidjan",
"date_format": "<string>",
"time_format": "<string>",
"ai_formula": {
"model": "gpt-3.5-turbo",
"prompt": "<string>",
"connection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"field_id_args": [
123
],
"max_length": 123,
"temperature": 123
},
"source_column_key": "<string>",
"slug": "<string>",
"icon": "<string>",
"alignment": "left",
"decimals": 123,
"currency_format": "<string>",
"phone_number_format": "<string>",
"description": "<string>"
},
"config": {
"hidden": false,
"locked": true,
"order": 123,
"width": 123,
"default_display_field_id": 123,
"default_link_field_id": 123,
"summary_formulas": [
{
"decimals": 123,
"aggregate_function": "<string>"
}
]
},
"is_order_field": false,
"is_filter_field": false,
"is_selected_field": false,
"source_field": "<unknown>",
"linked_records_destination_tables": [
{
"table_name": "<string>",
"table_id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"table_owner_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
}
],
"meta": {
"did_change": true
}
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}Fields
Update fields on a table or view
Updates existing fields on the table or view matching the table_id.
Only the members a field entry states are written: anything it omits is left
as it is, and an explicit null inside options clears the option it names.
The request is refused if it names a field the table does not have, or if the
account’s field-type limits do not accommodate a type it changes to.
PATCH
/
tables
/
v2
/
tables
/
{table_id}
/
fields
curl --request PATCH \
--url https://api.zapier.com/tables/v2/tables/{table_id}/fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"updated_fields": [
{
"id": 1,
"name": "Customer Email"
}
]
}
'{
"results": [
{
"field": {
"id": 123,
"name": "<string>",
"type": "string",
"created_at": "2023-11-07T05:31:56Z",
"edited_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"options": {
"is_unique": false,
"required": false,
"read_only": false,
"converted_from": "string",
"converted_from_version": 123,
"choice_provider": {
"choices": [
{
"value": "<string>",
"label": "<string>",
"color": "<string>"
}
],
"kind": "static"
},
"formula": {
"formula": "<string>",
"field_id_args": [
123
],
"rerender_on": "any"
},
"button": {
"label": "<string>",
"additional_labels": [
"<string>"
],
"is_enabled": true,
"custom_label": "<string>",
"disable_on_click": false
},
"include_time": true,
"timezone": "Africa/Abidjan",
"date_format": "<string>",
"time_format": "<string>",
"ai_formula": {
"model": "gpt-3.5-turbo",
"prompt": "<string>",
"connection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"field_id_args": [
123
],
"max_length": 123,
"temperature": 123
},
"source_column_key": "<string>",
"slug": "<string>",
"icon": "<string>",
"alignment": "left",
"decimals": 123,
"currency_format": "<string>",
"phone_number_format": "<string>",
"description": "<string>"
},
"config": {
"hidden": false,
"locked": true,
"order": 123,
"width": 123,
"default_display_field_id": 123,
"default_link_field_id": 123,
"summary_formulas": [
{
"decimals": 123,
"aggregate_function": "<string>"
}
]
},
"is_order_field": false,
"is_filter_field": false,
"is_selected_field": false,
"source_field": "<unknown>",
"linked_records_destination_tables": [
{
"table_name": "<string>",
"table_id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"table_owner_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"previous": {
"id": 123,
"name": "<string>",
"type": "string",
"created_at": "2023-11-07T05:31:56Z",
"edited_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"options": {
"is_unique": false,
"required": false,
"read_only": false,
"converted_from": "string",
"converted_from_version": 123,
"choice_provider": {
"choices": [
{
"value": "<string>",
"label": "<string>",
"color": "<string>"
}
],
"kind": "static"
},
"formula": {
"formula": "<string>",
"field_id_args": [
123
],
"rerender_on": "any"
},
"button": {
"label": "<string>",
"additional_labels": [
"<string>"
],
"is_enabled": true,
"custom_label": "<string>",
"disable_on_click": false
},
"include_time": true,
"timezone": "Africa/Abidjan",
"date_format": "<string>",
"time_format": "<string>",
"ai_formula": {
"model": "gpt-3.5-turbo",
"prompt": "<string>",
"connection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"field_id_args": [
123
],
"max_length": 123,
"temperature": 123
},
"source_column_key": "<string>",
"slug": "<string>",
"icon": "<string>",
"alignment": "left",
"decimals": 123,
"currency_format": "<string>",
"phone_number_format": "<string>",
"description": "<string>"
},
"config": {
"hidden": false,
"locked": true,
"order": 123,
"width": 123,
"default_display_field_id": 123,
"default_link_field_id": 123,
"summary_formulas": [
{
"decimals": 123,
"aggregate_function": "<string>"
}
]
},
"is_order_field": false,
"is_filter_field": false,
"is_selected_field": false,
"source_field": "<unknown>",
"linked_records_destination_tables": [
{
"table_name": "<string>",
"table_id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"table_owner_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
}
],
"meta": {
"did_change": true
}
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}Scopes
Path Parameters
Body
application/json
The field changes to apply, and how to resolve conflicts.
Was this page helpful?