sale.persontype.update
sale.persontype.update(id, fields)
Th method updates payer type fields.
When successful, returns payer type resource in response body.
Parameters
Parameter | Type | Description |
---|---|---|
id | string | Number of payer type. |
fields | object | Fields, corresponding to available list of fields . |
Examples
BX24.callMethod( 'sale.persontype.update', { id: 101, fields: { name: 'Individual entity', } } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024