Documentation

sale.persontype.list

sale.persontype.list(select, filter, order, navigation)

The method gets list of payer types.

When successful, returns list of items in response body.

Payer types can be retrieved via crm.persontype.list for payment systems used in CRM (for invoices, deals). In case when payment system is created for orders, use sale.persontype.list.

Parameters

ParameterType Description
selectobject Fields, corresponding to available list of fields.
filterobject Fields, corresponding to available list of fields.
orderobject Fields, corresponding to available list of fields.
navigationstring Number of display page.


Examples

BX24.callMethod(
    'sale.persontype.list', 
    { select:{
		id		
	  } ,
	  filter:{
	    code: 'test'
	  },
	  order:{
		id: ASC
	  },
	  navigation: 1
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2022
Up