Update rows in batch in draft table

POST {{baseUrl}}/cms/v3/hubdb/tables/:tableIdOrName/rows/draft/batch/update

Updates multiple rows as a batch in the draft version of the table, with a maximum of 100 rows per call. See the endpoint PATCH /tables/{tableIdOrName}/rows/{rowId}/draft for details on updating a single row.

Request Body

{"inputs"=>[{"id"=>"<string>", "path"=>"<string>", "name"=>"<string>", "childTableId"=>"<integer>", "displayIndex"=>"<integer>"}, {"id"=>"<string>", "path"=>"<string>", "name"=>"<string>", "childTableId"=>"<integer>", "displayIndex"=>"<integer>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;PENDING&quot;,&quot;results&quot;:[{&quot;values&quot;:{&quot;ade4&quot;:{}},&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;path&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;childTableId&quot;:&quot;\u003cstring\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;publishedAt&quot;:&quot;\u003cdateTime\u003e&quot;},{&quot;values&quot;:{&quot;Lorem_495&quot;:{}},&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;path&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;childTableId&quot;:&quot;\u003cstring\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;publishedAt&quot;:&quot;\u003cdateTime\u003e&quot;}],&quot;requestedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;startedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;completedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;links&quot;:{&quot;dolore_f85&quot;:&quot;\u003cstring\u003e&quot;}}