Zum Hauptinhalt springen
PATCH
/
cms
/
v3
/
hubdb
/
tables
/
{tableIdOrName}
/
rows
/
{rowId}
/
draft
既存の行が更新されます
curl --request PATCH \
  --url https://api.hubapi.com/cms/v3/hubdb/tables/{tableIdOrName}/rows/{rowId}/draft \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "childTableId": 123,
  "displayIndex": 123,
  "name": "<string>",
  "path": "<string>",
  "values": {}
}'
{
  "childTableId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "name": "<string>",
  "path": "<string>",
  "publishedAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "values": {}
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール
この API には、次のいずれかのスコープが必要です。
hubdb

Authorizations

Authorization
string
header
required

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

Path Parameters

rowId
string
required

行のID

tableIdOrName
string
required

テーブルのIDまたは名前

Body

application/json
childTableId
integer
required

列の子テーブルIDの値が指定されます

displayIndex
integer
required
values
object
required

列名と列値が含まれるキー値ペアのリスト

name
string

動的ページのタイトルとして使用される「hs_name」列の値が指定されます

path
string

動的ページのスラッグとして使用される「hs_path」列の値が指定されます

Response

successful operation

childTableId
string
required

列の子テーブルIDの値が指定されます

createdAt
string<date-time>
required

行が作成された時点のタイムスタンプ

id
string
required

テーブル行のID

name
string
required

動的ページのタイトルとして使用される「hs_name」列の値が指定されます

path
string
required

動的ページのスラッグとして使用される「hs_path」列の値が指定されます

publishedAt
string<date-time>
required
updatedAt
string<date-time>
required

行が最後に更新された時点のタイムスタンプ

values
object
required

列名と列値が含まれるキー値ペアのリスト