Skip to content

Commit 40bd672

Browse files
authored
Merge pull request #159 from shahnvaibhav/dev
Add response structure to Event Inventory, Reserve Tickets, Commit Tr…
2 parents cd32d81 + 2c7c08e commit 40bd672

1 file changed

Lines changed: 85 additions & 1 deletion

File tree

products-and-docs/apis/partner/index.md

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,23 @@ For use by Channel Partners only. Discover events available to transact on. For
10001000

10011001
*Polling: No*
10021002

1003+
### Response structure:
1004+
1005+
{: .nested-list}
1006+
1007+
- `events` (array) - Events.
1008+
- {arrayitemobject} - event
1009+
* `eventCode` (string) - Event code Eg: "EPT0726E"
1010+
* `eventHost` (string) - Host system Eg: "LA2"
1011+
* `eventId` (string) - Event ID Eg. "0B004D43F86C478F"
1012+
* `eventDate` (date) - Event Date in UTC YYYY-MM-DD format
1013+
* `eventTime` (time) - Event Time in UTC HH:MM:SS format
1014+
* `timeZone` (text) - Time zone of the event venue location Eg: "America/Los_Angeles"
1015+
* `offers` (array) - Offers on the Event
1016+
- {arrayitemobject} - offer
1017+
* `repName` (text) - Offer name. Eg: "GPAS4"
1018+
* `ticketType` (text) - Ticket Type Id Eg: "00004C440003"
1019+
10031020
>[Request](#req)
10041021
>[Response](#res)
10051022
{: .reqres}
@@ -1046,7 +1063,8 @@ Status 200
10461063
{: #ticket-availability}
10471064
For use by Channel Partners only. Get total allocated and remaining ticket amounts for each ticket type per event. Current un-sold seat inventory is also included along with the current ticket reservation limit.
10481065

1049-
Channel partners are expected to maintain their own inventory counts and should only periodically check this service to sync inventory with their internal systems. This service should not be used in real-time in line with an active purchase being made. The data available by this service may be cached for extended periods of time. Usage should be in accordance with agreed-upon rate limits between TM and the Channel Partner. Contact Ticketmaster for enablement.
1066+
This service should not be used in real-time in line with an active purchase being made. The data available by this service may be cached for extended periods of time. Usage should be in accordance with agreed-upon rate limits between TM and the Channel Partner. Contact Ticketmaster for enablement.
1067+
For inventory that has been exclusively set aside, Channel partners are expected to maintain their own inventory counts and should only periodically check this service to sync inventory with their internal systems. However, for inventory that is “open” (non-exclusive) where anyone can sell from, Channel partners should not maintain their own inventory counts.
10501068

10511069
/partners/v1/events/{event_id}/availability
10521070
{: .code .red}
@@ -1303,6 +1321,61 @@ Reserves the specified tickets. For integrations requiring captcha, send the cap
13031321
| `event_id` | The 16-digit alphanumeric event ID. | string | "0B004ED9FC825ACB" | Yes |
13041322
| `apikey` | Your API Key | string | "GkB8Z037ZfqbLCNtZViAgrEegbsrZ6Ne" | Yes |
13051323

1324+
### Response structure:
1325+
1326+
{: .nested-list}
1327+
1328+
- (object) - response
1329+
* `cart_id` (object) - Cart ID
1330+
* `reserve` (object) - Reserve
1331+
* `cart` (object) - Cart
1332+
* `hold_time` (number) - Cart expiry time in seconds
1333+
- `items` (array) - Items
1334+
- {arrayitemobject} - item
1335+
* `id` (number) - Item id
1336+
* `type` (text) - Type of item. Eg 'ticket'
1337+
* `x_num` (number) - X number
1338+
* `end_seat_number` (number) - End Seat Number
1339+
* `event_id` (text) - Event Id Eg. "3F004CBB88958BF9"
1340+
* `num_seats` (number) - Number of seats
1341+
* `row` (text) - Name of Row Eg. "I"
1342+
* `section` (text) - Section Name Eg. "MEZZ" for Mezzanine
1343+
* `start_seat_number` (number) - Begin Seat Number
1344+
* `is_ga` (boolean=true/false) - true if general admission else false.
1345+
- `tickets` (array) - Tickets
1346+
- {arrayitemobject} - Ticket
1347+
* `charges` (array) - Charges
1348+
- {arrayitemobject} - Charge
1349+
* `price` (number) -
1350+
* `quantity` (number) -
1351+
* `tax` (number) -
1352+
* `type` (text) - Type of charge Eg. distance, face_value, facility, service etc.
1353+
* `description` (text) - Offer name
1354+
* `id` (text) - Ticket type Id
1355+
* `quantity` (number) - Number of tickets reserved
1356+
- `totals` (array) - Totals
1357+
- {arrayitemobject} - Total
1358+
* `currency_code` (text) - Currency Eg. "USD"
1359+
* `fee` (number) - Fees
1360+
* `grand` (number) - Grand total
1361+
* `merchandise` ( number) - Base item value. Excludes fees, taxes, and delivery
1362+
* `delivery` (number) - Delivery charge
1363+
* `tax` (number) - Tax
1364+
* `unpaid` (number) - Unpaid balance
1365+
* `upsell` (number) - Upsell cost
1366+
- `areas` (array) - Areas
1367+
- {arrayitemobject} - area
1368+
* `description` (text) - Description of the area or price level Eg. "100 Level" or "Price Level 6"
1369+
* `id` (number) - Area ID
1370+
- `totals` (object) - Totals
1371+
* `currency_code` (text) - Currency Eg. "USD"
1372+
* `fee` (number) - Total Fees
1373+
* `grand` (number) - Grand total
1374+
* `merchandise` ( number) - Total base value of the items. Excludes fees, taxes, and delivery
1375+
* `delivery` (number) - Total Delivery charge
1376+
* `tax` (number) - Total Tax
1377+
* `unpaid` (number) - Total Unpaid balance
1378+
13061379

13071380
>[Request](#req)
13081381
>[Response](#res)
@@ -1827,6 +1900,17 @@ For now, the response is the same with or without the Authorization Header.
18271900

18281901
### Properties
18291902

1903+
### Response structure:
1904+
1905+
{: .nested-list}
1906+
1907+
- (object) - response
1908+
* `redemption_url` (url) - link to claim your tickets on ticketmaster
1909+
* `grand_total` (number) - Total value of the order
1910+
* `currency_code` (text) - Currency of the total value of the order
1911+
* `order_token` (text) - Order Token
1912+
* `order_number` (text) - HOST order ID
1913+
* `tm_app_url` (url) - Custom scheme URL that Ticketmaster app supports
18301914

18311915
>[Request](#req)
18321916
>[Response](#res)

0 commit comments

Comments
 (0)