Syntax
createEticket( buyer, product_id, location_id, template_id, date, days=1,
note=1, count=1 )
Creates free etickets.
Access rights
Full access required.
Parameters
-
buyer: array with these fields:
- email
- title
- salutation = m/f
- last_name
- first_name
(all optional) - product_id
- location_id - see listEticketLocations().
- template_id - see listEticketTemplates().
- date: date
- days: int - number of days of the event. Defaults to 1.
- note: an optional note, like the time
- count: number of etickets to create. Defaults to 1
Return data
[data] => Array ( [etickets] => Array ( [0] => Array ( [id] => 91250221638979454637 [url] => http://www.digistore.local/eticket/file91250221638979454637.pdf [email] => bla@atte.de )