# Find event tickets with a promo code Capability: `com.ticketfairy.www.ticketing.selection` Version: `2026-10-09` This Ticket Fairy extension lets an authenticated buying agent find the ticket types available to a guest after entering a promo code. The hosted event page owns eligibility, stock, quantity and indicative price. This read creates no cart, stock hold, buyer authentication, order or payment authority. ## Negotiate the extension ACP `2026-04-17` requires the exact identifier `com.ticketfairy.www.ticketing.selection@2026-10-09` in `capabilities.extensions`. UCP `2026-08-25` requires the exact capability/version in the signed platform-profile intersection, together with `dev.ucp.shopping.checkout`. Unsigned JSON does not supply UCP negotiation. The schema's `$defs["dev.ucp.shopping.checkout"]` composes the full pinned checkout schema through `allOf`. This extension adds no checkout JSON field. Other negotiated extensions retain their own composition and authority. In particular, UCP code-bearing Create still needs the existing discount capability. Create retains the selection version; Update cannot add or upgrade it. Old profiles keep their existing behaviour. ## Request a page Use one queryless POST on the authenticated ticket site's origin: - `/api/v1/agentic/acp/ticket-selection` - `/api/v1/agentic/ucp/ticket-selection` Both require current `ticket_buyer` / `checkout.read` application authority and the current host, tenant and white-label scope. ACP uses the existing bearer boundary. UCP uses the existing HTTP-signature boundary, including the exact body digest and signed platform profile. Both require `Idempotency-Key`. The key is correlation for a live read; it does not create a mutation receipt, lock, retained checkout or cached result. This is an owned extension operation, not standard UCP catalog search or lookup. ```json { "event_url": "https://www.ticketfairy.com/event/example/", "context": {"currency": "USD"}, "discounts": {"codes": ["summer"]}, "pagination": {"limit": 25}, "capabilities": { "extensions": ["com.ticketfairy.www.ticketing.selection@2026-10-09"] } } ``` Use `AcpTicketSelectionRequest` for ACP. For UCP, omit `capabilities` and use `UcpTicketSelectionRequest`. Unknown fields are invalid. `event_url` must be a canonical HTTPS event permalink on the authenticated host. Its path and any slug query must exactly match the current server-owned event URL template. Credentials, fragments and arbitrary query parameters are invalid. Currency is optional. The native event preference supplies the default. A requested currency must be available for the event. `discounts.codes` replaces all code inputs and accepts up to ten strings, each at most 256 UTF-8 bytes without control characters. Empty clears codes. Native manual-code bounds, case folding, schedule, customer conditions and combination rules still apply. Only one successful manual code is applied. `pagination.limit` defaults to 25 and accepts 1–25. Reuse a returned opaque cursor only with the same event, host, tenant, authenticated application, currency, normalized codes and limit. Each page rechecks live native eligibility. The cursor is not an inventory snapshot or authority to purchase. ### Select existing gift certificates or memberships When the agent also negotiates `com.ticketfairy.www.ticketing.native-products@2026-10-16`, the same read accepts optional `product_type`: `gift_amount`, `gift_ticket` or `membership`. ACP includes both extension identifiers in `capabilities.extensions`. UCP requires both in its signed profile intersection. Omitting `product_type` preserves ordinary ticket selection. Product discovery is a local candidate, not an announcement that product checkout is activated. Product pages return one-product quantities and typed opaque identities accepted by the native product checkout candidate. Certificate configuration includes its duration and shipping need, plus either its face value or its hosted one-to-ten ticket count. Membership configuration includes its duration; this read does not load or expose the full plan. Gift prices come from the native certificate quote helper, not a face-value-as-total approximation. All prices remain indicative. Purchaser sign-in, recipient details and the current price and payment route are revalidated by checkout. Discovery creates no cart, entitlement or payment authority. Product cursors also bind kind and native-product version. Amount pages scan at most 25 configured slots, preserving original positions and JSON scalar types in their digests. Invalid slots are skipped without renumbering. An empty page can still have `pagination.has_more: true`; follow its advancing cursor to reach later valid values or definitions. Arrays are never loaded whole. Membership pages use a live `(name,id)` keyset. Product requests do not accept ticket promo codes; omit `discounts` or provide empty `discounts.codes` instead of claiming an unapplied discount. ## Read the result The `TicketSelectionResponse` has `event_url`, resolved `currency`, `items`, `discounts`, `messages` and `pagination`. Items contain existing opaque public ticket references, plain titles, native sale status and quantity limits. `price.amount` uses currency minor units and is indicative, not a final quote. Unavailable stock takes precedence over date messages, as on the hosted page. `sale_status` never grants account, seat, wallet or payment authority. A table has sale quantity one. `table_selection` gives the native guest range, fractional `deposit_percent`, `price_basis: minimum_guests_full_display_total`, and an additional-guest display price. The main display price includes native deposit-fee treatment. It is not the online deposit due or the final total for a chosen guest count. Native checkout calculates the deposit, balance and extras. `quantity_pool` has a scope-bound opaque relationship and advisory remaining quantity. Whole-event promo, bracket and dependency decisions apply before the page cap. This response returns ticket types, not add-ons. Existing catalog add-on options retain opaque prerequisite references and required-group facts. The native cart automatically reserves time-slot dependent ticket holds. Unknown, expired, unrelated, auto-only or unusable codes return HTTP 200 with ordinary public options and `{code, reason, message}` in `discounts.rejected`. They do not reveal unrelated hidden types. Account-prerequisite codes remain unavailable to a guest. Matching an account's email is not authentication. Email-bound codes retain their native buyer-email requirement at checkout; the lookup does not reveal an allowed email. ## Continue to checkout Use returned ticket references and the accepted code with the existing checkout Create operation under its negotiated extensions. Native code entry runs before `on_addToCart`, including hidden-only eligibility, then the existing cart promo owner validates the selected cart. Quantities, buyer details, payment account, live currency and final purchase validation remain with existing checkout. Replacement, clearing and completion revalidation retain their existing owners. Invitation, limited-link and seat-map authority are not supplied by this read. ## Errors and privacy Malformed input is 400; application authority failure is 401/403; wrong host or unavailable event is 404; unsupported method is 405; rate limits are 429; unexpected native failure is 503. Native failure never reveals hidden tickets through a permissive fallback. Responses are private and `no-store`. Crawler instrumentation receives only route, status and outcome, not codes, body contents, buyer data or payment configuration. Protocol references: - [Pinned ACP extension declarations](https://github.com/agentic-commerce-protocol/agentic-commerce-protocol/blob/7fdd78df677a94dce04c770644b0fbbb1401272b/spec/2026-04-17/openapi/openapi.agentic_checkout.yaml). - [Pinned UCP negotiation and third-party extension composition](https://github.com/Universal-Commerce-Protocol/ucp/blob/cd78fb38e819de77d9b527d110476eccb876f1bd/docs/specification/overview/index.md). - [Pinned UCP REST signature components](https://github.com/Universal-Commerce-Protocol/ucp/blob/cd78fb38e819de77d9b527d110476eccb876f1bd/docs/specification/signatures.md).