Pinvoice / pipedrive-php-api

PHP API for Pipedrive. Currently supports READ-ONLY requests.
MIT License
6 stars 7 forks source link

Add Deals #3

Closed melvinsh closed 9 years ago

melvinsh commented 10 years ago

Deals represent ongoing, lost or won sales to an Organization or to a Person. Each deal has a monetary value and must be placed in a Stage. Deals can be owned by a User, and followed by one or many Users. Each Deal consists of standard data fields but can also contain a number of custom fields. The custom fields can be recognized by long hashes as keys. These hashes can be mapped against DealField.key. The corresponding label for each such custom field can be obtained from DealField.name.

GET Get all deals/deals GET Get details of a deal/deals/:id POST Add a deal/deals PUT Update a deal/deals/:id DELETE Delete a deal/deals/:id DELETE Delete multiple deals in bulk/deals

GET List followers of a deal/deals/:id/followers GET List products attached to a deal/deals/:id/products POST Add a product to the deal/deals/:id/products DELETE Delete an attached product from a deal/deals/:id/products

GET List activities associated with a deal/deals/:id/activities GET List updates about a deal/deals/:id/updates GET List participants of a deal/deals/:id/participants GET List files attached to a deal/deals/:id/files GET List permitted users/deals/:id/permittedUsers GET List e-mail messages associated with a deal/deals/:id/emailMessages GET Find deals by name/deals/find GET Get deals timeline/deals/timeline