Skip to main content
GET
/
v1
/
events
/
{id}
Retrieve
curl --request GET \
  --url https://{defaultHost}/v1/events/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "4e99fd05-cb68-4eb4-a4ee-10af70cd974e",
  "object": "event",
  "data": {
    "object": {
      "id": "ee4d06a2-4afd-4927-b94c-956cdb0d999e",
      "object": "purchase",
      "live_mode": true,
      "quantity": 1,
      "revoked": false,
      "revoked_at": null,
      "revoke_at": null,
      "customer": "8859f872-ebe9-4017-992d-56f8cd7760e1",
      "initial_order": "6b599fc4-dd27-47b0-a3e2-2eaad89693f9",
      "license": null,
      "price": "ce27b4f2-b308-47de-b97f-612b89f991d0",
      "product": "0e6b0886-1068-41c0-930d-873b272ad4a5",
      "subscription": null,
      "variant": null,
      "review": null,
      "created_at": 1778010877,
      "updated_at": 1778010877
    }
  },
  "type": "purchase.created",
  "account": "54ccba8a-fcb3-4a47-b5bd-15bdf6b5f4b5",
  "created_at": 1778010877
}

Documentation Index

Fetch the complete documentation index at: https://developer.surecart.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

account

Expandable – The associated account ID.

created_at
integer

Time at which the object was created. Measured in seconds since the Unix epoch.

type
string

Description of the event (e.g., subscription.updated or charge.updated).