Skip to main content
https://.thoughtindustries.com

Extract

List bulkPurchase

List bulkPurchase

GEThttps://example.thoughtindustries.com/incoming/v2/events/bulkPurchase

Returns a paginated list of bulk purchase events. Use the cursor and date parameters to filter or page through results.

Example request

curl "https://example.thoughtindustries.com/incoming/v2/events/bulkPurchase" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
kindstringYespathThe event kind to extract, supplied as the final path segment of the URL (bulkPurchase for this endpoint).
cursorstringNoqueryOpaque cursor string used to fetch the next page of results.
startDateintegerNoqueryReturns only events that occurred at or after this time, expressed as a Unix timestamp in milliseconds.
endDateintegerNoqueryReturns only events that occurred at or before this time, expressed as a Unix timestamp in milliseconds.

Example response

{
  "pageInfo": {
    "cursor": "string",
    "hasMore": true
  },
  "events": []
}

Response fields

FieldTypeDescription
pageInfoobjectCursor-based pagination metadata for the event stream.
pageInfo.cursorstringOpaque cursor to pass on the next request to retrieve the following page.
pageInfo.hasMorebooleanWhether additional pages of results are available.
eventsobject[]Array of event objects matching the query parameters.