Items
Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.
Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant)
Authorization
bearerAuth In: header
Query Parameters
1 <= value <= 10020Only the items of this event. An event that does not exist under your organizer has none.
^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Header Parameters
Required organizer tenant id. There is intentionally no default, even for single-grant keys.
^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/items" \ -H "Ticketing-Organizer: string"{ "data": [ { "id": "string", "event_id": "string", "name": "string", "price_minor": 0, "currency": "string", "gated": true, "active": true, "sort_order": 0, "sale_starts_at": "2019-08-24T14:15:22Z", "sale_ends_at": "2019-08-24T14:15:22Z", "opens_after_item_id": "string", "opens_when": "runs_out", "sale_state": "inactive", "sale_opens_at": "2019-08-24T14:15:22Z", "sale_opened_by": "schedule", "quota_ids": [ "string" ], "requires_approval": true, "max_per_order": 1, "metadata": { "property1": null, "property2": null } } ], "has_more": true}Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.
Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), Idempotency-Key (required header parameter), Body (is missing name, price_minor, currency, quota_ids)
Authorization
bearerAuth In: header
Header Parameters
Required organizer tenant id. There is intentionally no default, even for single-grant keys.
^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Required replay key for this create operation.
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$1 <= length0 <= value^[A-Z]{3}$date-timedate-timeThe other ticket type of the same event this one opens after, with opens_when. Set both or neither.
^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$runs_out: the other item's issued units reach the size of a quota it draws on (units in live baskets do not count). closes: the other item's sale_ends_at has passed. either: whichever comes first. Combined with sale_starts_at, the item opens at the earlier of the two; its own sale_ends_at, active and quotas still apply. Once opened by a trigger it stays open.
Value in
- "runs_out"
- "closes"
- "either"
- null
1 <= items0 < value <= 100Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/items" \ -H "Ticketing-Organizer: string" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "price_minor": 0, "currency": "string", "quota_ids": [ "string" ] }'{ "id": "string", "event_id": "string", "name": "string", "price_minor": 0, "currency": "string", "gated": true, "active": true, "sort_order": 0, "sale_starts_at": "2019-08-24T14:15:22Z", "sale_ends_at": "2019-08-24T14:15:22Z", "opens_after_item_id": "string", "opens_when": "runs_out", "sale_state": "inactive", "sale_opens_at": "2019-08-24T14:15:22Z", "sale_opened_by": "schedule", "quota_ids": [ "string" ], "requires_approval": true, "max_per_order": 1, "metadata": { "property1": null, "property2": null }}Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.
Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)
Authorization
bearerAuth In: header
Path Parameters
^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Header Parameters
Required organizer tenant id. There is intentionally no default, even for single-grant keys.
^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/items/string" \ -H "Ticketing-Organizer: string"{ "id": "string", "event_id": "string", "name": "string", "price_minor": 0, "currency": "string", "gated": true, "active": true, "sort_order": 0, "sale_starts_at": "2019-08-24T14:15:22Z", "sale_ends_at": "2019-08-24T14:15:22Z", "opens_after_item_id": "string", "opens_when": "runs_out", "sale_state": "inactive", "sale_opens_at": "2019-08-24T14:15:22Z", "sale_opened_by": "schedule", "quota_ids": [ "string" ], "requires_approval": true, "max_per_order": 1, "metadata": { "property1": null, "property2": null }}Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.
Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)
Authorization
bearerAuth In: header
Path Parameters
^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Header Parameters
Required organizer tenant id. There is intentionally no default, even for single-grant keys.
^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Optional replay key for this update operation.
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= properties^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$1 <= length0 <= value^[A-Z]{3}$date-timedate-timeThe other ticket type of the same event this one opens after, with opens_when. Set both or neither.
^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$runs_out: the other item's issued units reach the size of a quota it draws on (units in live baskets do not count). closes: the other item's sale_ends_at has passed. either: whichever comes first. Combined with sale_starts_at, the item opens at the earlier of the two; its own sale_ends_at, active and quotas still apply. Once opened by a trigger it stays open.
Value in
- "runs_out"
- "closes"
- "either"
- null
1 <= items0 < value <= 100Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/items/string" \ -H "Ticketing-Organizer: string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "event_id": "string", "name": "string", "price_minor": 0, "currency": "string", "gated": true, "active": true, "sort_order": 0, "sale_starts_at": "2019-08-24T14:15:22Z", "sale_ends_at": "2019-08-24T14:15:22Z", "opens_after_item_id": "string", "opens_when": "runs_out", "sale_state": "inactive", "sale_opens_at": "2019-08-24T14:15:22Z", "sale_opened_by": "schedule", "quota_ids": [ "string" ], "requires_approval": true, "max_per_order": 1, "metadata": { "property1": null, "property2": null }}Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.
Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), item_ids (required query parameter)
Authorization
bearerAuth In: header
Query Parameters
Comma-separated item ids, at most 100. Ids that name nothing under your organizer are omitted from the response rather than reported.
1 <= lengthHeader Parameters
Required organizer tenant id. There is intentionally no default, even for single-grant keys.
^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/item_issuance?item_ids=string" \ -H "Ticketing-Organizer: string"{ "data": [ { "item_id": "string", "issued": 0 } ]}