amal at July 8th, 2016 03:17 — #1
I am facing issue at the time of deal update, it automatically didn't picked the Owner_id when we changed the deal API v2 to API v3. In V3 need to add 'owner_id'=> $owner_id ? in V2 it automatically picked the owner_id of contact.. see attached file which will clarify my issue..
liam at July 11th, 2016 04:58 — #2
In API v3 the default owner_id is that of the user you are logged into the api as. This applies for actions, notes, deals and calls.
In API v2.3 the default was the owner of the contact.
You will need to manually set the
owner_id for the deal to that of the contact's owner.
Alternatively, you can switch the "active_user" in the API via this endpoint .
I realise that this isn't very clear for users switching from API 2 to 3, as it is mentioned only at the top of the API documentation, rather than in the sub resources. My apologies for the extra work this caused you. I will take a look at adding a set of default values to the field tables to make this clear.