Saltar al contenido principal
PUT
/
extensions
/
sales-objects
/
v1
/
object-types
/
{objectTypeId}
Modify an object type
curl --request PUT \
  --url https://api.hubapi.com/extensions/sales-objects/v1/object-types/{objectTypeId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "applicationId": 123,
  "baseUris": [
    "<string>"
  ],
  "dataFetchUri": "<string>",
  "title": "<string>",
  "propertyDefinitions": [
    {}
  ],
  "associatedHubSpotObjectTypes": [
    "CONTACT"
  ],
  "associatedHubSpotObjectTypeProperties": {},
  "id": 123
}
'
{}

Documentation Index

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

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

Parámetros de ruta

objectTypeId
string
requerido

The id of the object type you want to update.

Parámetros de consulta

hapikey
string
requerido

Your Developer HAPIkey. This must be a Developer HAPIkey associated with the Developer portal that the OAuth app was created in.

Cuerpo

application/json
applicationId
integer
requerido

The ID of the HubSpot application that will own this object type.

baseUris
string[]
requerido

A list of URIs. When you define actions, the URIs for these actions must be under one of these URIs.

dataFetchUri
string
requerido

The URI the CRM will call to fetch Sales Objects for the specified associatedHubSpotObjectTypes.

title
string
requerido

The title of this object. This will be displayed as the title of the CRM sidebar card.

propertyDefinitions
object[]
requerido

The common properties that these objects will have, in the order they should appear on the sidebar card. See Property Types for more info.

associatedHubSpotObjectTypes
enum<string>[]
requerido

A set of CONTACT, COMPANY, DEAL, or TICKET. This determines where on the CRM this Object Type will appear -- contact, company, deal, or ticket details pages.

Opciones disponibles:
CONTACT,
COMPANY,
DEAL,
TICKET
associatedHubSpotObjectTypeProperties
object
requerido

HubSpot properties to send in the data fetch request, by CRM object type.

id
integer

Respuesta

200 - application/json

Successful response - Object type updated successfully

The response is of type object.

Last modified on April 13, 2026