Zum Hauptinhalt springen
POST
/
crm
/
v3
/
properties
/
{objectType}
/
groups
Eigenschaftsgruppe erstellen
curl --request POST \
  --url https://api.hubapi.com/crm/v3/properties/{objectType}/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "displayOrder": -1,
  "label": "My Property Group",
  "name": "mypropertygroup"
}'
{
  "location": "<string>",
  "createdResourceId": "<string>",
  "entity": {
    "displayOrder": -1,
    "label": "My Property Group",
    "name": "mypropertygroup"
  }
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubKostenlos
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubStarter

Erforderliche Bereiche

Diese API erfordert einen der folgenden Bereiche:
  • crm.schemas.invoices.write
  • crm.schemas.orders.write
  • crm.schemas.commercepayments.write
  • crm.objects.orders.write
  • crm.schemas.contacts.write
  • tickets
  • tickets.sensitive.v2
  • e-commerce
  • crm.schemas.appointments.write
  • crm.schemas.courses.write
  • crm.schemas.carts.write
  • tickets.highly_sensitive.v2
  • crm.schemas.services.write
  • crm.schemas.deals.write
  • crm.pipelines.orders.write
  • crm.objects.users.write
  • crm.schemas.companies.write
  • crm.schemas.subscriptions.write
  • crm.schemas.listings.write
  • crm.objects.carts.write

Authorizations

Authorization
string
header
required

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

Path Parameters

objectType
string
required

Body

application/json
name
string
required

Der interne Name der Eigenschaftsgruppe. Wird verwendet, wenn die Eigenschaftsgruppe über die API referenziert wird.

Example:

"mypropertygroup"

label
string
required

Für Menschen lesbares Label, das in HubSpot angezeigt wird.

Example:

"My Property Group"

displayOrder
integer

Eigenschaftsgruppen werden in dieser Reihenfolge angezeigt: Das erste angezeigte Objekt hat den niedrigsten positiven Ganzzahlwert. Bei einem Wert von -1 wird die Eigenschaftsgruppe nach allen positiven Werten angezeigt.

Example:

-1

Response

successful operation

createdResourceId
string
required
entity
object
required

An ID for a group of properties

Example:
{
"displayOrder": -1,
"label": "My Property Group",
"name": "mypropertygroup"
}
location
string
I