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 '{
  "id": 123,
  "applicationId": 123,
  "baseUris": [
    "<string>"
  ],
  "dataFetchUri": "<string>",
  "title": "<string>",
  "propertyDefinitions": [
    {}
  ],
  "associatedHubSpotObjectTypes": [
    "CONTACT"
  ],
  "associatedHubSpotObjectTypeProperties": {}
}'
{}

Path Parameters

objectTypeId
string
required

The id of the object type you want to update.

Query Parameters

hapikey
string
required

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

Body

application/json

Response

200 - application/json

Successful response - Object type updated successfully

The response is of type object.