Create opportunity
getfly_create_opportunityWRITE: Create a sales opportunity in a campaign for a customer and assign it to a user. Creates (or links) the customer and contact from the details given. The assigned user and the campaign rules may be notified by Getfly. POST /api/v6.1/opportunity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_code | No | Existing customer code, if the customer already exists. | |
| account_name | Yes | Customer name. | |
| contact_name | Yes | Contact person name. | |
| account_email | No | ||
| account_phone | Yes | Customer phone number. | |
| campaign_code | Yes | Campaign code (getfly_list_campaigns). | |
| contact_email | No | ||
| contact_phone | Yes | Contact phone number. | |
| recipient_username | Yes | Login name of the user who handles it (getfly_list_users → user_name). |