Documentation

sale.paysystem.handler.update

sale.paysystem.handler.update (
   id,
   fiedls
)

This method updates REST-handler.

Parameters

Parameter Description Available from version
fiedls Set of fields (array type array("field":"value"[, ...])), containing values, describing the handler. Available fields:
  • NAME - Name of handler
  • CODE - Unique handler code in the system
  • SETTINGS - Handler settings
  • SORT - Sorting

Example

var id = prompt("Enter ID");
var name = prompt("Enter name");

BX24.callMethod('sale.paysystem.handler.update', {"id": id, "fields": {NAME : name}},
	function(result)
	{
		if(result.error())
			console.error(result.error());
		else
		{
			console.info("Handler is updated");
		}
	}
);


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019