Community
Showing results for 
Search instead for 
Do you mean 
Reply

Creating opportunity with assgned contacts and companies

New Member
Posts: 1
Country: Poland

Creating opportunity with assgned contacts and companies

Hi,

 

my client is using act.com Version 21.0.295.0, Update 5. I've been asked to create Opportunities via API. I'd like to have Opportunity assigned to existing contact and company. Unfortunately all opportunities I created are not linked to neither contact nor company. Below I'm pasting some request I'm sending:

 

{
  "name": "Test Store",
  "companies": [
    {
      "id": "be1047dd-6f0a-4fa0-b42f-c5cdddf5caa7"
    }
  ],
  "contacts": [
    {
      "id": "b36c3090-f74a-41fc-8241-7bf137c082a9"
    }
  ],
  "estimatedCloseDate": "2019-05-29T10:54:44.160Z",
  "isPrivate": true,
  "openDate": "2019-04-29T10:54:44.160Z",
  "source": "Shopify App",
  "status": "Open",
  "relatedEntitiesResolver": true
}

Can you help with that? I've no idea what I may be doing wrong. 


Thanks in advance!