I’ve looked through all questions, but couldn’t find an answer to my problem.
I am able to add an opportunity with the following properties:
- stage (id)
- contact (id)
However, I am not able to map a user. I know the ID of the user, but the created opportunity always defaults to the User with ID ‘1’. When I create an opportunity through the API with User id ‘0’ (zero), then no user is attached to the opportunity.
When I create an opportunity with userid ‘26’, which is the ID of the user I want to map the opportunity to, the user on the opportunity is userid ‘1’. I can manually select the User with ID 26 when I’ve created the opportunity, so the user has rights to be assigned to opportunities.
If anyone has some knowledge that could point me in the right direction, I would greatly appreciate that.
Below the JSON that I send with the API:
“opportunity_title”:“Quote Request #Q10.84”,
“opportunity_notes”:“1 x (msj006c-Red-L) Plaid Cotton Shirt-Red-L \n1 x (msj006c-Royal Blue-M) Plaid Cotton Shirt-Royal Blue-M \n”,
Thanks in advance!