Name |
Type |
Description |
Notes |
id |
String |
Unique deal id |
[optional] |
attributes |
Object |
Deal attributes with values |
[optional] |
linked_contacts_ids |
Array<Integer> |
Contact ids for contacts linked to this deal |
[optional] |
linked_companies_ids |
Array<String> |
Companies ids for companies linked to this deal |
[optional] |
require 'brevo'
instance = Brevo::Deal.new(
id: 629475917295261d9b1f4403,
attributes: {"deal_name":"testname","deal_owner":"6093d2425a9b436e9519d034","amount":12,"pipeline":"6093d296ad1e9c5cf2140a58","deal_stage":"9e577ff7-8e42-4ab3-be26-2b5e01b42518","stage_updated_at":"2022-05-30T07:42:05.671Z","created_at":"2022-05-30T07:42:05.671Z","number_of_contacts":1,"last_updated_date":"2022-06-06T08:38:36.761Z","last_activity_date":"2022-06-06T08:38:36.000Z","next_activity_date":null,"number_of_activities":0},
linked_contacts_ids: [1,2,3],
linked_companies_ids: ["61a5ce58c5d4795761045990","61a5ce58c5d4795761045991","61a5ce58c5d4795761045992"]
)