Navigation: Developing Apps > BINETIX® SPMM™ API > Erlang Modules > spmm
confirm_customers/1
Description
confirm_customers/1 is an Erlang function exported by "age_spmm" module.
Performs batch confirmation into the Client's Registry using one or more customer IDs.
Detailed specification of this batch processing is provided here.
References
•confirm_customers
Parameters
Name
Type
IDs
list()
List of Client IDs
Result
Value or Type
List of map()
On success return list of maps referring only the updated Client's Registry records.
Code Sample
> spmm:confirm_customers([1, 2, 5, 52]). [#{clinet_id => 1,status => updated}, #{clinet_id => 52,status => updated}]