Glownet API

Glownet Developer Hub

Whether you are an official Glownet partner or just an independent developer, here you will find guides and documentation for Glownet API, as well as support if you get stuck.

Let's jump right in!

Get Started    API Documentation
Suggest Edits

/events

Get a list of all events

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
  {
    "id": 666,
    "name": "osmell festival",
    "slug": "osmell-festival",
    "logo": "/assets/glownet-event-logo.png",
    "background": "/assets/background-default.jpg",
    "currency": "EUR",
    "state": "created",
    "open_topups": true,
    "open_refunds": true,
    "every_topup_fee": null,
    "onsite_initial_topup_fee": null,
    "online_initial_topup_fee": null,
    "gtag_deposit_fee": null,
    "refund_fee": null,
    "maximum_gtag_balance": 300,
    "credit": {
        "id": 666,
        "name": "CRD",
        "value": "1.0",
        "currency": "EUR",
        "currency_symbol": "€",
        "credit_symbol": "C"
    }
	}
]
 

Retrieves a list of all customers for a specific event. Customers can be anonymous or registered and may or may not have name and email.

Suggest Edits

/events/:id

Get details of one event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "id": 666,
    "name": "osmell festival",
    "slug": "osmell-festival",
    "logo": "/assets/glownet-event-logo.png",
    "background": "/assets/background-default.jpg",
    "currency": "EUR",
    "state": "created",
    "open_topups": true,
    "open_refunds": true,
    "every_topup_fee": null,
    "onsite_initial_topup_fee": null,
    "online_initial_topup_fee": null,
    "gtag_deposit_fee": null,
    "refund_fee": null,
    "maximum_gtag_balance": 300,
 	  "event_serie": null,
    "credit": {
        "id": 666,
        "name": "CRD",
        "value": "1.0",
        "currency": "EUR",
        "currency_symbol": "€",
        "credit_symbol": "C"
    }
}

Path Params

id
int32
required

Id of event

 

Retrieves a list of all customers for a specific event. Customers can be anonymous or registered and may or may not have name and email.

Suggest Edits

/events/:id

Update details of one event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/:event_id
{
  "event": {
    "maximum_gtag_balance": 450,
    "every_topup_fee": 450,
    "onsite_initial_topup_fee": 450,
    "online_initial_topup_fee": 450, 
    "gtag_deposit_fee": 450,
    "refund_fee": 450
  }
}
A binary file was returned

You couldn't be authenticated

{
    "id": 666,
    "name": "osmell festival",
    "slug": "osmell-festival",
    "logo": "/assets/glownet-event-logo.png",
    "background": "/assets/background-default.jpg",
    "currency": "EUR",
    "state": "created",
    "open_topups": true,
    "open_refunds": true,
    "every_topup_fee": 450,
    "onsite_initial_topup_fee": 450,
    "online_initial_topup_fee": 450,
    "gtag_deposit_fee": 450,
    "refund_fee": 450,
    "maximum_gtag_balance": 450,
	  "event_serie": null,
    "credit": {
        "id": 666,
        "name": "CRD",
        "value": "1.0",
        "currency": "EUR",
        "currency_symbol": "€",
        "credit_symbol": "C"
    }
}

Path Params

id
int32
required

Id of event

Body Params

event
object
 
event.every_topup_fee
float

Fee charged (in credits) at every topup

event.onsite_initial_topup_fee
float

Fee charged (in credits) on first onsite fee

event.online_initial_topup_fee
float

Fee charged (in credits) on first online fee

event.gtag_deposit_fee
float

Fee charged (in credits) as gtag deposit

event.refund_fee
float

Fee charged (in credits) when doing refund onsite

event.maximum_gtag_balance
float

Maximum number of credits allowed in any gtag

 

Retrieves a list of all customers for a specific event. Customers can be anonymous or registered and may or may not have name and email.

Suggest Edits

/customers

Get all customers of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/customers
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/customers
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/customers' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/customers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/customers");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/customers"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
        "id": 666,
        "first_name": "Vicentest",
        "last_name": "Test",
        "email": "test@test.com",
        "anonymous": false
    }
]

Path Params

event_id
int32
required

Event id

 

Retrieves a list of all customers for a specific event. Customers can be anonymous or registered and may or may not have name and email.

Suggest Edits

/customers/:id

Get a customer of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/customers/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/customers/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/customers/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/customers/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/customers/id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "id": 11111,
    "first_name": "Miguel",
    "last_name": "Alvarez",
    "email": "fakemail1@glownet.com",
    "phone": null,
    "birthdate": null,
    "postcode": null,
    "address": null,
    "city": null,
    "country": null,
    "gender": null,
    "global_refundable_money": "70.0",
    "global_money": "71.0",
    "locale": "en",
    "anonymous": false
}

Path Params

event_id
int32
required

Event id

id
int32
required

Customer id

 
Suggest Edits

/customers

Create a customer of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/customers
{
  "customer": {
    "first_name": "Jhon",
    "last_name": "Doe",
    "email": "test@test.com",
    "password": "s3cur3p455w0rd",
    "phone": "512 2301 440",
    "birthdate": "1999-05-05",
    "postcode": "28012",
    "country": "ES",
    "gender": "male"
  }
}
A binary file was returned

You couldn't be authenticated

{
    "id": 610166,
    "first_name": "Jhon",
    "last_name": "Doe",
    "email": "test@test.com",
    "phone": "512 2301 440",
    "birthdate": "1999-05-05",
    "postcode": "28012",
    "address": null,
    "city": null,
    "country": "ES",
    "gender": "male",
    "virtual_money": "0.0",
    "money": "100.0",
    "locale": "en",
    "anonymous": false,
    "refundable": true,
    "gtags": [],
    "tickets": [],
    "orders": []
}

Path Params

event_id
int32
required

Event id

Body Params

customer
object
 
customer.first_name
string
required
customer.last_name
string
required
customer.email
string
required
customer.phone
string
customer.birthdate
string
customer.postcode
string
customer.address
string
customer.city
string
customer.country
string
customer.gender
string
customer.password
string

Will be randomly generated if left blank

 

Creates a customer for the event specified.

If password is not supplied, a random one is generated for this customer, enabling it to log into the portal

Suggest Edits

/customers/:id

Modify a customer of an event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/:event_id/customers/:id
{
	"customer": {
	    "first_name": "Miguel",
	    "last_name": "Alvarez",
	    "email": "m.a@test.com"
  	}
}
A binary file was returned

You couldn't be authenticated

{
    "id": 92465,
    "first_name": "Miguel",
    "last_name": "Alvarez",
    "email": "whatever@gmail.com",
    "phone": null,
    "birthdate": null,
    "postcode": null,
    "address": null,
    "city": null,
    "country": null,
    "gender": null,
    "global_refundable_money": "0.0",
    "global_money": "0.0",
    "locale": "en",
    "anonymous": false
}

Path Params

event_id
int32
required

Event id

Body Params

customer
object
required
 
customer.first_name
string
required
customer.last_name
string
required
customer.email
string
required
customer.phone
string
customer.birthdate
string
customer.postcode
string
customer.address
string
customer.city
string
customer.country
string
customer.gender
string
customer.password
string

Will be randomly generated if left blank

 
Suggest Edits

/customers/:id

Delete a customer of an event

 

Header Auth

 Authentication is required for this endpoint.
deletehttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id
curl --request DELETE \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/customers/id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/customers/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/customers/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://sandbox.glownet.com/api/v2/events/:event_id/customers/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/customers/id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

event_id
int32
required

Event id

id
int32
required

Customer id

 

Warning

Cannot be done once the event is launched.

Suggest Edits

/customers/:id/topup

Create a topup for a customer

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id/topup
{
	"gateway": "paypal",
	"credits": 50,
	"send_email": true,
	"money_base": 30,
	"money_fee": 2
}
A binary file was returned

You couldn't be authenticated

{
    "id": 401621,
    "customer_id": 1017849,
    "status": "completed",
    "completed_at": "2018-03-15T02:20:16.182+01:00",
    "gateway": null,
    "money_base": "30.0",
    "money_fee": "2.0",
    "order_items": [
        {
            "id": 404138,
            "amount": "10.0",
            "redeemed": false,
            "counter": 3,
            "catalog_item_id": 8569,
            "catalog_item_type": "Credit",
            "credits": "50.0"
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Customer id (or email)

Body Params

credits
float
required

Credits to be topped up

gateway
string

Payment gateway used to pay for credits

send_email
boolean

Send email to customer

money_base
float

Amount paid by customer in currency

money_fee
float

Amount paid by customer as fee

 
Suggest Edits

/customers/:id/virtual_topup

Create a virtual topup for a customer

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id/virtual_topup
{
	"gateway": "paypal",
	"credits": 50,
	"send_email": true,
	"money_base": 30,
	"money_fee": 2
}
A binary file was returned

You couldn't be authenticated

{
    "id": 401621,
    "customer_id": 1017849,
    "status": "completed",
    "completed_at": "2018-03-15T02:20:16.182+01:00",
    "gateway": null,
    "money_base": "30.0",
    "money_fee": "2.0",
    "order_items": [
        {
            "id": 404138,
            "amount": "10.0",
            "redeemed": false,
            "counter": 3,
            "catalog_item_id": 8569,
            "catalog_item_type": "VirtualCredit",
            "credits": "50.0"
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Customer id (or email)

Body Params

credits
float
required

Credits to be topped up

gateway
string

Payment gateway used to pay for credits

send_email
boolean

Send email to customer about operation

money_base
float

Money paid by customer in currency

money_fee
float

Money paid by customer in currency

 
Suggest Edits

/customers/:id/ban

Ban a gtag of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id/ban
curl --request POST \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/ban
var request = require("request");

var options = { method: 'POST',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/ban' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/ban")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/ban");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/ban"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "id": 92331,
    "first_name": "John",
    "last_name": "Doe",
    "email": "nosenose@nose.com",
    "phone": null,
    "birthdate": null,
    "postcode": null,
    "address": null,
    "city": null,
    "country": null,
    "gender": null,
    "global_refundable_money": "30.0",
    "global_money": "30.0",
    "locale": "en",
    "anonymous": false,
    "gtags": [
        {
            "id": 1189827,
            "tag_uid": "89889898989812",
            "banned": true,
            "format": "wristband",
            "active": true,
            "credits": "0.0",
            "refundable_credits": "0.0",
            "final_balance": "0.0",
            "final_refundable_balance": "0.0",
            "redeemed": false
        }
    ],
    "tickets": [],
    "orders": [
        {
            "id": 100494,
            "status": "completed",
            "total": "30.0",
            "completed_at": "2017-08-16T12:10:08.014+02:00",
            "gateway": "paypal",
            "customer_id": 92491
        },
        {
            "id": 100493,
            "status": "refunded",
            "total": "-30.0",
            "completed_at": "2017-08-16T11:57:38.811+02:00",
            "gateway": "bank_account",
            "customer_id": 92491
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

tag_uid
int32
required

Gtag tag_uid (or id)

 
Suggest Edits

/customers/:id/unban

Unban a gtag of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id/unban
curl --request POST \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/unban
var request = require("request");

var options = { method: 'POST',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/unban' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/unban")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/unban");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/unban"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "id": 92331,
    "first_name": "John",
    "last_name": "Doe",
    "email": "nosenose@nose.com",
    "phone": null,
    "birthdate": null,
    "postcode": null,
    "address": null,
    "city": null,
    "country": null,
    "gender": null,
    "global_refundable_money": "30.0",
    "global_money": "30.0",
    "locale": "en",
    "anonymous": false,
    "gtags": [
        {
            "id": 1189827,
            "tag_uid": "89889898989812",
            "banned": false,
            "format": "wristband",
            "active": true,
            "credits": "0.0",
            "refundable_credits": "0.0",
            "final_balance": "0.0",
            "final_refundable_balance": "0.0",
            "redeemed": false
        }
    ],
    "tickets": [],
    "orders": [
        {
            "id": 100494,
            "status": "completed",
            "total": "30.0",
            "completed_at": "2017-08-16T12:10:08.014+02:00",
            "gateway": "paypal",
            "customer_id": 92491
        },
        {
            "id": 100493,
            "status": "refunded",
            "total": "-30.0",
            "completed_at": "2017-08-16T11:57:38.811+02:00",
            "gateway": "bank_account",
            "customer_id": 92491
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

tag_uid
int32
required

Gtag tag_uid (or id)

 
Suggest Edits

/customers/:id/refund

Create a topup of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id/refund
{
  	"gateway": "paypal",
  	"send_email": true
}
A binary file was returned

You couldn't be authenticated

{
        "id": 104560,
        "customer_id": 666,
        "status": "started",
        "fields": {},
        "credit_base": "10.0",
        "credit_fee": "0.0",
        "money_base": "10.0",
        "money_fee": "0.0"
    }

Path Params

event_id
int32
required

Event id

id
mixed type
required

Customer id (or email)

Body Params

gateway
string

Payment gateway used to make refund

send_email
boolean

Send email to customer

 
Suggest Edits

/customers/:id/refunds

Get all refunds of a customer of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id/refunds
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/refunds
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/refunds' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/refunds")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/refunds");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/customers/id/refunds"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
  {
    "id": 11111,
    "amount": "34.0",
    "status": "completed",
    "fee": "2.0",
    "field_a": "017729",
    "field_b": "540097364",
    "customer": {
      "id": 22222,
      "first_name": "Fran",
      "last_name": "Moya",
      "email": "idontknowman@gmail.com",
      "anonymous": false
    }
    },
    {
      "id": 11222,
      "amount": "10.0",
      "status": "completed",
      "fee": "2.0",
      "field_a": "017729",
      "field_b": "540097364",
      "customer": {
        "id": 22222,
        "first_name": "Fran",
        "last_name": "Moya",
        "email": "idontknowman@gmail.com",
        "anonymous": false
      }
  }
]

Path Params

event_id
int32
required

Event id

id
int32
required

Customer id

 
Suggest Edits

/customers/:id/assign_ticket

Assign a ticket to an existing customer

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id/assign_ticket
{
	"code": "111122225555"
}
A binary file was returned

You couldn't be authenticated

{
    "id": 85634,
    "first_name": null,
    "last_name": null,
    "email": null,
    "phone": null,
    "birthdate": null,
    "postcode": null,
    "address": null,
    "city": null,
    "country": null,
    "gender": null,
    "global_refundable_money": "150.0",
    "global_money": "200.0",
    "locale": "en",
    "anonymous": true,
    "gtags": [
        {
            "id": 1234567,
            "tag_uid": "12345671234568",
            "banned": false,
            "format": "wristband",
            "active": true,
            "credits": "50.0",
            "refundable_credits": "0.0",
            "final_balance": "0.0",
            "final_refundable_balance": "0.0",
            "redeemed": false
        }
    ],
    "tickets": [
        {
            "id": 123456,
            "code": "111122225555",
            "redeemed": false,
            "banned": false,
            "purchaser_first_name": null,
            "purchaser_last_name": null,
            "purchaser_email": null
        }
    ],
    "orders": [
        {
            "id": 345678,
            "status": "completed",
            "total": 0,
            "completed_at": "2017-09-11T14:29:59.922+02:00",
            "gateway": null,
            "customer_id": 92492
        },
        {
            "id": 987654,
            "status": "completed",
            "total": 0,
            "completed_at": "2017-09-11T14:29:36.719+02:00",
            "gateway": null,
            "customer_id": 92492
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

tag_uid
int32
required

Gtag tag_uid (or id)

Body Params

code
string
required

Ticket code

 
Suggest Edits

/customers/:id/assign_gtag

Assign a ticket to an existing customer

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id/assign_gtag
{
	"tag_uid": "111122225555"
}
A binary file was returned

You couldn't be authenticated

{
    "id": 85634,
    "first_name": null,
    "last_name": null,
    "email": null,
    "phone": null,
    "birthdate": null,
    "postcode": null,
    "address": null,
    "city": null,
    "country": null,
    "gender": null,
    "global_refundable_money": "150.0",
    "global_money": "200.0",
    "locale": "en",
    "anonymous": true,
    "gtags": [
        {
            "id": 1234567,
            "tag_uid": "111122225555",
            "banned": false,
            "format": "wristband",
            "active": true,
            "credits": "50.0",
            "refundable_credits": "0.0",
            "final_balance": "0.0",
            "final_refundable_balance": "0.0",
            "redeemed": false
        }
    ],
    "tickets": [
        {
            "id": 123456,
            "code": "JHSDGKJHSDGFUDY",
            "redeemed": false,
            "banned": false,
            "purchaser_first_name": null,
            "purchaser_last_name": null,
            "purchaser_email": null
        }
    ],
    "orders": [
        {
            "id": 345678,
            "status": "completed",
            "total": 0,
            "completed_at": "2017-09-11T14:29:59.922+02:00",
            "gateway": null,
            "customer_id": 92492
        },
        {
            "id": 987654,
            "status": "completed",
            "total": 0,
            "completed_at": "2017-09-11T14:29:36.719+02:00",
            "gateway": null,
            "customer_id": 92492
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

tag_uid
int32
required

Gtag tag_uid (or id)

Body Params

code
string
required

Ticket code

 
Suggest Edits

/customers/:id/gtag_replacement

Unban a gtag of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/customers/id/gtag_replacement
{
	"new_tag_uid": "12345671234568"
}
A binary file was returned

You couldn't be authenticated

{
    "id": 85634,
    "first_name": null,
    "last_name": null,
    "email": null,
    "phone": null,
    "birthdate": null,
    "postcode": null,
    "address": null,
    "city": null,
    "country": null,
    "gender": null,
    "global_refundable_money": "150.0",
    "global_money": "200.0",
    "locale": "en",
    "anonymous": true,
    "gtags": [
        {
            "id": 1234567,
            "tag_uid": "12345671234568",
            "banned": false,
            "format": "wristband",
            "active": true,
            "credits": "50.0",
            "refundable_credits": "0.0",
            "final_balance": "0.0",
            "final_refundable_balance": "0.0",
            "redeemed": false
        }
    ],
    "tickets": [
        {
            "id": 123456,
            "code": "111122225555",
            "redeemed": false,
            "banned": false,
            "purchaser_first_name": null,
            "purchaser_last_name": null,
            "purchaser_email": null
        }
    ],
    "orders": [
        {
            "id": 345678,
            "status": "completed",
            "total": 0,
            "completed_at": "2017-09-11T14:29:59.922+02:00",
            "gateway": null,
            "customer_id": 92492
        },
        {
            "id": 987654,
            "status": "completed",
            "total": 0,
            "completed_at": "2017-09-11T14:29:36.719+02:00",
            "gateway": null,
            "customer_id": 92492
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

tag_uid
int32
required

Gtag tag_uid (or id)

Body Params

new_tag_uid
string
required
 
Suggest Edits

/customers/:id/pokes

Get pokes for a customer

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/customers/customer_id/pokes
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/customers/customer_id/pokes
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/customers/customer_id/pokes' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/customers/customer_id/pokes")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/customers/customer_id/pokes");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/customers/customer_id/pokes"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
		"event_id": 317,
		"action": "sale",
		"description": "sale",
		"operation_id": 21172,
		"source": "onsite",
		"date": "2018-03-21T13:31:16.000+01:00",
		"line_counter": 1,
		"gtag_counter": 9,
		"device_id": 5356,
		"station_id": 10658,
		"customer_id": 974684,
		"customer_gtag_id": 1993812,
		"operator_id": 974685,
		"operator_gtag_id": 1993813,
		"credential_type": null,
		"credential_id": null,
		"ticket_type_id": null,
		"product_id": null,
		"order_id": null,
		"catalog_item_id": null,
		"catalog_item_type": null,
		"sale_item_quantity": null,
		"sale_item_unit_price": null,
		"sale_item_total_price": null,
		"standard_unit_price": null,
		"standard_total_price": null,
		"payment_method": null,
		"monetary_quantity": null,
		"monetary_unit_price": null,
		"monetary_total_price": null,
		"credit_type": "CatalogItem",
		"credit_id": 849,
		"credit_name": "Virtual",
		"credit_amount": "15.0",
		"final_balance": "25.0",
		"message": null,
		"priority": null,
		"user_flag_value": null,
		"access_direction": null
    }
]

Path Params

event_id
int32
required

Event id

customer_id
int32
required

Customer id

 
Suggest Edits

/orders

Get all orders of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/orders
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/orders
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/orders' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/orders")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/orders");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/orders"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
  [
    {
      "id": 2,
      "status": "completed",
      "total": "50.0",
      "completed_at": "2017-07-05T10:50:42.708+02:00",
      "gateway": "bank_account",
      "customer_id": 73600,
      "order_items": [
        {
          "id": 5,
          "amount": "50.0",
          "total": "50.0",
          "redeemed": false,
          "counter": 2
        }
      ]
    },
    {
      "id": 3,
      "status": "completed",
      "total": 0,
      "completed_at": "2017-07-05T10:27:55.954+02:00",
      "gateway": null,
      "customer_id": 73600,
      "order_items": []
    },
    {
      "id": 4,
      "status": "completed",
      "total": 0,
      "completed_at": "2017-07-05T10:27:40.177+02:00",
      "gateway": null,
      "customer_id": 73600,
      "order_items": []
    },
  ]
}

Path Params

:event_id
int32
required

Event id

 
Suggest Edits

/orders/:id

Return an order.

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/orders/:id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/orders/:id
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/orders/:id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/orders/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/orders/:id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/orders/:id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
  "id": 3,
	"status": "completed",
	"total": "30.0",
	"completed_at": "2017-05-09T13:10:24.650+02:00",
	"gateway": "stripe",
	"customer_id": 2,
	"order_items": [
  	{
			"id": 50,
			"amount": "30.0",
			"total": "30.0",
			"redeemed": false,
			"counter": 1
		}
	]
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Order id

 
Suggest Edits

/orders/:id

Modify an order

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/:event_id/orders/:id
{
  "order": {
    "gateway": "bank_account"
  }
}
A binary file was returned

You couldn't be authenticated

{
  "event_id": 1,
  "id": 79680,
  "customer_id": 73582,
  "status": "completed",
  "completed_at": "2017-05-09T13:10:24.650+02:00",
  "gateway": "bank_account",
  "refund_data": {}
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Order id

Body Params

order
object
required
 
 
Suggest Edits

/orders/:id

Delete an order

 

Header Auth

 Authentication is required for this endpoint.
deletehttps://sandbox.glownet.com/api/v2/events/:event_id/orders/:id
curl --request DELETE \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/orders/:id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/orders/:id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/orders/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://sandbox.glownet.com/api/v2/events/:event_id/orders/:id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/orders/:id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

:event_id
int32
required

Event id

:id
int32
required

Order id

 

Warning

Cannot be done once event is launched

Suggest Edits

/orders/:id/complete

Marks order as complete, can send email if necessary. This is mandatory for order redemption

 

Header Auth

 Authentication is required for this endpoint.
puthttps://sandbox.glownet.com/api/v2/events/:event_id/orders/:id/complete
{
  "order": {
    "payment_data": "{}",
    "gateway": "stripe"
  },
  "send_email": true
}
A binary file was returned

You couldn't be authenticated

{
  "event_id": 1,
  "id": 79680,
  "status": "completed",
  "gateway": "stripe",
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Order id

Body Params

send_email
boolean

Send customer an email of this change

order
object
 
order.gateway
string

Payment gateway used for the order

order.payment_data
json

Payment response form gateway

 
Suggest Edits

/refunds

Get all refunds of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/refunds
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/refunds
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/refunds' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/refunds")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/refunds");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/refunds"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
        "id": 104560,
        "customer_id": 1017849,
        "status": "started",
        "fields": {},
        "credit_base": "10.0",
        "credit_fee": "0.0",
        "money_base": "10.0",
        "money_fee": "0.0"
    },
    {
        "id": 104561,
        "customer_id": 1017850,
        "status": "started",
        "fields": {},
        "credit_base": "10.0",
        "credit_fee": "5.0",
        "money_base": "10.0",
        "money_fee": "5.0"
    }
]

Path Params

event_id
mixed type
required

ID or slug of event

 
Suggest Edits

/refunds/:id

Get a refund of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/refunds/id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/refunds/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/refunds/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/refunds/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/refunds/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/refunds/id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "id": 19984,
    "amount": "5.0",
    "status": "started",
    "fee": "0.0",
    "field_a": null,
    "field_b": null,
    "customer_id": 32657
}

Path Params

event_id
int32
required

Event id

id
int32
required

Refund id

 
Suggest Edits

/refunds

Create a new refund of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/refunds
{
	"refund": {
		"customer_id": 666,
		"credit_fee": 2,
		"credit_base": 8,
		"gateway": "paypal"
	}
}
A binary file was returned

You couldn't be authenticated

{
    "id": 999,
    "customer_id": 666,
    "status": "started",
    "fields": {},
    "credit_base": "8.0",
    "credit_fee": "2.0",
    "money_base": "8.0",
    "money_fee": "2.0"
}

Path Params

event_id
int32
required

Event id

Body Params

refund
object
 
refund.customer_id
integer
required
refund.credit_base
float
required

Amount in credits returned to customer

refund.credit_fee
float

Amount in credits retained form customer

refund.gateway
string

Payment gateway used to transfer funds

refund.fields
json

Field name and values for refund information

 
Suggest Edits

/refunds/:id

Modify a refund of an event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/:event_id/refunds/id
{
	"refund": {
    	"amount": 50
  }
}
A binary file was returned

You couldn't be authenticated

{
  "id": 35775,
  "amount": "50.0",
  "status": null,
  "fee": "0.0",
  "field_a": null,
  "field_b": null,
  "customer_id": 73566
}

Path Params

event_id
int32
required

Event id

id
int32
required

Refund id

Body Params

refund
object
 
refund.amount
float

Refund amount

refund.status
string

Refund status

refund.fee
float

Refund fee

refund.field_a
string

Bank account

refund.field_b
string

Bank account

refund.customer_id
int32

Customer id

refund.gateway
string

Gateway

 
Suggest Edits

/refunds/:id

Delete a refund of an event

 

Header Auth

 Authentication is required for this endpoint.
deletehttps://sandbox.glownet.com/api/v2/events/:event_id/refunds/id
curl --request DELETE \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/refunds/id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/refunds/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/refunds/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://sandbox.glownet.com/api/v2/events/:event_id/refunds/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/refunds/id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

event_id
int32
required

Event id

id
int32
required

Refund id

 

Warning

Cannot be done once event is launched

Suggest Edits

/refunds/:id/complete

Marks refund as complete, can send email if necessary. This is mandatory for order redemption

 

Header Auth

 Authentication is required for this endpoint.
puthttps://sandbox.glownet.com/api/v2/events/:event_id/refunds/id/complete
{
  	"gateway": "paypal",
	"send_email": true
}
A binary file was returned

You couldn't be authenticated

{
    "id": 104563,
    "customer_id": 666,
    "status": "completed",
    "fields": {},
    "credit_base": "197.0",
    "credit_fee": "3.0",
    "money_base": "394.0",
    "money_fee": "6.0"
}

Path Params

event_id
int32
required

Event id

id
int32
required

Refund id

Body Params

send_email
boolean

Send email to customer from Glownet about refund

gateway
string

payment gateway used for refund

 
Suggest Edits

/refunds/:id/cancel

Marks refund as cancelled, can send email if necessary

 

Header Auth

 Authentication is required for this endpoint.
puthttps://sandbox.glownet.com/api/v2/events/:event_id/refunds/id/cancel
{
	"send_email": true
}
A binary file was returned

You couldn't be authenticated

{
    "id": 104563,
    "customer_id": 666,
    "status": "cancelled",
    "fields": {},
    "credit_base": "197.0",
    "credit_fee": "3.0",
    "money_base": "394.0",
    "money_fee": "6.0"
}

Path Params

event_id
int32
required

Event id

id
int32
required

Refund id

Body Params

send_email
boolean
 
Suggest Edits

/gtags

Get all gtags of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/gtags
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/gtags
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/gtags' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/gtags")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/gtags");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/gtags"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
        "id": 1111111,
        "tag_uid": "04BA444A114D80",
        "banned": false,
        "redeemed": false,
        "active": true,
        "consistent": true,
        "credits": "0.0",
        "virtual_credits": "0.0",
        "final_balance": "0.0",
        "final_virtual_balance": "0.0",
        "customer_id": null,
        "ticket_type_id": null
    },
    {
        "id": 2222222,
        "tag_uid": "041CC54A114D80",
        "banned": false,
        "redeemed": false,
        "active": true,
        "consistent": true,
        "credits": "0.0",
        "virtual_credits": "0.0",
        "final_balance": "0.0",
        "final_virtual_balance": "0.0",
        "customer_id": null,
        "ticket_type_id": null
    },
    {
        "id": 3333333,
        "tag_uid": "0420B622EB4B80",
        "banned": false,
        "redeemed": false,
        "active": true,
        "consistent": true,
        "credits": "0.0",
        "virtual_credits": "0.0",
        "final_balance": "0.0",
        "final_virtual_balance": "0.0",
        "customer_id": null,
        "ticket_type_id": null
    }
]

Path Params

event_id
int32
required

Event id

 
Suggest Edits

/gtags/:id

Get a gtag of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/gtags/id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
	"id": 2022309,
	"tag_uid": "234567890",
	"banned": false,
	"redeemed": false,
	"active": true,
	"consistent": true,
	"credits": "0.0",
	"virtual_credits": "0.0",
	"final_balance": "0.0",
	"final_virtual_balance": "0.0",
	"customer_id": null,
	"ticket_type_id": null
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

 
Suggest Edits

/gtags

Create a gtag of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/gtags
{
	"gtag": {
  		"tag_uid": "12345671234567",
    	"customer_id": 666
  	}
}
A binary file was returned

You couldn't be authenticated

{
	"id": 2022309,
	"tag_uid": "12345671234567",
	"banned": false,
	"redeemed": false,
	"active": true,
	"consistent": true,
	"credits": "0.0",
	"virtual_credits": "0.0",
	"final_balance": "0.0",
	"final_virtual_balance": "0.0",
	"customer_id": 666,
	"ticket_type_id": null
}

Path Params

event_id
int32
required

Event id

Body Params

gtag
object
 
gtag.tag_uid
string
required
gtag.customer_id
integer
required
gtag.ticket_type_id
integer
gtag.banned
boolean
gtag.redeemed
boolean
 
Suggest Edits

/gtags/:id

Modify a gtag of an event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/:event_id/gtags/id
{
	"gtag": {
  		"tag_uid": "12345671234567",
    	"customer_id": 666
  	}
}
A binary file was returned

You couldn't be authenticated

{
	"id": 2022309,
	"tag_uid": "12345671234567",
	"banned": false,
	"redeemed": false,
	"active": true,
	"consistent": true,
	"credits": "0.0",
	"virtual_credits": "0.0",
	"final_balance": "0.0",
	"final_virtual_balance": "0.0",
	"customer_id": 666,
	"ticket_type_id": null
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

Body Params

gtag
object
 
gtag.tag_uid
string
required
gtag.customer_id
integer
required
gtag.ticket_type_id
integer
gtag.banned
boolean
gtag.redeemed
boolean
 
Suggest Edits

/gtags/:id

Delete a gtag from an event

 

Header Auth

 Authentication is required for this endpoint.
deletehttps://sandbox.glownet.com/api/v2/events/:event_id/gtags/id
curl --request DELETE \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

 

Warning

Cannot be done once event is launched

Suggest Edits

/gtags/:id/topup

Create a topup for a gtag

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/topup
{
	"gateway": "paypal",
	"credits": 50,
	"send_email": true,
	"money_base": 30,
	"money_fee": 2
}
A binary file was returned

You couldn't be authenticated

{
    "id": 401621,
    "customer_id": 1017849,
    "status": "completed",
    "completed_at": "2018-03-15T02:20:16.182+01:00",
    "gateway": null,
    "money_base": "30.0",
    "money_fee": "2.0",
    "order_items": [
        {
            "id": 404138,
            "amount": "10.0",
            "redeemed": false,
            "counter": 3,
            "catalog_item_id": 8569,
            "catalog_item_type": "Credit",
            "credits": "50.0"
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

Body Params

credits
float
required

Credits to be topped up

gateway
string

Payment gateway used to pay for credits

send_email
boolean

Send email to customer

money_base
float

Amount paid by customer in currency

money_fee
float

Amount paid by customer as fee

 
Suggest Edits

/gtags/:id/virtual_topup

Create a virtual topup for a gtag

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/virtual_topup
{
	"gateway": "paypal",
	"credits": 50,
	"send_email": true,
	"money_base": 30,
	"money_fee": 2
}
A binary file was returned

You couldn't be authenticated

{
    "id": 401621,
    "customer_id": 1017849,
    "status": "completed",
    "completed_at": "2018-03-15T02:20:16.182+01:00",
    "gateway": null,
    "money_base": "30.0",
    "money_fee": "2.0",
    "order_items": [
        {
            "id": 404138,
            "amount": "10.0",
            "redeemed": false,
            "counter": 3,
            "catalog_item_id": 8569,
            "catalog_item_type": "VirtualCredit",
            "credits": "50.0"
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

Body Params

credits
float
required

Credits to be topped up

gateway
string

Payment gateway used to pay for credits

send_email
boolean

Send email to customer about operation

money_base
float

Money paid by customer in currency

money_fee
float

Money paid by customer in currency

 
Suggest Edits

/gtags/:id/ban

Ban a gtag of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/ban
curl --request POST \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/ban
var request = require("request");

var options = { method: 'POST',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/ban' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/ban")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/ban");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/ban"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
	"id": 2022309,
	"tag_uid": "12345671234567",
	"banned": false,
	"redeemed": false,
	"active": true,
	"consistent": true,
	"credits": "0.0",
	"virtual_credits": "0.0",
	"final_balance": "0.0",
	"final_virtual_balance": "0.0",
	"customer_id": 666,
	"ticket_type_id": null
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

 
Suggest Edits

/gtags/:id/unban

Unban a gtag of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/unban
curl --request POST \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/unban
var request = require("request");

var options = { method: 'POST',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/unban' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/unban")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/unban");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/unban"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
	"id": 2022309,
	"tag_uid": "12345671234567",
	"banned": false,
	"redeemed": false,
	"active": true,
	"consistent": true,
	"credits": "0.0",
	"virtual_credits": "0.0",
	"final_balance": "0.0",
	"final_virtual_balance": "0.0",
	"customer_id": 666,
	"ticket_type_id": null
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

 
Suggest Edits

/gtags/:id/replace

Replaces a customers gtag for another

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/gtags/id/replace
{
	"new_tag_uid": "FFFFFFFFFF"
}
A binary file was returned

You couldn't be authenticated

{
    "id": 2022311,
    "tag_uid": "FFFFFFFFFF",
    "format": "wristband",
    "banned": false,
    "active": true,
    "redeemed": false,
    "consistent": true,
    "credits": "0.0",
    "virtual_credits": "0.0",
    "final_balance": "0.0",
    "final_virtual_balance": "0.0",
    "ticket_type": null,
    "customer": null
}

Path Params

event_id
int32
required

Event id

id
int32
required

Gtag id (or tag_uid)

Body Params

new_tag_uid
string
required

New tag uid of the gtag

 

New gtag did will be created if not present in event

Suggest Edits

/gtags/:id/pokes

Get pokes for a gtag

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/gtags/gtag_id/pokes
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/gtags/gtag_id/pokes
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/gtags/gtag_id/pokes' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/gtags/gtag_id/pokes")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/gtags/gtag_id/pokes");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/gtags/gtag_id/pokes"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
		"event_id": 317,
		"action": "sale",
		"description": "sale",
		"operation_id": 21172,
		"source": "onsite",
		"date": "2018-03-21T13:31:16.000+01:00",
		"line_counter": 1,
		"gtag_counter": 9,
		"device_id": 5356,
		"station_id": 10658,
		"customer_id": 974684,
		"customer_gtag_id": 1993812,
		"operator_id": 974685,
		"operator_gtag_id": 1993813,
		"credential_type": null,
		"credential_id": null,
		"ticket_type_id": null,
		"product_id": null,
		"order_id": null,
		"catalog_item_id": null,
		"catalog_item_type": null,
		"sale_item_quantity": null,
		"sale_item_unit_price": null,
		"sale_item_total_price": null,
		"standard_unit_price": null,
		"standard_total_price": null,
		"payment_method": null,
		"monetary_quantity": null,
		"monetary_unit_price": null,
		"monetary_total_price": null,
		"credit_type": "CatalogItem",
		"credit_id": 849,
		"credit_name": "Virtual",
		"credit_amount": "15.0",
		"final_balance": "25.0",
		"message": null,
		"priority": null,
		"user_flag_value": null,
		"access_direction": null
    }
]

Path Params

event_id
int32
required

Event id

gtag_id
int32
required

Gtag id

 
Suggest Edits

/tickets

Get all tickets of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/tickets
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/tickets
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/tickets' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/tickets")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/tickets");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/tickets"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
        "id": 1530691,
        "code": "3F266FEF0DD33E54B1F360013A393420",
        "redeemed": false,
        "banned": false,
        "customer_id": 666,
        "ticket_type_id": 46022
    }
]

Path Params

:event_id
int32
required

Event id

 
Suggest Edits

/tickets/:id

Get ticket of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "id": 1530691,
    "code": "3F266FEF0DD33E54B1",
    "redeemed": false,
    "banned": false,
  	"purchaser_first_name": "John",
		"purchaser_last_name": "Doe",
		"purchaser_email": "john@doe.com",
    "ticket_type_id": 5,
    "customer_id": 1
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Ticket id or code

 
Suggest Edits

/tickets

Create a new ticket

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/tickets
{
	"ticket": {
		"code": "3F266FEF0DD33E54B1",
		"purchaser_first_name": "John",
		"purchaser_last_name": "Doe",
		"purchaser_email": "john@doe.com",
		"ticket_type_id": 5,
		"customer_id": 1
	}
}
A binary file was returned

You couldn't be authenticated

{
    "id": 1530691,
    "code": "3F266FEF0DD33E54B1",
    "redeemed": false,
    "banned": false,
  	"purchaser_first_name": "John",
		"purchaser_last_name": "Doe",
		"purchaser_email": "john@doe.com",
    "ticket_type_id": 5,
    "customer_id": 1
}

Path Params

:event_id
int32
required

Event id

Body Params

ticket
object
 
ticket.code
string
required
ticket.ticket_type_id
integer
required
ticket.customer_id
integer
ticket.redeemed
boolean
ticket.banned
boolean
ticket.purchaser_first_name
string
ticket.purchaser_last_name
string
ticket.purchaser_email
string
 
Suggest Edits

/tickets/:id

Modify a ticket of an event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/:event_id/events/:event_id/tickets/:id
{
	"ticket": {
		"code": "3F266FEF0DD33E54B1",
		"purchaser_first_name": "John",
		"purchaser_last_name": "Doe",
		"purchaser_email": "john@doe.com",
		"ticket_type_id": 5,
		"customer_id": 1
	}
}
A binary file was returned

You couldn't be authenticated

{
	"ticket": {
		"code": "3F266FEF0DD33E54B1",
		"purchaser_first_name": "John",
		"purchaser_last_name": "Doe",
		"purchaser_email": "john@doe.com",
		"ticket_type_id": 5,
		"customer_id": 1
	}
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Ticket id or code

Body Params

ticket
object
 
ticket.code
string
required
ticket.ticket_type_id
integer
required
ticket.customer_id
integer
ticket.redeemed
boolean
ticket.banned
boolean
ticket.purchaser_first_name
string
ticket.purchaser_last_name
string
ticket.purchaser_email
string
 
Suggest Edits

/tickets/:id

Delete a ticket of an event

 

Header Auth

 Authentication is required for this endpoint.
deletehttps://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id
curl --request DELETE \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/tickets/:id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

:event_id
int32
required

Event id

:id
int32
required

Event id

 

Warning

Cannot be done once event is launched

Suggest Edits

/tickets/:id/topup

Create a topup for a ticket

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/topup
{
	"gateway": "paypal",
	"credits": 50,
	"send_email": true,
	"money_base": 30,
	"money_fee": 2
}
A binary file was returned

You couldn't be authenticated

{
    "id": 401621,
    "customer_id": 1017849,
    "status": "completed",
    "completed_at": "2018-03-15T02:20:16.182+01:00",
    "gateway": null,
    "money_base": "30.0",
    "money_fee": "2.0",
    "order_items": [
        {
            "id": 404138,
            "amount": "10.0",
            "redeemed": false,
            "counter": 3,
            "catalog_item_id": 8569,
            "catalog_item_type": "Credit",
            "credits": "50.0"
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Ticket id (or code)

Body Params

credits
float
required

Credits to be topped up

gateway
string

Payment gateway used to pay for credits

send_email
boolean

Send email to customer

money_base
float

Amount paid by customer in currency

money_fee
float

Amount paid by customer as fee

 
Suggest Edits

/tickets/:id/virtual_topup

Create a virtual topup for a ticket

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/virtual_topup
{
	"gateway": "paypal",
	"credits": 50,
	"send_email": true,
	"money_base": 30,
	"money_fee": 2
}
A binary file was returned

You couldn't be authenticated

{
    "id": 401621,
    "customer_id": 1017849,
    "status": "completed",
    "completed_at": "2018-03-15T02:20:16.182+01:00",
    "gateway": null,
    "money_base": "30.0",
    "money_fee": "2.0",
    "order_items": [
        {
            "id": 404138,
            "amount": "10.0",
            "redeemed": false,
            "counter": 3,
            "catalog_item_id": 8569,
            "catalog_item_type": "VirtualCredit",
            "credits": "50.0"
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Ticket id (or code)

Body Params

credits
float
required

Credits to be topped up

gateway
string

Payment gateway used to pay for credits

send_email
boolean

Send email to customer about operation

money_base
float

Money paid by customer in currency

money_fee
float

Money paid by customer in currency

 
Suggest Edits

/tickets/:id/ban

Ban a ticket of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/ban
curl --request POST \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/ban
var request = require("request");

var options = { method: 'POST',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/ban' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/ban")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/ban");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/ban"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
	"id": 2022309,
	"tag_uid": "12345671234567",
	"banned": false,
	"redeemed": false,
	"active": true,
	"consistent": true,
	"credits": "0.0",
	"virtual_credits": "0.0",
	"final_balance": "0.0",
	"final_virtual_balance": "0.0",
	"customer_id": 666,
	"ticket_type_id": null
}

Path Params

event_id
int32
required

Event id

id
int32
required

Ticket id (or code)

 
Suggest Edits

/tickets/:id/unban

Unban a ticket of an event

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/unban
curl --request POST \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/unban
var request = require("request");

var options = { method: 'POST',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/unban' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/unban")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/unban");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/tickets/id/unban"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
	"id": 2022309,
	"tag_uid": "12345671234567",
	"banned": false,
	"redeemed": false,
	"active": true,
	"consistent": true,
	"credits": "0.0",
	"virtual_credits": "0.0",
	"final_balance": "0.0",
	"final_virtual_balance": "0.0",
	"customer_id": 666,
	"ticket_type_id": null
}

Path Params

event_id
int32
required

Event id

id
int32
required

Ticket id (or code)

 
Suggest Edits

/tickets/:id/pokes

Get pokes for a ticket

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/tickets/ticket_id/pokes
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/tickets/ticket_id/pokes
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/tickets/ticket_id/pokes' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/tickets/ticket_id/pokes")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/tickets/ticket_id/pokes");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/tickets/ticket_id/pokes"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
		"event_id": 317,
		"action": "sale",
		"description": "sale",
		"operation_id": 21172,
		"source": "onsite",
		"date": "2018-03-21T13:31:16.000+01:00",
		"line_counter": 1,
		"gtag_counter": 9,
		"device_id": 5356,
		"station_id": 10658,
		"customer_id": 974684,
		"customer_gtag_id": 1993812,
		"operator_id": 974685,
		"operator_gtag_id": 1993813,
		"credential_type": "Ticket",
		"credential_id": 3422,
		"ticket_type_id": null,
		"product_id": null,
		"order_id": null,
		"catalog_item_id": null,
		"catalog_item_type": null,
		"sale_item_quantity": null,
		"sale_item_unit_price": null,
		"sale_item_total_price": null,
		"standard_unit_price": null,
		"standard_total_price": null,
		"payment_method": null,
		"monetary_quantity": null,
		"monetary_unit_price": null,
		"monetary_total_price": null,
		"credit_type": "CatalogItem",
		"credit_id": 849,
		"credit_name": "Virtual",
		"credit_amount": "15.0",
		"final_balance": "25.0",
		"message": null,
		"priority": null,
		"user_flag_value": null,
		"access_direction": null
    }
]

Path Params

event_id
int32
required

Event id

ticket_id
int32
required

Ticket id

 
Suggest Edits

/ticket_types

Get all ticket types of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/ticket_types
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
  {
    "id": 2618,
    "name": "0 Credits",
    "company_code": "",
    "company": "Glownet"
  },
  {
    "id": 2619,
    "name": "GA + 5 Free Drinks",
    "company_code": "",
    "company": "Glownet"
  },
  {
    "id": 2760,
    "name": "ABONO 16 ENTRADA",
    "company_code": "",
    "company": "Glownet"
  },
  {
    "id": 2758,
    "name": "DIA 16 ENTRADA",
    "company_code": "",
    "company": "Glownet"
  }
]

Path Params

:event_id
int32
required

Event id

 
Suggest Edits

/ticket_types/:id

Get a ticket type of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
  "id": 2918,
  "name": "VIP Pass",
  "company_code": null,
  "company": "Glownet"
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Ticket type id

 
Suggest Edits

/ticket_types

Create a new ticket type

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/ticket_types
{
  "ticket_type": {
    "name": "VIP Ticket",
    "company": "Foo",
    "company_code": "123AA"
  }
}
A binary file was returned

You couldn't be authenticated

{
  "id": 2918,
  "name": "VIP Ticket",
  "company_code": "123AA",
  "company": "Foo"
}

Path Params

:event_id
int32
required

Event id

Body Params

ticket_type
object
 
ticket_type.name
string
required
ticket_type.company
string
required

Company name that sells this type of ticket

ticket_type.company_code
string

Any parameter to be used by API consumer to identify a ticket type

 
Suggest Edits

/ticket_types/:id

Modify a ticket type of an event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id
{
  "ticket_type": {
    "name": "VIP Ticket",
    "company": "Foo"
  }
}
A binary file was returned

You couldn't be authenticated

{
  "id": 2918,
  "name": "Ticket",
  "company_code": null,
  "company": "Foo"
}

Body Params

ticket_type
object
required
 
ticket_type.name
string
required
ticket_type.company
string
required

Company name that sells this type of ticket

ticket_type.company_code
string

Any parameter to be used by API consumer to identify a ticket type

 
Suggest Edits

/ticket_types/:id

Delete a ticket type

 

Header Auth

 Authentication is required for this endpoint.
deletehttps://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id
curl --request DELETE \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

:event_id
int32
required

Event id

:id
int32
required

Ticket type id

 

Warning

Cannot be done once event is launched

Suggest Edits

/ticket_types/:id/bulk_upload

Upload multiple codes into ticket type

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/ticket_types/:id/bulk_upload
{
	"tickets": ["AAA", "BBB"] 
}
A binary file was returned

You couldn't be authenticated

{
    "id": 46023,
    "name": "Night",
    "company_code": "1521052183",
    "company": "Glownet"
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Ticket type id

 

Warning

Cannot be done once event is launched

Suggest Edits

/stations

Get all stations of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/stations
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/stations
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/stations' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/stations")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/stations");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/stations"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
        "id": 10966,
        "name": "BAR 1",
        "group": "monetary",
        "location": "",
        "category": "bar",
        "reporting_category": null,
        "address": null,
        "registration_num": null,
        "official_name": null,
        "hidden": false,
        "products": [
            {
                "id": 61090,
                "name": "Product 1",
                "description": null,
                "is_alcohol": true,
                "vat": 0,
                "price": 1,
                "position": 1
            },
            {
                "id": 61091,
                "name": "Product 2",
                "description": null,
                "is_alcohol": false,
                "vat": 0,
                "price": 2,
                "position": 2
            }
        ]
    }
]

Path Params

event_id
int32
required

Event id

 
Suggest Edits

/stations/:id

Get station of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/stations/:id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/stations/:id
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/stations/:id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/stations/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/stations/:id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/stations/:id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "id": 10966,
    "name": "BAR 1",
    "group": "monetary",
    "location": "",
    "category": "bar",
    "reporting_category": null,
    "address": null,
    "registration_num": null,
    "official_name": null,
    "hidden": false,
    "credits_sold": "73742.5",
    "virtual_credits_sold": "48.0",
    "products": [
        {
            "id": 61090,
            "name": "Product 1",
            "description": null,
            "is_alcohol": true,
            "vat": 0,
            "price": 1,
            "position": 1,
          	"credits_sold": "0.0",
            "virtual_credits_sold": "0.0",
            "quantity_sold": 0
        },
        {
            "id": 61091,
            "name": "Product 2",
            "description": null,
            "is_alcohol": false,
            "vat": 0,
            "price": 2,
            "position": 2,
          	"credits_sold": "0.0",
            "virtual_credits_sold": "0.0",
            "quantity_sold": 0
        }
    ]
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Station id

 
Suggest Edits

/stations

Create a new station

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/stations
{
    "name": "BAR 1",
    "location": "",
    "reporting_category": null,
    "address": null,
    "registration_num": null,
    "official_name": null,
    "hidden": false
}
A binary file was returned

You couldn't be authenticated

{
    "id": 10966,
    "name": "BAR 1",
    "group": "monetary",
    "location": "",
    "category": "bar",
    "reporting_category": null,
    "address": null,
    "registration_num": null,
    "official_name": null,
    "hidden": false
}

Path Params

:event_id
int32
required

Event id

Body Params

station
object
required
 
station.name
string
required
station.mode
string

one of counter, permanent, permanent strict

 
Suggest Edits

/stations/:id

Modify a station of an event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/:event_id/stations/:id
{
    "id": 10966,
    "name": "BAR 1",
    "group": "monetary",
    "location": "",
    "category": "bar",
    "reporting_category": null,
    "address": null,
    "registration_num": null,
    "official_name": null,
    "hidden": false
}
A binary file was returned

You couldn't be authenticated

{
    "id": 10966,
    "name": "BAR 1",
    "group": "monetary",
    "location": "",
    "category": "bar",
    "reporting_category": null,
    "address": null,
    "registration_num": null,
    "official_name": null,
    "hidden": false,
    "products": [
        {
            "id": 61090,
            "name": "Product 1",
            "description": null,
            "is_alcohol": true,
            "vat": 0,
            "price": 1,
            "position": 1
        },
        {
            "id": 61091,
            "name": "Product 2",
            "description": null,
            "is_alcohol": false,
            "vat": 0,
            "price": 2,
            "position": 2
        }
    ]
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Station id

Body Params

station
object
required
 
station.name
string
required
station.location
string

Place inside event

station.reporting_category
string

Any special label for reports

station.address
string

For tax purposes

station.registration_num
string

For tax purposes

station.official_name
string

For tax purposes

station.hidden
boolean

Removes from app

 
Suggest Edits

/stations/:id

Delete station from an event

 

Header Auth

 Authentication is required for this endpoint.
deletehttps://sandbox.glownet.com/api/v2/events/:event_id/stations/:id
curl --request DELETE \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/stations/:id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/stations/:id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/stations/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://sandbox.glownet.com/api/v2/events/:event_id/stations/:id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/stations/:id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

:event_id
int32
required

Event id

:id
int32
required

Station id

 

Warning

Cannot be done once event is launched

Suggest Edits

/stations/:station_id/products

Get all products of an station

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

[
  {
    "id": 18763,
    "name": "Long Drink",
    "description": "",
    "is_alcohol": true,
    "vat": 21,
    "price": 10,
    "position": 1
  },
  {
    "id": 18764,
    "name": "Beer",
    "description": null,
    "is_alcohol": true,
    "vat": 21,
    "price": 5,
    "position": 2
  },
  {
    "id": 18765,
    "name": "Shots",
    "description": null,
    "is_alcohol": true,
    "vat": 21,
    "price": 4,
    "position": 3
  }
]

Path Params

event_id
int32
required

Event id

station_id
int32
required

Station id

 
Suggest Edits

/stations/:station_id/products/:id

Get a product of a station

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
  "id": 19439,
  "name": "Red Bull XXL",
  "description": null,
  "is_alcohol": false,
  "vat": 0,
  "price": 3,
  "position": 18
}

Path Params

event_id
int32
required

Event id

station_id
int32
required

Station id

id
int32
required

Product id

 
Suggest Edits

/stations/:station_id/products

Create a new product for a station

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products
{
	"product": {
    "name": "Red Bull XXL",
    "price": 3
  }
}
A binary file was returned

You couldn't be authenticated

{
    "id": 19439,
    "name": "Red Bull XXL",
    "description": null,
    "is_alcohol": false,
    "vat": 0,
    "price": 3,
    "position": 18
}

Path Params

event_id
int32
required

Event id

station_id
int32
required

Station id

Body Params

product
object
required
 
product.name
string
required
product.price
float
required
product.is_alcohol
boolean
product.description
string
product.vat
float
product.position
integer

Position inside listing in app

product.hidden
boolean

Hidden form listing in app

 
Suggest Edits

/stations/:station_id/products/:id

Create a new product of an event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id
{
	"product": {
    "name": "Red Bull XXXL",
    "price": 4
  }
}
A binary file was returned

You couldn't be authenticated

{
    "id": 19439,
    "name": "Red Bull XXXL",
    "description": null,
    "is_alcohol": false,
    "vat": 0,
    "price": 4,
    "position": 18
}

Path Params

event_id
int32
required

Event id

station_id
int32
required

Station id

id
int32
required

Product id

Body Params

product
object
required
 
product.name
string
required
product.price
float
required
product.is_alcohol
boolean
product.description
string
product.vat
float
product.position
integer

Position inside listing in app

product.hidden
boolean

Hidden form listing in app

 
Suggest Edits

/stations/:station_id/products/:id

Delete a product of an station

 

Header Auth

 Authentication is required for this endpoint.
deletehttps://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id
curl --request DELETE \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/stations/station_id/products/id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

event_id
int32
required

Event id

station_id
int32
required

Station id

id
int32
required

Product id

 

Warning

Cannot be done once event is launched

Suggest Edits

/accesses

Get all accesses of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/accesses
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/accesses
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/accesses' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/accesses")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/accesses");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/accesses"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
  [
    {
    "id": 1,
    "name": "Main",
    "mode": "permanent"
    },
      {
    "id": 2,
    "name": "VIP",
    "mode": "permanent"
    },
      {
    "id": 3,
    "name": "Free Drink",
    "mode": "counter"
    },
      {
    "id": 4,
    "name": "Día Viernes",
    "mode": "permanent"
    },
      {
    "id": 5,
    "name": "Noche Viernes",
    "mode": "permanent"
    }
  ]
}

Path Params

:event_id
int32
required

Event id

 
Suggest Edits

/accesses/:id

Get an access of an event

 

Header Auth

 Authentication is required for this endpoint.
gethttps://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id
var request = require("request");

var options = { method: 'GET',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
	"id": 6,
	"name": "Friday-13",
	"mode": "counter"
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Access id

 
Suggest Edits

/accesses

Create a new access

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/:event_id/accesses
{
	"access": {
    "name": "Friday-13",
  	"mode": "counter"
  }
}
A binary file was returned

You couldn't be authenticated

{
	"id": 6,
	"name": "Friday-13",
	"mode": "counter"
}

Path Params

:event_id
int32
required

Event id

Body Params

access
object
required
 
access.name
string
required
access.mode
string

one of counter, permanent, permanent strict

 
Suggest Edits

/accesses/:id

Modify an access of an event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id
{
	"access": {
    "name": "VIP",
  	"mode": "permanent_strict" 
  }
}
A binary file was returned

You couldn't be authenticated

{
	"id": 6,
	"name": "VIP",
	"mode": "permanent_strict"
}

Path Params

:event_id
int32
required

Event id

:id
int32
required

Access id

Body Params

access
object
required
 
access.name
string
required
access.mode
string

one of counter, permanent, permanent strict

 
Suggest Edits

/accesses/:id

Delete an access of an event

 

Header Auth

 Authentication is required for this endpoint.
deletehttps://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id
curl --request DELETE \
  --url https://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/:event_id/accesses/:id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

:event_id
int32
required

Event id

:id
int32
required

Access id

 

Warning

Cannot be done once event is launched