curl --request PATCH \
--url https://api.zapier.com/tables/v2/tables/{table_id}/records \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"updated_records": [
{
"id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"data": {
"f1": "Acme Corp",
"f2": 12
}
}
]
}
'{
"results": [
{
"id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"data": {},
"created_at": "2023-11-07T05:31:56Z",
"edited_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"is_source_record": true,
"errors": {}
}
],
"meta": {}
}{
"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": ""
}Update records in a table or view
Changes records in the table or view matching the table_id.
The request is refused if any record fails validation against the table’s
fields, if the caller cannot edit the table’s records, or if
change_options names a member or a value this operation does not publish.
change_options.on_conflict decides what happens when a record being
updated is the source of a linked record: the default applies the update,
and block refuses the whole request instead.
Send an Idempotency-Key with every write. A retry that arrives after the
first request has finished and reuses the key and the payload answers with
the original response instead of applying the update a second time. Two
requests racing with one key can both execute, and a response too large to
store is not replayed.
curl --request PATCH \
--url https://api.zapier.com/tables/v2/tables/{table_id}/records \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"updated_records": [
{
"id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"data": {
"f1": "Acme Corp",
"f2": 12
}
}
]
}
'{
"results": [
{
"id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"data": {},
"created_at": "2023-11-07T05:31:56Z",
"edited_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"is_source_record": true,
"errors": {}
}
],
"meta": {}
}{
"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
Headers
Path Parameters
Body
The records to update, and how their changes are delivered.
Was this page helpful?