Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
issue#79 Add support crm.product.property.types
  • Loading branch information
mesilov committed Oct 29, 2017
commit 5a672c7a2046f5b7fe05e463768d3937b68dd589
12 changes: 12 additions & 0 deletions src/classes/crm/product/property.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,16 @@ public function update($productPropertyId, array $fields)

return $fullResult;
}

/**
* get property types
*
* @link https://dev.1c-bitrix.ru/rest_help/crm/products/crm_product_property_types.php
* @return array
* @throws Bitrix24Exception
*/
public function getTypes()
{
return $this->client->call('crm.product.property.types');
}
}