catalog.store.delete
Scope: catalog Permissions to execute: for all
catalog.store.delete(id)
Method for deleting a warehouse.
Returns Y
in response body on success.
Parameters
Parameter | Type | Description |
---|---|---|
id | integer | Warehouse ID. |
Example
BX24.callMethod( 'catalog.store.delete', { id: 42, }, function(result) { if(result.error()) console.error(result.error()); else console.log(result.data()); } );
$result = CRest::call( 'catalog.store.delete', [ 'id' => 42, ] ); echo '<pre>'; print_r($result); echo '</pre>';
© «Bitrix24», 2001-2024