CRM Objects CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the CRM Object Properties API. |Object Type |Properties returned by default | |--|--| | companies | name, domain | | contacts | firstname, lastname, email | | deals | dealname, amount, closedate, pipeline, dealstage | | products | name, description, price | | tickets | content, hs_pipeline, hs_pipeline_stage, hs_ticket_category, hs_ticket_priority, subject | Find a list of all properties for an object type using the CRM Object Properties API. e.g. GET https://api.hubapi.com/properties/v2/companies/properties. Change the properties returned in the response using the properties array in the request body.

OpenAPI spec version: v3

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

Constructors

Properties

_in?: string

The name of the field or parameter in which the error was found.

code?: string

The status code associated with the error detail

context?: {
    [key: string]: string[];
}

Context about the error condition

message: string

A human readable message describing the error along with remediation steps where appropriate

subCategory?: string

A specific category that contains more specific detail about the error

attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[]