Quotes
Try itPOST https://pr-7220-ticketing-api.erik-1c8.workers.dev/v1/quotes
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), Body (is missing line_items)
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Header Parameters
Ticketing-Organizer*string
Required organizer tenant id. There is intentionally no default, even for single-grant keys.
Match
^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}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
line_items*array<>
Items
1 <= items <= 50codes?array<>
Items
items <= 10customer?
Response 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/quotes" \ -H "Ticketing-Organizer: string" \ -H "Content-Type: application/json" \ -d '{ "line_items": [ { "item_id": "string", "quantity": 1 } ] }'{ "mode": "preview", "created": "2019-08-24T14:15:22Z", "currency": "string", "subject": { "kind": "authenticated", "customer_id": "string", "external_ref": "string" }, "line_items": [ { "item_id": "string", "event_id": "string", "description": "string", "quantity": 1, "unit_list_price_minor": 0, "unit_price_minor": 0, "list_subtotal_minor": 0, "discount_minor": 0, "subtotal_minor": 0, "booking_fee_minor": 0, "platform_fee_minor": 0, "effect_ids": [ "string" ], "sellable": true, "blocked_reason": "gated" } ], "applied_effects": [ { "id": "string", "provider_kind": "discount_codes", "provider_id": "string", "type": "percent_off", "state": "applied", "source": { "kind": "string", "label": "string", "ref": "string", "plan_id": "string", "membership_id": "string", "plan_name": "string", "display": "string", "benefit_id": "string" }, "requires": { "kind": "string", "label": "string", "ref": "string", "plan_id": "string", "membership_id": "string", "plan_name": "string", "display": "string", "benefit_id": "string" }, "description": "string", "stackable": true, "consumable": true, "redemption_ref": "string", "percent_bps": 0, "amount_minor": 0, "currency": "string", "price_override_minor": 0, "applies_to_item_ids": [ "string" ], "applies_to_event_ids": [ "string" ], "unlocks_item_ids": [ "string" ] } ], "unapplied_effects": [ { "id": "string", "provider_kind": "discount_codes", "provider_id": "string", "type": "percent_off", "state": "applied", "source": { "kind": "string", "label": "string", "ref": "string", "plan_id": "string", "membership_id": "string", "plan_name": "string", "display": "string", "benefit_id": "string" }, "requires": { "kind": "string", "label": "string", "ref": "string", "plan_id": "string", "membership_id": "string", "plan_name": "string", "display": "string", "benefit_id": "string" }, "description": "string", "stackable": true, "consumable": true, "redemption_ref": "string", "percent_bps": 0, "amount_minor": 0, "currency": "string", "price_override_minor": 0, "applies_to_item_ids": [ "string" ], "applies_to_event_ids": [ "string" ], "unlocks_item_ids": [ "string" ] } ], "superseded_effect_ids": [ "string" ], "rejected_codes": [ { "code": "string", "reason": "not_found" } ], "totals": { "list_subtotal_minor": 0, "discount_minor": 0, "subtotal_minor": 0, "booking_fee_minor": 0, "platform_fee_minor": 0, "total_minor": 0 }, "degraded": true, "degraded_providers": [ "discount_codes" ]}