Inventory / Index



Name

Inventory Index

Description

Returns information for all of the inventory an Office has sent to TEvo

Type

GET

URL

/v9/inventory

Credential Type

APICredential|UserCredential

Supports Pagination

No

Long Description

Returns information for all of the inventory an Office has sent to TEvo.

Parameters

Name

Description

Value Type

Required

Name

Description

Value Type

Required

office_id

ID of the Office for which you would like to get inventory

Integer

Required

state

Indicates if you want to retrieve inventory that has been mapped (available for sale on a specific event) or is unmapped (waiting to be mapped to an event). One of

  • ALL

  • MAPPED

  • UNMAPPED

String

Optional.

Default: ALL.

 

Response Properties

Name

Description

Value Type

Notes

Name

Description

Value Type

Notes

id

TEvo’s ID for the ticket group

Integer|NULL

NULL if the inventory is not yet mapped.

remote_id

This is the ID of the ticket group in your POS that was provided when the tickets were sent to TEvo.

Integer

 

event_id

The ID of the TEvo Event where these tickets are available for sale.

Integer|NULL

NULL if the inventory is not yet mapped.

Examples

Request

Response

Request

Response

GET /v9/inventory?office_id=1234

or

GET /v9/inventory?office_id=1234&state=ALL

[ { "id": 1939203215, "remote_id": 605696419, "event_id": 2306558 }, { "id": null, "remote_id": 79253586, "event_id": null }, { "id": null, "remote_id": 79253588, "event_id": null }, { "id": 1952306134, "remote_id": 600809252, "event_id": 2236152 } ]

GET /v9/inventory?office_id=1234&state=MAPPED

[ { "id": 1939203215, "remote_id": 605696419, "event_id": 2306558 }, { "id": 1952306134, "remote_id": 600809252, "event_id": 2236152 } ]

GET /v9/inventory?office_id=1234&state=UNMAPPED

[ { "id": null, "remote_id": 79253586, "event_id": null }, { "id": null, "remote_id": 79253588, "event_id": null } ]