メインコンテンツへスキップ
PUT
/
crm
/
v3
/
objects
/
partner_clients
/
{partnerClientId}
/
associations
/
{toObjectType}
/
{toObjectId}
/
{associationType}
パートナークライアントを別のオブジェクトに関連付ける
curl --request PUT \
  --url https://api.hubapi.com/crm/v3/objects/partner_clients/{partnerClientId}/associations/{toObjectType}/{toObjectId}/{associationType} \
  --header 'Authorization: Bearer <token>'
{
  "archived": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "properties": {},
  "updatedAt": "2023-11-07T05:31:56Z",
  "archivedAt": "2023-11-07T05:31:56Z",
  "associations": {},
  "objectWriteTraceId": "<string>",
  "propertiesWithHistory": {}
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール

承認

Authorization
string
header
必須

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

パスパラメータ

associationType
string
必須
partnerClientId
string
必須
toObjectId
string
必須
toObjectType
string
必須

レスポンス

successful operation

Represents a CRM object along with its properties, timestamps, and a set of associated object IDs grouped by association type.

archived
boolean
必須

Whether the object is archived.

createdAt
string<date-time>
必須

The timestamp when the object was created, in ISO 8601 format.

id
string
必須

The unique ID of the object.

properties
object
必須

Key value pairs representing the properties of the object.

updatedAt
string<date-time>
必須

The timestamp when the object was last updated, in ISO 8601 format.

archivedAt
string<date-time>

The timestamp when the object was archived, in ISO 8601 format.

associations
object

A list defining relationships with other objects.

objectWriteTraceId
string

An identifier used for tracing the creation or update request of the object.

propertiesWithHistory
object

Key-value pairs representing the properties of the object along with their history.

Last modified on December 8, 2025