List My Orders
curl --request GET \
--url https://www.gomry.com/api/v1/me/orders \
--header 'X-API-KEY: <api-key>'import requests
url = "https://www.gomry.com/api/v1/me/orders"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://www.gomry.com/api/v1/me/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.gomry.com/api/v1/me/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.gomry.com/api/v1/me/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.gomry.com/api/v1/me/orders")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.gomry.com/api/v1/me/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"orders": [
{
"order_id": "<string>",
"kind": "<string>",
"status": "<string>",
"title": "<string>",
"placed_at": {},
"starts_at": {},
"venue": {},
"currency": "<string>",
"total": 123,
"refunded": 123,
"quantity": 123,
"seats": [
{}
],
"tickets_url": {},
"cancellation": {},
"request": {}
}
],
"truncated": true
}Personal agents: my account
List My Orders
The signed-in person’s own orders, as their Orders page shows them
GET
/
me
/
orders
List My Orders
curl --request GET \
--url https://www.gomry.com/api/v1/me/orders \
--header 'X-API-KEY: <api-key>'import requests
url = "https://www.gomry.com/api/v1/me/orders"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://www.gomry.com/api/v1/me/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.gomry.com/api/v1/me/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.gomry.com/api/v1/me/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.gomry.com/api/v1/me/orders")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.gomry.com/api/v1/me/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"orders": [
{
"order_id": "<string>",
"kind": "<string>",
"status": "<string>",
"title": "<string>",
"placed_at": {},
"starts_at": {},
"venue": {},
"currency": "<string>",
"total": 123,
"refunded": 123,
"quantity": 123,
"seats": [
{}
],
"tickets_url": {},
"cancellation": {},
"request": {}
}
],
"truncated": true
}Returns the signed-in person’s orders, newest first: what they bought, what they paid, the state of each seat, what the refund policy allows right now, and any refund or problem request in progress.
Orders are matched by the account and its verified email. To cancel an order or ask for a refund, the person uses the Orders page in their Gomry settings, or asks Aven.
Personal agents only. Needs a Personal Agent Protocol Session signed in with
poppy:read (Authorization: DPoP <token> plus a DPoP proof). Errors are the same as List My Tickets.Response
array
Show Order object
Show Order object
string
The order (payment) id.
string
event, experience or bundle.string
paid, free, partially_refunded, refunded, awaiting_approval, refund_requested or cancelled.string
The event, experience or bundle name.
string | null
When it was placed (ISO 8601, UTC).
string | null
When the event starts (ISO 8601, UTC).
ends_at and timezone alongside.string | null
Venue name.
string
ISO 4217 code.
number
Total paid, in major units.
number
Amount refunded so far.
integer
Seats in the order.
items lists them by type.array
Each seat:
ticket_id, label, holder_name, amount (its share of the total) and state.string | null
Where the tickets live.
object | null
What the refund policy allows now:
action (withdraw, refund, request_refund or cancel), refund_amount, refund_deadline and ticket_ids. Null when nothing is possible.object | null
The latest refund or problem request:
type, status, reason, ticket_ids, requested_amount, refunded_amount, opened_at and respond_by.boolean
True when the person has more than 50 orders.

