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
20 changes: 20 additions & 0 deletions src/classes/crm/product/property.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,26 @@ public function get($productPropertyId)
return $fullResult;
}

/**
* delete product property by id
*
* @link https://dev.1c-bitrix.ru/rest_help/crm/products/crm_product_property_delete.php
*
* @param integer $productPropertyId - product property identifier
*
* @return array
* @throws Bitrix24Exception
*/
public function delete($productPropertyId)
{
$fullResult = $this->client->call(
'crm.product.property.delete',
array('id' => $productPropertyId)
);

return $fullResult;
}

/**
* get product property list
*
Expand Down