Look up the add-ons an attendee bought
Returns the add-ons an email bought for your events, newest first.
Refunded and cancelled add-ons are left out. Add-ons that came with a
ticket are not here: they are on the ticket in
POST /attendees/tickets/lookup. Requires the private key; call it from
your server only, after verifying the attendee owns the email. Responses
are sent with Cache-Control: no-store; do not cache them, because
scans change codes live.
Authorization
PrivateApiKeyAuth Your private API key (e.g. jt_private_...) passed as a Bearer token. Server-side only.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/attendees/addons/lookup" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }'{ "status": true, "data": { "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "addonId": "ed930881-3f27-4e25-9365-ff53ffbcfa14", "name": "string", "imageURL": "string", "fulfillment": "SCAN", "instructions": "string", "quantity": 0, "redeemedQuantity": 0, "codes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "redeemedAt": "2019-08-24T14:15:22Z" } ], "event": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "date": "2019-08-24T14:15:22Z", "closingDate": "2019-08-24T14:15:22Z", "timezone": "string" }, "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string" }}
