Create an opportunity
Authentication
Basic authentication of the form Basic <base64(username:)>.
Bearer authentication of the form Bearer <token>, where token is your auth token.
Basic authentication of the form Basic <base64(username:)>.
Bearer authentication of the form Bearer <token>, where token is your auth token.
status_id (optional): Post a status_id to create an opportunity with a specific status. If omitted, the organization’s default (first) status will be used. See the Opportunity Status API.
lead_id (optional): Opportunities belong to exactly one Lead. If you do not provide a lead_id then a new lead will be created (appearing as “Untitled” in the UI).
custom.FIELD_ID (optional): Set custom fields by setting custom.FIELD_ID to the field value, where FIELD_ID is the ID of the custom field, e.g.:
If a custom field has accepts_multiple_values: true, the entire value will be replaced. For example, given an Opportunity has a Custom Choice Field with value ["A", "B"], adding choice "C" would mean setting the value to ["A", "B", "C"].
Note that using the custom field dict or the custom.FIELD_NAME syntax (instead of custom field IDs) is deprecated and will be removed from the API. See Custom Fields for more details.