pipedrive / client-php

Pipedrive API client for PHP
MIT License
49 stars 57 forks source link

Wrong param docs for addADeal #5

Closed Tlapi closed 4 years ago

Tlapi commented 4 years ago

In function docs there is: @param object $body (optional) TODO: type description here but there should be array.

mykhailo-riabokon commented 4 years ago

Hi @Tlapi

POST /deals (addADeal) accepts the request body as an object, more about this endpoint here. If the request body is presented as an array it results in 400 error.