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

/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

Query Params

page
int32
per_page
int32
 

Response headers includes pagination info: Total (total resource number) and Per-Page(resources per page)

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

Suggest Edits

/analytics/activations

 

Header Auth

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

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

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/analytics/activations")

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/analytics/activations");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "total": 234,
    "active_operators": 34,
    "active_customers": 200
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers
 

Suggest Edits

/analytics/credit/topups/online

 

Header Auth

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

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

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/analytics/credit/topups/online")

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/analytics/credit/topups/online");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/credit/topups/online"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 60.0,
    "2019-03-02": 80.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

gateways
array of strings

Gateways filter

redeemed
boolean

Redeemed filter, accepts true or false

 

Suggest Edits

/analytics/credit/topups/onsite

 

Header Auth

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

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

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/analytics/credit/topups/onsite")

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/analytics/credit/topups/onsite");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/credit/topups/onsite"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 60.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

credits
array of integers

Credit type filter by id

 

Suggest Edits

/analytics/credit/fees/gtag_deposit

 

Header Auth

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

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

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/analytics/credit/fees/gtag_deposit")

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/analytics/credit/fees/gtag_deposit");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/credit/fees/gtag_deposit"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 10.0,
    "2019-03-02": 15.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

credits
array of integers

Credit type filter by id

 

Suggest Edits

/analytics/credit/fees/gtag_return

 

Header Auth

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

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

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/analytics/credit/fees/gtag_return")

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/analytics/credit/fees/gtag_return");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/credit/fees/gtag_return"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 10.0,
    "2019-03-02": 15.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

credits
array of integers

Credit type filter by id

 

Suggest Edits

/analytics/credit/fees/initial

 

Header Auth

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

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

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/analytics/credit/fees/initial")

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/analytics/credit/fees/initial");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/credit/fees/initial"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 10.0,
    "2019-03-02": 15.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

credits
array of integers

Credit type filter by id

 

Suggest Edits

/analytics/credit/fees/topup

 

Header Auth

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

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

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/analytics/credit/fees/topup")

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/analytics/credit/fees/topup");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/credit/fees/topup"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 10.0,
    "2019-03-02": 15.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

credits
array of integers

Credit type filter by id

 

Suggest Edits

/analytics/credit/fees/refund

 

Header Auth

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

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

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/analytics/credit/fees/refund")

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/analytics/credit/fees/refund");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/credit/fees/refund"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 10.0,
    "2019-03-02": 15.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

credits
array of integers

Credit type filter by id

 

Suggest Edits

/analytics/credit/sales/product

 

Header Auth

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

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

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/analytics/credit/sales/product")

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/analytics/credit/sales/product");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/credit/sales/product"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 10.0,
    "2019-03-02": 15.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

credits
array of integers

Credit type filter by id

 

Suggest Edits

/analytics/credit/sales/tip

 

Header Auth

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

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

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/analytics/credit/sales/tip")

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/analytics/credit/sales/tip");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/credit/sales/tip"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 10.0,
    "2019-03-02": 15.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

credits
array of integers

Credit type filter by id

 

Suggest Edits

/analytics/credit/sales/other_amount

 

Header Auth

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

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

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/analytics/credit/sales/other_amount")

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/analytics/credit/sales/other_amount");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/credit/sales/other_amount"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 10.0,
    "2019-03-02": 15.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

credits
array of integers

Credit type filter by id

 

Suggest Edits

/analytics/credit/refunds/online

 

Header Auth

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

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

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/analytics/credit/refunds/online")

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/analytics/credit/refunds/online");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 10.0,
    "2019-03-02": 15.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

gateways
array of strings

Gateways filter

 

Suggest Edits

/analytics/credit/refunds/onsite

 

Header Auth

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

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

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/analytics/credit/refunds/onsite")

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/analytics/credit/refunds/onsite");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 10.0,
    "2019-03-02": 15.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

credits
array of integers

Credit type filter by id

 

Suggest Edits

/analytics/money/topups/online

 

Header Auth

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

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

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/analytics/money/topups/online")

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/analytics/money/topups/online");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/money/topups/online"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 60.0,
    "2019-03-02": 80.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

gateways
array of strings

Gateways filter

 

Suggest Edits

/analytics/money/topups/onsite

 

Header Auth

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

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

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/analytics/money/topups/onsite")

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/analytics/money/topups/onsite");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/money/topups/onsite"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 60.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

payment_methods
array of strings

Payment methods filter ['cash', 'card']

 

Suggest Edits

/analytics/money/refunds/online

 

Header Auth

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

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

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/analytics/money/refunds/online")

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/analytics/money/refunds/online");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 60.0,
    "2019-03-02": 80.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

gateways
array of strings

Gateways filter

 

Suggest Edits

/analytics/money/refunds/onsite

 

Header Auth

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

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

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/analytics/money/refunds/onsite")

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/analytics/money/refunds/onsite");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 60.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

payment_methods
array of strings

Payment methods filter ['cash', 'card']

 

Suggest Edits

/analytics/money/sales/product

*Only for Money Direct Sales

 

Header Auth

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

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

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/analytics/money/sales/product")

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/analytics/money/sales/product");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/analytics/money/sales/product"

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "2019-03-01": 60.0
}
{
    "error": "bad_request"
}

Path Params

event_id
int32
required

Event id

Query Params

stations
array of integers

Stations filter by id

 

Suggest Edits

/currencies

Get all customers of an event

 

Header Auth

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

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

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/currencies")

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/currencies");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
        "id": 1,
        "name": "CRD",
        "value": "1.0",
        "position": 1,
        "spending_order": 1,
        "max_balance": 600,
        "symbol": "C"
    },
    {
        "id": 2,
        "name": "Virtual",
        "value": "1.0",
        "position": 2,
        "spending_order": 2,
        "max_balance": 300,
        "symbol": "VC"
    },
    {
        "id": 83,
        "name": "Tok",
        "value": "1.0",
        "position": 3,
        "spending_order": 3,
        "max_balance": 300,
        "symbol": "T"
    }
]

Path Params

event_id
int32
required

Event id

Query Params

page
int32
per_page
int32
 

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.

Response headers includes pagination info: Total (total resource number) and Per-Page(resources per page)

Suggest Edits

/currencies/:id

Get a customer of an event

 

Header Auth

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

var options = { method: 'GET',
  url:
   'https://sandbox.glownet.com/api/v2/events/event_id/currencies/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/currencies/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/currencies/id");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "id": 83,
    "name": "Tok",
    "value": "1.0",
    "position": 3,
    "spending_order": 3,
    "max_balance": 300,
    "symbol": "T"
}

Path Params

event_id
int32
required

Event id

id
int32
required

Currency id

 
Suggest Edits

/currencies/:id

Modify a customer of an event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/event_id/currencies/id
{
	"currency": {
	  "name": "Token",
    "max_balance": 500,
    "symbol": "TK"
  	}
}
A binary file was returned

You couldn't be authenticated

{
    "id": 83,
    "name": "Token",
    "value": "1.0",
    "position": 3,
    "spending_order": 3,
    "max_balance": 500,
    "symbol": "TK"
}

Path Params

event_id
int32
required

Event id

id
int32
required

Currency id

Body Params

currency
object
required
 
 
Suggest Edits

/currencies/:id

Delete a customer of an event

 

Header Auth

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

var options = { method: 'DELETE',
  url:
   'https://sandbox.glownet.com/api/v2/events/event_id/currencies/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/currencies/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/currencies/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/currencies/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

Currency id

 

Warning

Cannot be done once the event is launched.

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

Query Params

page
int32
per_page
int32
 

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.

Response headers includes pagination info: Total (total resource number) and Per-Page(resources per page)

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

id
int32
required

Customer 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

description
string

a description of the order, free use

 
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

description
string

a description of the order, free use

 
Suggest Edits

/customers/:id/create_order

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/create_order
{
  "items": [
  	{"item_id": 23593, "quantity": 2 },
  	{"item_id": 23546, "quantity": 100 }
  	],
  "money_base": 30,
  "money_fee": 30,
  "description": "foobar",
  "gateway": "paypal",
  "send_email": true
}
A binary file was returned

You couldn't be authenticated

{
    "id": 940479,
    "customer_id": 3006425,
    "status": "completed",
    "description": "foobar",
    "completed_at": "2019-04-05T13:40:05.892+02:00",
    "gateway": "paypal",
    "money_base": "30.0",
    "money_fee": "30.0",
    "order_items": [
        {
            "id": 1015500,
            "amount": "2.0",
            "redeemed": false,
            "counter": 1,
            "catalog_item_id": 23593,
            "catalog_item_type": "Access",
            "credits": "0.0"
        },
        {
            "id": 1015501,
            "amount": "100.0",
            "redeemed": false,
            "counter": 2,
            "catalog_item_id": 23546,
            "catalog_item_type": "Credit",
            "credits": "100.0"
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Customer id (or email)

Body Params

items
array of objects
required

Items to be added to customer

item_id
quantity
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

description
string

a description of the order, free use

 
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

Customer id or email

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

Customer id or email

Body Params

tag_uid
string
required

Gtag UID

 
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

/customers/search

Search a customer by email

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/event_id/customers/search
https://sandbox.glownet.com/api/v2/events/1/customers/search?email=test@test.com
A binary file was returned

You couldn't be authenticated

{
    "id": 1,
    "first_name": "Vicentest",
    "last_name": "Test",
    "email": "test@test.com",
    "phone": null,
    "birthdate": null,
    "postcode": null,
    "address": null,
    "city": null,
    "country": null,
    "gender": null,
    "virtual_money": "0.0",
    "money": "0.0",
    "global_refundable_money": "0.0",
    "balances": {
        "1": 0,
        "2": 0,
        "83": 0
    },
    "locale": "en",
    "anonymous": false,
    "refundable": true,
    "family_id": 4,
    "family_owner": false,
    "gtags": [
        {
            "id": 563,
            "tag_uid": "12445678912345",
            "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": 1,
            "ticket_type_id": null
        }
    ],
    "tickets": [],
    "orders": []
}

Path Params

event_id
int32
required

Event id

Query Params

email
string
 
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/id
curl --request GET \
  --url https://sandbox.glownet.com/api/v2/events/id
var request = require("request");

var options = { method: 'GET',
  url:
   'https://sandbox.glownet.com/api/v2/events/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/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/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/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/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
 
 

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

/families

Get all families of an event. To use this endpoint, family accounts must be enable on event settings.

 

Header Auth

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

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

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/families")

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/families");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
        "id": 3,
        "owner_id": null,
        "tracking_reference": "457c42359912b74d09a23ce28d2c751b",
        "shipping_order_uid": "A456456",
        "shipping_first_name": "Arya",
        "shipping_last_name": "Stark",
        "shipping_company": null,
        "shipping_email": "arya@stark.com",
        "shipping_phone": "66666666666",
        "shipping_address1": null,
        "shipping_address2": null,
        "shipping_address3": null,
        "shipping_city": null,
        "shipping_province": null,
        "shipping_postal_code": null,
        "shipping_country": null,
        "sent": false,
        "delivered": false,
        "customers": []
    },
    {
        "id": 2,
        "owner_id": null,
        "tracking_reference": "3c0ad2fbb4aa38c926ccf2b54c2ea99b",
        "shipping_order_uid": "A234355",
        "shipping_first_name": "Jon",
        "shipping_last_name": "Snow",
        "shipping_company": null,
        "shipping_email": "jon@snow.com",
        "shipping_phone": "666123456",
        "shipping_address1": null,
        "shipping_address2": null,
        "shipping_address3": null,
        "shipping_city": null,
        "shipping_province": null,
        "shipping_postal_code": null,
        "shipping_country": null,
        "sent": false,
        "delivered": false,
        "customers": []
    },
    {
        "id": 1,
        "owner_id": null,
        "tracking_reference": "jdbhf6sdtfdusy",
        "shipping_order_uid": "jdbhf6sdtfdusy",
        "shipping_first_name": "andres",
        "shipping_last_name": null,
        "shipping_company": null,
        "shipping_email": null,
        "shipping_phone": null,
        "shipping_address1": null,
        "shipping_address2": null,
        "shipping_address3": null,
        "shipping_city": null,
        "shipping_province": null,
        "shipping_postal_code": null,
        "shipping_country": null,
        "sent": false,
        "delivered": true,
        "customers": [
            {
                "id": 569,
                "first_name": null,
                "last_name": null,
                "email": null,
                "phone": null,
                "birthdate": null,
                "postcode": null,
                "address": null,
                "city": null,
                "country": null,
                "gender": null,
                "virtual_money": "0.0",
                "money": "0.0",
                "global_refundable_money": "0.0",
                "balances": {
                    "1": 0,
                    "2": 0,
                    "83": 0
                },
                "locale": "en",
                "anonymous": true,
                "refundable": true,
                "family_id": 1,
                "family_owner": false,
                "gtags": [
                    {
                        "id": 561,
                        "event_id": 1,
                        "tag_uid": "040FB5DA794C80",
                        "banned": false,
                        "format": "wristband",
                        "active": true,
                        "virtual_credits": "0.0",
                        "credits": "0.0",
                        "final_virtual_balance": "0.0",
                        "final_balance": "0.0",
                        "customer_id": 569,
                        "created_at": "2019-06-11T17:03:58.172+02:00",
                        "updated_at": "2019-06-11T17:04:07.762+02:00",
                        "redeemed": false,
                        "ticket_type_id": null,
                        "balances": {},
                        "complete": true,
                        "consistent": true,
                        "operator": false,
                        "tokens": {},
                        "final_tokens_balance": {},
                        "autostage": "no"
                    }
                ],
                "tickets": [],
                "orders": []
            }
        ]
    }
]

Path Params

event_id
int32
required

Event id

Query Params

page
int32
per_page
int32
 

Response headers includes pagination info: Total (total resource number) and Per-Page(resources per page)

Suggest Edits

/families/:id

Get a family of an event. To use this endpoint, family accounts must be enable on event settings.

 

Header Auth

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

var options = { method: 'GET',
  url:
   'https://sandbox.glownet.com/api/v2/events/event_id/families/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/families/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/families/id");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "id": 1,
    "owner_id": null,
    "tracking_reference": "jdbhf6sdtfdusy",
    "shipping_order_uid": "jdbhf6sdtfdusy",
    "shipping_first_name": "andres",
    "shipping_last_name": null,
    "shipping_company": null,
    "shipping_email": null,
    "shipping_phone": null,
    "shipping_address1": null,
    "shipping_address2": null,
    "shipping_address3": null,
    "shipping_city": null,
    "shipping_province": null,
    "shipping_postal_code": null,
    "shipping_country": null,
    "sent": false,
    "delivered": true,
    "customers": [
        {
            "id": 569,
            "first_name": null,
            "last_name": null,
            "email": null,
            "phone": null,
            "birthdate": null,
            "postcode": null,
            "address": null,
            "city": null,
            "country": null,
            "gender": null,
            "virtual_money": "0.0",
            "money": "0.0",
            "global_refundable_money": "0.0",
            "balances": {
                "1": 0,
                "2": 0,
                "83": 0
            },
            "locale": "en",
            "anonymous": true,
            "refundable": true,
            "family_id": 1,
            "family_owner": false,
            "gtags": [
                {
                    "id": 561,
                    "event_id": 1,
                    "tag_uid": "040FB5DA794C80",
                    "banned": false,
                    "format": "wristband",
                    "active": true,
                    "virtual_credits": "0.0",
                    "credits": "0.0",
                    "final_virtual_balance": "0.0",
                    "final_balance": "0.0",
                    "customer_id": 569,
                    "created_at": "2019-06-11T17:03:58.172+02:00",
                    "updated_at": "2019-06-11T17:04:07.762+02:00",
                    "redeemed": false,
                    "ticket_type_id": null,
                    "balances": {},
                    "complete": true,
                    "consistent": true,
                    "operator": false,
                    "tokens": {},
                    "final_tokens_balance": {},
                    "autostage": "no"
                }
            ],
            "tickets": [],
            "orders": []
        }
    ]
}

Path Params

event_id
int32
required

Event id

id
int32
required

Family id

 
Suggest Edits

/families

Create a new family on a event. To use this endpoint, family accounts must be enable on event settings.

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/event_id/families
{
  "family": {
        "owner_id": 12311,
        "tracking_reference": "457c42359912b74d09a23ce28d2c751b",
        "shipping_order_uid": "A456456",
        "shipping_first_name": "Arya",
        "shipping_last_name": "Stark",
        "shipping_company": null,
        "shipping_email": "arya@starks.com",
        "shipping_phone": "66666666666",
        "shipping_address1": null,
        "shipping_address2": null,
        "shipping_address3": null,
        "shipping_city": null,
        "shipping_province": null,
        "shipping_postal_code": null,
        "shipping_country": null,
        "sent": false,
        "delivered": false,
        "customer_ids": [234231, 234233, 234246]
  }
}
A binary file was returned

You couldn't be authenticated

{
    "id": 4,
    "owner_id": 12311,
    "tracking_reference": "457c42359912b74d09a23ce28d2c751a",
    "shipping_order_uid": "A456458",
    "shipping_first_name": "Arya",
    "shipping_last_name": "Stark",
    "shipping_company": null,
    "shipping_email": "arya@starks.com",
    "shipping_phone": "66666666666",
    "shipping_address1": null,
    "shipping_address2": null,
    "shipping_address3": null,
    "shipping_city": null,
    "shipping_province": null,
    "shipping_postal_code": null,
    "shipping_country": null,
    "sent": false,
    "delivered": false,
    "customers": [
        {
            "id": 234231,
            "first_name": "Vicentest",
            "last_name": "Test",
            "email": "test@test.com",
            "phone": null,
            "birthdate": null,
            "postcode": null,
            "address": null,
            "city": null,
            "country": null,
            "gender": null,
            "virtual_money": "0.0",
            "money": "0.0",
            "global_refundable_money": "0.0",
            "balances": {
                "1": 0,
                "2": 0,
                "83": 0
            },
            "locale": "en",
            "anonymous": false,
            "refundable": true,
            "family_id": 4,
            "family_owner": true,
            "gtags": [],
            "tickets": [],
            "orders": []
        },
        {
            "id": 234233,
            "first_name": null,
            "last_name": null,
            "email": null,
            "phone": null,
            "birthdate": null,
            "postcode": null,
            "address": null,
            "city": null,
            "country": null,
            "gender": null,
            "virtual_money": "0.0",
            "money": "0.0",
            "global_refundable_money": "0.0",
            "balances": {
                "1": 0,
                "2": 0,
                "83": 0
            },
            "locale": "en",
            "anonymous": true,
            "refundable": true,
            "family_id": 4,
            "family_owner": false,
            "gtags": [
                {
                    "id": 1,
                    "event_id": 1,
                    "tag_uid": "AAAAAAAAAAAAAA",
                    "banned": false,
                    "format": "wristband",
                    "active": true,
                    "virtual_credits": "0.0",
                    "credits": "0.0",
                    "final_virtual_balance": "0.0",
                    "final_balance": "0.0",
                    "customer_id": 3,
                    "created_at": "2019-05-08T16:19:16.722+02:00",
                    "updated_at": "2019-05-08T16:19:16.733+02:00",
                    "redeemed": false,
                    "ticket_type_id": null,
                    "balances": {},
                    "complete": true,
                    "consistent": true,
                    "operator": false,
                    "tokens": {},
                    "final_tokens_balance": {},
                    "autostage": "no"
                }
            ],
            "tickets": [],
            "orders": []
        },
        {
            "id": 234246,
            "first_name": "Staffer",
            "last_name": "Test",
            "email": "staffer_test@test.com",
            "phone": null,
            "birthdate": null,
            "postcode": null,
            "address": null,
            "city": null,
            "country": null,
            "gender": null,
            "virtual_money": "0.0",
            "money": "0.0",
            "global_refundable_money": "0.0",
            "balances": {
                "84": 0,
                "85": 0
            },
            "locale": "en",
            "anonymous": false,
            "refundable": true,
            "family_id": 4,
            "family_owner": false,
            "gtags": [],
            "tickets": [],
            "orders": []
        }
    ]
}

Path Params

event_id
int32
required

Event id

Body Params

family
object
 
owner_id
int32

Required if shipping_email is not sent

tracking_reference
string
shipping_first_name
string
shipping_last_name
string
shipping_company
string
shipping_email
string

Required if owner_id is not sent. This field is not unique per event given the fact that the same email could purchase for different families with different adresses. Never same family different addresses.

shipping_phone
string
shipping_address1
string
shipping_address2
string
shipping_address3
string
shipping_city
string
shipping_province
string
shipping_postal_code
string
shipping_country
string
sent
boolean
delivered
boolean
customer_ids
array of integers

Existing customers ids to add to the family. Can be added later.

 
Suggest Edits

/families/:id

Modify a family of an event. To use this endpoint, family accounts must be enable on event settings.

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/event_id/families/id
{
  "family": {
    "sent": true,
    "customer_ids": [1, 3]
  }
}
A binary file was returned

You couldn't be authenticated

{
    "id": 4,
    "owner_id": 1,
    "tracking_reference": "457c42359912b74d09a23ce28d2c751a",
    "shipping_order_uid": "A456458",
    "shipping_first_name": "Arya",
    "shipping_last_name": "Stark",
    "shipping_company": null,
    "shipping_email": "arya@starks.com",
    "shipping_phone": "66666666666",
    "shipping_address1": null,
    "shipping_address2": null,
    "shipping_address3": null,
    "shipping_city": null,
    "shipping_province": null,
    "shipping_postal_code": null,
    "shipping_country": null,
    "sent": true,
    "delivered": false,
    "customers": [
        {
            "id": 3,
            "first_name": null,
            "last_name": null,
            "email": null,
            "phone": null,
            "birthdate": null,
            "postcode": null,
            "address": null,
            "city": null,
            "country": null,
            "gender": null,
            "virtual_money": "0.0",
            "money": "0.0",
            "global_refundable_money": "0.0",
            "balances": {
                "1": 0,
                "2": 0,
                "83": 0
            },
            "locale": "en",
            "anonymous": true,
            "refundable": true,
            "family_id": 4,
            "family_owner": false,
            "gtags": [
                {
                    "id": 1,
                    "event_id": 1,
                    "tag_uid": "AAAAAAAAAAAAAA",
                    "banned": false,
                    "format": "wristband",
                    "active": true,
                    "virtual_credits": "0.0",
                    "credits": "0.0",
                    "final_virtual_balance": "0.0",
                    "final_balance": "0.0",
                    "customer_id": 3,
                    "created_at": "2019-05-08T16:19:16.722+02:00",
                    "updated_at": "2019-05-08T16:19:16.733+02:00",
                    "redeemed": false,
                    "ticket_type_id": null,
                    "balances": {},
                    "complete": true,
                    "consistent": true,
                    "operator": false,
                    "tokens": {},
                    "final_tokens_balance": {},
                    "autostage": "no"
                }
            ],
            "tickets": [],
            "orders": []
        },
        {
            "id": 1,
            "first_name": "Vicentest",
            "last_name": "Test",
            "email": "test@test.com",
            "phone": null,
            "birthdate": null,
            "postcode": null,
            "address": null,
            "city": null,
            "country": null,
            "gender": null,
            "virtual_money": "0.0",
            "money": "0.0",
            "global_refundable_money": "0.0",
            "balances": {
                "1": 0,
                "2": 0,
                "83": 0
            },
            "locale": "en",
            "anonymous": false,
            "refundable": true,
            "family_id": 4,
            "family_owner": true,
            "gtags": [],
            "tickets": [],
            "orders": []
        }
    ]
}

Path Params

event_id
int32
required

Id of Event

id
int32
required

Family ID

Body Params

family
object
required
 
 
Suggest Edits

/families/:id

Delete a family on an event. To use this endpoint, family accounts must be enable on event settings.

 

Header Auth

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

var options = { method: 'DELETE',
  url:
   'https://sandbox.glownet.com/api/v2/events/event_id/families/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/families/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/families/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/families/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

Family ID

 

Warning

Cannot be done once event is launched

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

Query Params

page
int32
per_page
int32
 

Response headers includes pagination info: Total (total resource number) and Per-Page(resources per page)

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

/gtags/search

Searcha gtag by tag_uid

 

Header Auth

 Authentication is required for this endpoint.
posthttps://sandbox.glownet.com/api/v2/events/event_id/gtags/search
https://sandbox.glownet.com/api/v2/events/1/gtags/search?tag_uid=12445678912345
A binary file was returned

You couldn't be authenticated

{
    "id": 563,
    "tag_uid": "12445678912345",
    "format": "wristband",
    "banned": false,
    "active": true,
    "redeemed": false,
    "consistent": true,
    "credits": "0.0",
    "virtual_credits": "0.0",
    "tokens": {},
    "final_balance": "0.0",
    "final_virtual_balance": "0.0",
    "final_tokens_balance": {},
    "ticket_type": null,
    "customer": {
        "id": 1,
        "first_name": "Vicentest",
        "last_name": "Test",
        "email": "test@test.com",
        "phone": null,
        "birthdate": null,
        "postcode": null,
        "address": null,
        "city": null,
        "country": null,
        "gender": null,
        "virtual_money": "0.0",
        "money": "0.0",
        "global_refundable_money": "0.0",
        "balances": {
            "1": 0,
            "2": 0,
            "83": 0
        },
        "locale": "en",
        "anonymous": false,
        "refundable": true,
        "family_id": 4,
        "family_owner": false,
        "gtags": [
            {
                "id": 563,
                "event_id": 1,
                "tag_uid": "12445678912345",
                "banned": false,
                "format": "wristband",
                "active": true,
                "virtual_credits": "0.0",
                "credits": "0.0",
                "final_virtual_balance": "0.0",
                "final_balance": "0.0",
                "customer_id": 1,
                "created_at": "2019-08-29T12:52:59.615+02:00",
                "updated_at": "2019-08-29T12:52:59.615+02:00",
                "redeemed": false,
                "ticket_type_id": null,
                "balances": {},
                "complete": true,
                "consistent": true,
                "operator": false,
                "tokens": {},
                "final_tokens_balance": {},
                "autostage": "no"
            }
        ],
        "tickets": [],
        "orders": []
    }
}

Path Params

event_id
int32
required

Event id

Query Params

tag_uid
string

Gtag's tag_uid

 
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

Query Params

page
int32
per_page
int32
 

Response headers includes pagination info: Total (total resource number) and Per-Page(resources per page)

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

/packs

Get all refunds of an event

 

Header Auth

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

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

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/packs")

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/packs");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

[
    {
        "id": 893,
        "name": "50 sta + 15 virtual",
        "catalog_items": [
            {
                "id": 837,
                "type": "Credit",
                "name": "CRD",
                "amount": 50
            },
            {
                "id": 838,
                "type": "VirtualCredit",
                "name": "Virtual",
                "amount": 15
            }
        ],
        "hidden": false
    },
    {
        "id": 892,
        "name": "Day + Night + VIP",
        "catalog_items": [
            {
                "id": 882,
                "type": "Access",
                "name": "Day",
                "amount": 1
            },
            {
                "id": 883,
                "type": "Access",
                "name": "Night",
                "amount": 1
            },
            {
                "id": 884,
                "type": "Access",
                "name": "VIP",
                "amount": 1
            }
        ],
        "hidden": false
    },
    {
        "id": 891,
        "name": "Day + Camping",
        "catalog_items": [
            {
                "id": 882,
                "type": "Access",
                "name": "Day",
                "amount": 1
            },
            {
                "id": 885,
                "type": "Access",
                "name": "Camping",
                "amount": 1
            }
        ],
        "hidden": false
    },
    {
        "id": 890,
        "name": "Night + VIP",
        "catalog_items": [
            {
                "id": 883,
                "type": "Access",
                "name": "Night",
                "amount": 1
            },
            {
                "id": 884,
                "type": "Access",
                "name": "VIP",
                "amount": 1
            }
        ],
        "hidden": false
    },
    {
        "id": 889,
        "name": "Day + VIP",
        "catalog_items": [
            {
                "id": 882,
                "type": "Access",
                "name": "Day",
                "amount": 1
            },
            {
                "id": 884,
                "type": "Access",
                "name": "VIP",
                "amount": 1
            }
        ],
        "hidden": false
    },
    {
        "id": 888,
        "name": "Day + Night",
        "catalog_items": [
            {
                "id": 882,
                "type": "Access",
                "name": "Day",
                "amount": 1
            },
            {
                "id": 883,
                "type": "Access",
                "name": "Night",
                "amount": 1
            }
        ],
        "hidden": false
    }
]

Path Params

event_id
mixed type
required

ID or slug of event

Query Params

page
int32
per_page
int32
 

Response headers includes pagination info: Total (total resource number) and Per-Page(resources per page)

Suggest Edits

/packs/:id

Get a refund of an event

 

Header Auth

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

var options = { method: 'GET',
  url:
   'https://sandbox.glownet.com/api/v2/events/event_id/packs/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/packs/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/packs/id");

xhr.send(data);
import requests

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

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

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "id": 890,
    "name": "Night + VIP",
    "catalog_items": [
        {
            "id": 883,
            "type": "Access",
            "name": "Night",
            "amount": 1
        },
        {
            "id": 884,
            "type": "Access",
            "name": "VIP",
            "amount": 1
        }
    ],
    "hidden": false
}

Path Params

event_id
int32
required

Event id

id
int32
required

Pack id

 
Suggest Edits

/packs/:id

Modify a refund of an event

 

Header Auth

 Authentication is required for this endpoint.
patchhttps://sandbox.glownet.com/api/v2/events/event_id/packs/id
{
	"pack": {
    	"name": "VIP Night"
  }
}
A binary file was returned

You couldn't be authenticated

{
    "id": 890,
    "name": "VIP Night",
    "catalog_items": [
        {
            "id": 883,
            "type": "Access",
            "name": "Night",
            "amount": 1
        },
        {
            "id": 884,
            "type": "Access",
            "name": "VIP",
            "amount": 1
        }
    ],
    "hidden": false
}

Path Params

event_id
int32
required

Event id

id
int32
required

Pack id

 
Suggest Edits

/packs/:id

Delete a refund of an event

 

Header Auth

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

var options = { method: 'DELETE',
  url:
   'https://sandbox.glownet.com/api/v2/events/event_id/packs/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/packs/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/packs/id");

xhr.send(data);
import requests

url = "https://sandbox.glownet.com/api/v2/events/event_id/packs/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

Pack id

 

Warning

Cannot be done once event is launched

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