get https://api.zenoti.com/v1/opportunities?view_id=&page_num=&records=&keywords=&owner=&type=&guest_id=&disposition_id=&followup_from_date=&followup_to_date=&creation_from_date=&creation_to_date=&status_id=&priority_id=&source_id=&last_modified_start_date=&last_modified_end_date=
Supply the unique identifier of the center and the fields on which you want to filter the opportunities and this API will return the list of opportunities in that center.
Recipes
🦉
Create an opportunity in sales module
Open Recipe
Returns
Returns the list of opportunities or returns the error in case of failure.
Response Details
Name | Type | Description |
---|---|---|
opportunity_id | guid | A unique identifier of the opportunity |
opportunity_no | integer | Number of the opportunity. |
opportunity_title | string | Title given to the opportunity |
center_name | string | Name of the center. |
sales_owner | string | Name of the owner. |
stage_name | string | Name of the stage. |
creation_date | datetime | Date on which the opportunity is created. |
followup_date | datetime | Date on which a followup call is planned |
price | double? | Offered price, gives listed price if the offered price doesn't exist or zero |
call_status | string | Status of the call. |
guest | object | Contains details of the guest. |
guest.guest_id | guid | Unique Id of the guest. |
guest.guest_name | string | Name of the guest. |
guest.guest_code | string | Code used to identify the guest. |
guest.phone_number | string | Phone number of the guest. |
invoices | array | contains list of invoice objects created using this opportunity |
invoices.invoice_id | guid | unique identifier of the invoice |
invoices.invoice_no | string | unique number given to the invoice |