Skip to main content
PATCH
Update Table Rows

Overview

This endpoint updates existing row data in bulk. In most workflows, you identify the row you want to change with id and send the new data payload. Use run=false when you want to inspect the row changes before running anything. Use run=true when the update should immediately trigger execution.

Example request

Key parameters

  • table_id (required): target table identifier.
  • rows (required): array of row update objects; each requires data and can include id for the target row.
  • run (optional): defaults to false; set true to run after update.

Success signal

A successful response returns updated row objects with current values.

Common errors

401 Unauthorized

Check that your header is Authorization: Bearer ${EXTRUCT_API_TOKEN}.

404 Not Found

The table or row ID is invalid or unavailable in your workspace.

422 Unprocessable Entity

Most often caused by invalid rows shape or malformed JSON.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

table_id
string
required

Body

application/json
rows
UpdateRowSchema · object[]
required
run
boolean
default:false

Response

Successful Response

id
string
required
created_at
string<date-time>
required

Row creation time.

parent_row_id
string | null

ID of the parent row, if any.

company_profile_id
string | null

ID of the linked company profile.

data
Data · object
metadata
object | null

Additional metadata

parent_data
object | null

Data from the parent row, if requested and available.