Skip to content

Commit bc2c48d

Browse files
committed
Update README
1 parent d9a3422 commit bc2c48d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,27 @@ pipedrive.Deals.getAll({}, function(err, deals) {
4242
* ActivityTypes
4343
* Authorizations
4444
* Currencies
45+
* CompanyFeatures,
46+
* CompanySettings,
4547
* Deals
4648
* DealFields
4749
* Files
4850
* Filters
51+
* Goals
4952
* Notes
5053
* Organizations
5154
* OrganizationFields
55+
* PermissionSets
5256
* Persons
5357
* PersonFields
5458
* Pipelines
5559
* Products
5660
* ProductFields
61+
* Roles
5762
* SearchResults
5863
* Stages
5964
* Users
65+
* Webhooks
6066

6167
# Authorization against email and password
6268

@@ -122,7 +128,7 @@ To add a product to a deal, simply invoke the ```addProduct``` method on a deal
122128
```js
123129
pipedrive.Deals.get(1, function(err, deal) {
124130
if (err) throw err;
125-
deal.addProduct({ product_id: 1, quantity: 5, discount: 20 }, function(addErr, addData) {
131+
deal.addProduct({ product_id: 1, quantity: 5, item_price: 10, discount: 20 }, function(addErr, addData) {
126132
if (addErr) throw addErr;
127133
console.log('Product 1 was added to deal 1', addData);
128134
});

0 commit comments

Comments
 (0)