sale.paysystem.update
Scope: pay_system Permissions to execute: for all
Description
sale.paysystem.update( id, fiedls )
The method edits payment system.
Parameters
Method | Description | Available from version |
---|---|---|
id | Payment system identifier | |
fiedls | Set of fields (array type array("field":"value"[, ...]) ), containing values that describe payment system. Available fields:
|
Example
var id = prompt("Enter ID"); var name = prompt("Enter name"); BX24.callMethod('sale.paysystem.update', {"id": id, "fields": {"NAME" : name, "PERSON_TYPE_ID" : id, "BX_REST_HANDLER" : handler}}, function(result) { if(result.error()) { console.error(result.error()); } else { console.info("Payment system is updated"); } } );
© «Bitrix24», 2001-2024