Account

Get one of the current buyer's purchases

Changed on

Returns full detail for a purchase the signed-in buyer owns within the website client's account Team.

post/account/orders/{id}/detail

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Path parameters

id, string required

Unique order identifier

Request body

object required

Reference to one of the current buyer's purchases.

cursor, string

Opaque cursor from the purchase list.

Response

OK

object required

Full detail for one purchase the current buyer owns.

expectedTicketCount, integer required

Total tickets this order will have once issuing completes, across all pages.

order, object required
tickets, object[] required
nextCursor, string

Cursor for the next page of tickets. Omitted on the last.

teamId, string required

Unique team identifier

Example response

{
  "order": {
    "id": "ord_01jps5cgsfgve5b5g2666kyryh",
    "createdAt": "2026-12-02T02:43:23.597Z",
    "status": "PENDING",
    "price": {
      "total": 1400,
      "currency": "AUD",
      "refunded": -700
    },
    "event": {
      "id": "evt_01jps5cgsenjrazw6wswmyspa3",
      "name": "Test Event",
      "slug": "test-event",
      "location": "Watson's EQ",
      "locationAddress": "The, Entertainment Quarter, 1 Bent St, Moore Park NSW 2021, Australia",
      "locationLatitude": -33.8944593,
      "locationLongitude": 151.2252255
    },
    "items": [
      {
        "id": "itm_01jps5cgsfwyxj0516571eaf17",
        "kind": "ADMISSION",
        "quantity": 2,
        "admissionId": "adm_01jps5cgsee0xvapbk92e8eb4g",
        "sectionId": "sct_01jps5cgse0g3qj16kpq8t221r",
        "admission": {
          "id": "adm_01jps5cgsee0xvapbk92e8eb4g",
          "createdAt": "2026-12-02T02:43:23.597Z",
          "updatedAt": "2026-12-02T02:43:23.597Z",
          "sectionId": "sct_01jps5cgse0g3qj16kpq8t221r",
          "teamId": "tem_01jqpjksnsen9vprw95et60t2m",
          "promoterId": "pmt_01jqpjksnsen9vprw95et60t2m",
          "eventId": "evt_01jps5cgsenjrazw6wswmyspa3",
          "eventSlug": "test-event",
          "name": "Final Release",
          "subtitle": "Entry before 10pm",
          "description": "Early bird pricing with priority entry. Must present valid ID at gate.",
          "capacity": 100000,
          "limit": -1,
          "available": 70000,
          "sold": 20000,
          "reserved": 10000,
          "order": 0,
          "entryStartsAt": "2026-12-03T02:43:23",
          "entryEndsAt": "2026-12-04T02:43:23",
          "saleStartsAt": "2026-12-02T02:43:23",
          "saleEndsAt": "2026-12-04T02:43:23",
          "saleEndsBehavior": "SALE_ENDED",
          "price": {
            "base": 1000,
            "booking": 200,
            "currency": "AUD"
          },
          "visibility": "ALWAYS",
          "tenantId": "tnt_01jqpj2t2kfvmstt6f6tzkbaf2",
          "deleted": false,
          "orderPadded": "0000000000"
        },
        "section": {
          "id": "sct_01jps5cgse0g3qj16kpq8t221r",
          "createdAt": "2026-12-02T02:43:23.597Z",
          "updatedAt": "2026-12-02T02:43:23.597Z",
          "teamId": "tem_01jqpjksnsen9vprw95et60t2m",
          "promoterId": "pmt_01jqpjksnsen9vprw95et60t2m",
          "eventId": "evt_01jps5cgsenjrazw6wswmyspa3",
          "eventSlug": "test-event",
          "name": "General Admission",
          "capacity": 1000,
          "limit": -1,
          "available": 700,
          "sold": 200,
          "reserved": 100,
          "order": 0,
          "visibility": "ALWAYS",
          "location": {
            "id": "loc_01hk153x00eh99pagyydz03sbz",
            "createdAt": "2026-12-02T02:43:23.597Z",
            "updatedAt": "2026-12-02T02:43:23.597Z",
            "googlePlaceId": "ChIJ6zWCPUyxEmsRmc6BPrNaP4s",
            "name": "Watson's EQ",
            "address": "The, Entertainment Quarter, 1 Bent St, Moore Park NSW 2021, Australia",
            "city": "Moore Park",
            "state": "New South Wales",
            "postcode": "2021",
            "country": "Australia",
            "latitude": -33.8944593,
            "longitude": 151.2252255,
            "timeZone": "Australia/Sydney",
            "types": [
              "establishment",
              "point_of_interest",
              "restaurant",
              "bar"
            ],
            "image": {
              "src": "https://assets.session.services/locations/watsons-eq.jpg",
              "alt": "Watson's EQ",
              "width": 1200,
              "height": 800
            }
          },
          "tenantId": "tnt_01jqpj2t2kfvmstt6f6tzkbaf2",
          "deleted": false,
          "orderPadded": "0000000000"
        },
        "price": {
          "net": 1200,
          "total": 1200,
          "gross": 1200,
          "base": 1000,
          "booking": 200,
          "currency": "AUD"
        },
        "tax": {
          "settings": {
            "supplier": {
              "address": {
                "countryCode": "AU"
              }
            },
            "collection": {
              "taxName": "GST",
              "ratePpm": 100000,
              "priceMode": "INCLUSIVE"
            }
          }
        }
      }
    ],
    "refunds": [
      {
        "id": "rfd_01jps5cgsfgve5b5g2666kyryh",
        "status": "PENDING",
        "price": {
          "currency": "AUD",
          "total": 1200,
          "items": 1200
        },
        "createdAt": "2026-12-02T02:43:23.598Z"
      }
    ]
  },
  "tickets": [
    {
      "id": "tkt_01jps5cgsg0s32w2pr73vbccde",
      "status": "ACTIVE",
      "admission": {
        "id": "adm_01jps5cgsee0xvapbk92e8eb4g",
        "name": "VIP Access",
        "price": {
          "currency": "USD"
        },
        "entryStartsAt": "2025-03-15T19:30:00",
        "entryEndsAt": "2025-03-15T19:30:00"
      }
    }
  ]
}

Changes

    • breaking

      added the pattern ^ord_[0-9a-z]{26}$ to the path request parameter id

    • warning

      the cursor request property's maxLength was set to 16384

    • info

      the order/id response's property pattern ^ord_[0-9a-z]{26}$ was added for the status

    19 more changes in this revision