Skip to main content

Get opportunity

GET 

/opportunities/:opportunity_id

Get opportunity

Request

Path Parameters

    opportunity_id stringrequired
    Example: c9f58083-a370-47b5-ad02-99160ea20372

Query Parameters

    include_raw_data boolean

    Whether to include raw data fetched from the 3rd party provider.

    Example: true
    associations_to_fetch string[]

    List of associated objects to attempt to fetch associations for. Only relevant for hubspot and when read_from_cache is false.

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

Responses

Opportunity

Schema
    account_id stringnullablerequired
    amount integernullablerequired
    close_date date-timenullable
    description stringnullablerequired
    id stringrequired
    last_activity_at date-timenullablerequired
    name stringnullablerequired
    owner_id stringnullablerequired
    pipeline stringnullablerequired
    stage stringnullablerequired
    status stringnullablerequired
    created_at date-timenullablerequired
    updated_at date-timenullablerequired
    is_deleted booleanrequired
    last_modified_at date-timerequired
Loading...