Zum Hauptinhalt springen
POST
/
cms
/
v3
/
hubdb
/
tables
/
{tableIdOrName}
/
rows
/
draft
/
batch
/
update
Update rows in batch in draft table
curl --request POST \
  --url https://api.hubapi.com/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": [
    {
      "path": "<string>",
      "childTableId": 123,
      "values": {},
      "name": "<string>",
      "id": "<string>",
      "displayIndex": 123
    }
  ]
}'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "results": [
    {
      "path": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "childTableId": "<string>",
      "publishedAt": "2023-11-07T05:31:56Z",
      "values": {},
      "name": "<string>",
      "id": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "status": "PENDING"
}

Produtos suportados

Requer um dos seguintes produtos ou superior.
Marketing HubMarketing Hub -Grátis
Sales HubSales Hub -Grátis
Service HubService Hub -Grátis
Content HubContent Hub -Grátis
Esta API requer um dos seguintes escopos:
hubdb

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

tableIdOrName
string
required

The ID or name of the table

Body

application/json
inputs
object[]
required

Response

successful operation

completedAt
string<date-time>
requestedAt
string<date-time>
startedAt
string<date-time>
results
object[]
status
enum<string>
Available options:
PENDING,
PROCESSING,
CANCELED,
COMPLETE
I