Skip to main content

Create opportunity

POST 

/opportunities

Create opportunity

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
    record objectrequired
    amount integernullable
    close_date stringnullable
    description stringnullable
    name stringnullable
    stage string
    account_id stringnullable
    owner_id stringnullable
    pipeline stringnullable
    custom_fields object

    Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.

    property name* any

    Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.

Responses

Opportunity created

Schema
    record object
    id stringrequired
    warnings object[]
  • Array [
  • detail string
    problem_type string
    title string
  • ]
Loading...