# adminus_crm_fetch_customers

Name adminus_crm_fetch_customers
Type callback
Version 1.0
Since 2020-01-01

# Prologue

Gets customers ids from given input variable, load their data from CRM and fills received data to output variable.

# Configuration

events:

	# Event's name
	on_step_start:

		# Callback's name
		adminus_crm_fetch_customers:
			config:

				# Required
				# LPL support
				# Variable containing API connection with user credentials as DSN string
				# For example: https://user:pass@crm.ispalliance.cz/api/
				connection: "'https://username:password@host'"


				# Required
				# variable name containing the list of customer ids (e.g.: used in customer pick panel) or single customer id
				input: customers

				# Required
				# variable in which customers data should be stored
				output: customers_data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23