Skip to content

Commit 3154eb8

Browse files
authored
Merge pull request mesilov#80 from mesilov/issue#79
issue#79 Add support crm.product.property.types
2 parents 4609fee + 5a672c7 commit 3154eb8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/classes/crm/product/property.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,16 @@ public function update($productPropertyId, array $fields)
101101

102102
return $fullResult;
103103
}
104+
105+
/**
106+
* get property types
107+
*
108+
* @link https://dev.1c-bitrix.ru/rest_help/crm/products/crm_product_property_types.php
109+
* @return array
110+
* @throws Bitrix24Exception
111+
*/
112+
public function getTypes()
113+
{
114+
return $this->client->call('crm.product.property.types');
115+
}
104116
}

0 commit comments

Comments
 (0)