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