Skip to main content

Create association schema

POST 

/metadata/associations

Create an association schema

Support:

ProviderSupported
HubspotYes
SalesforceYes
PipedriveNo
MS DynamicsNo

Note: When creating a new association schema for Hubspot, Hubspot will also create a default association schema (with an empty name). Either can be used to create associations.

Request

Header Parameters

    x-customer-id stringrequired

    The customer ID that uniquely identifies the customer in your application

    Example: my-customer-1
    x-provider-name stringrequired

    The provider name

    Example: salesforce

Body

required
    source_object stringrequired
    target_object stringrequired
    suggested_key_name stringrequired

    The underlying provider may change this (e.g. adding __c for Salesforce).

    display_name stringrequired

Responses

Association Schema created

Schema
    association_schema object
    id stringrequired
    source_object stringrequired
    target_object stringrequired
    display_name stringrequired
    warnings object[]
  • Array [
  • detail string
    problem_type string
    title string
  • ]
Loading...