List Tickets for Sale
create_listingUse when the user wants to sell tickets they hold on the XP marketplace -- 'sell my two seats for Friday', 'list section 104 row C', 'put my tickets up'. Creates the listing that buyers (other fans on XP) then make an offer on; the seller answers those with accept_offer and reject_offer. Tickets are not transferred now -- transfer happens after an offer is accepted. Two-phase: confirm=false previews so the section, row and seats can be read back to the user, confirm=true creates it. A new listing is REVIEWED before it goes live. The result carries listing_state -- live, in_review or not_accepted -- and only live means buyers can see it. Do not tell the user their tickets are for sale unless it says live. Requires auth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ga | No | True for general admission with no seat numbers. | |
| row | No | Row, e.g. C. Omit for general admission. | |
| is_ada | No | True for accessible seating. | |
| is_sro | No | True for standing room only. | |
| confirm | No | False (default) previews. True creates the listing. | |
| section | No | Section name exactly as the venue prints it, e.g. 104. | |
| event_id | Yes | Event identifier from search_market or search_events. | |
| quantity | Yes | How many tickets are being listed together. | |
| last_seat | No | Last seat number, if seated. | |
| first_seat | No | First seat number, if seated. | |
| ask_per_ticket_usd | No | Optional asking price per ticket in dollars. Omit to invite offers with no anchor. | |
| is_obstructed_view | No | True if the view is obstructed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||