メインコンテンツへスキップ
PATCH
/
crm
/
v3
/
extensions
/
cards-dev
/
{appId}
/
{cardId}
カードを更新
curl --request PATCH \
  --url https://api.hubapi.com/crm/v3/extensions/cards-dev/{appId}/{cardId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "actions": {
    "baseUrls": [
      "https://www.example.com/hubspot"
    ]
  },
  "display": {
    "properties": [
      {
        "dataType": "STRING",
        "label": "Pets Name",
        "name": "pet_name"
      }
    ]
  },
  "fetch": {
    "objectTypes": [
      {
        "name": "contacts",
        "propertiesToSend": [
          "email",
          "firstname"
        ]
      }
    ],
    "targetUrl": "https://www.example.com/hubspot/target"
  },
  "title": "PetSpot"
}
'
{
  "actions": {
    "baseUrls": [
      "https://www.example.com/hubspot"
    ]
  },
  "auditHistory": [
    {
      "actionType": "CREATE",
      "applicationId": 123,
      "authSource": "APP",
      "changedAt": 123,
      "initiatingUserId": 123,
      "objectTypeId": 123
    }
  ],
  "display": {
    "properties": [
      {
        "dataType": "BOOLEAN",
        "label": "<string>",
        "name": "<string>",
        "options": [
          {
            "label": "<string>",
            "name": "<string>",
            "type": "DANGER"
          }
        ]
      }
    ]
  },
  "fetch": {
    "objectTypes": [
      {
        "name": "companies",
        "propertiesToSend": [
          "<string>"
        ]
      }
    ],
    "targetUrl": "<string>"
  },
  "id": "<string>",
  "title": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.jp/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported products

承認

Authorization
string
header
必須

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

パスパラメータ

appId
integer<int32>
必須
cardId
string
必須

ボディ

application/json

Body for a patch with optional fields

actions
object

Configuration for custom user actions on cards.

:
{
  "baseUrls": ["https://www.example.com/hubspot"]
}
display
object

Configuration for displayed info on a card

fetch
object

Variant of CardFetchBody with fields as optional for patches

title
string

このカードのトップレベルタイトル。CRM UIのユーザーに表示されます。

レスポンス

successful operation

actions
object
必須

Configuration for custom user actions on cards.

:
{
  "baseUrls": ["https://www.example.com/hubspot"]
}
auditHistory
object[]
必須

作成、削除、更新など、カードで実行されるアクションのリスト。

display
object
必須

Configuration for displayed info on a card

fetch
object
必須
id
string
必須

カードの固有ID。

title
string
必須

このカードのトップレベルタイトル。CRM UIのユーザーに表示されます。

createdAt
string<date-time>

カードが作成された日時。

updatedAt
string<date-time>

カードが最後に更新された日時。

Last modified on April 13, 2026