Interface InventoryResource
@Path("/inventory")
@Produces("application/json")
@Consumes("application/json")
public interface InventoryResource
-
Method Summary
Modifier and TypeMethodDescriptionorg.oxerr.stubhub.client.model.BulkProcessingResultSummaryResponsebulkUpdate(org.oxerr.stubhub.client.model.BulkInventoryRequest bulkInventoryRequest) Bulk Update Listings.org.oxerr.stubhub.client.model.ListingResponsecreateInventory(org.oxerr.stubhub.client.model.InventoryCreateRequest listing) Create inventory.org.oxerr.stubhub.client.model.InventoryExportResponseexport(OffsetDateTime updatedDateSince, Integer pageSize, Long paginationToken, Boolean includePastEvents, Boolean includeBuyerCommissionsPerTicket, OffsetDateTime createDateFrom, OffsetDateTime createDateTo, OffsetDateTime updatedDateTo) Exports inventory for exchange integration.org.oxerr.stubhub.client.model.BulkProcessingResultSummaryResponsegetBulkUpdateStatus(UUID bulkProcessingId) Get Bulk Update Listings Status.org.oxerr.stubhub.client.model.ListingResponsegetByExternalId(String externalId, Boolean includeBuyerCommissionsPerTicket) Get inventory by External ID.List<org.oxerr.stubhub.client.model.ListingResponse> getByExternalIds(String externalId, Boolean includeBuyerCommissionsPerTicket) Get multiple inventories by External ID.org.oxerr.stubhub.client.model.InventoryExportResponsesearch(List<Integer> eventIds, List<Integer> categoryIds, List<String> includeTags, List<String> excludeTags, OffsetDateTime purchaseStartDate, OffsetDateTime purchaseEndDate, Integer maxPageSize, Long paginationToken, Boolean includePastEvents, Boolean includeBuyerCommissionsPerTicket, UUID eventMappingId, String vendorName, String eventSearchText, String tagKey, String tagValue) Search inventory.List<org.oxerr.stubhub.client.model.SearchListingsResponse>
-
Method Details
-
createInventory
@POST org.oxerr.stubhub.client.model.ListingResponse createInventory(org.oxerr.stubhub.client.model.InventoryCreateRequest listing) Create inventory. -
search
@GET @Path("/search") org.oxerr.stubhub.client.model.InventoryExportResponse search(@QueryParam("eventIds") List<Integer> eventIds, @QueryParam("categoryIds") List<Integer> categoryIds, @QueryParam("includeTags") List<String> includeTags, @QueryParam("excludeTags") List<String> excludeTags, @QueryParam("purchaseStartDate") OffsetDateTime purchaseStartDate, @QueryParam("purchaseEndDate") OffsetDateTime purchaseEndDate, @QueryParam("maxPageSize") Integer maxPageSize, @QueryParam("paginationToken") Long paginationToken, @QueryParam("includePastEvents") Boolean includePastEvents, @QueryParam("includeBuyerCommissionsPerTicket") Boolean includeBuyerCommissionsPerTicket, @QueryParam("eventMappingId") UUID eventMappingId, @QueryParam("vendorName") String vendorName, @QueryParam("eventSearchText") String eventSearchText, @QueryParam("tagKey") String tagKey, @QueryParam("tagValue") String tagValue) Search inventory.- Parameters:
eventIds- Viagogo Event Ids to include (optional)categoryIds- Viagogo Event Categories to include (optional)includeTags- Tags to include (optional)excludeTags- Tags to exclude (optional)purchaseStartDate- Inclusive starting purchase order date. The quantity of tickets considered for the listings will only consider tickets associated to valid purchase. (optional)purchaseEndDate- Inclusive ending purchase order date. The quantity of tickets considered for the listings will only consider tickets associated to valid purchase. (optional)maxPageSize- The max number of items returned per api call (default 500; min 1; max 5000) (optional)paginationToken- Values used to continue iteration for an equivalent query where last left off (optional)includePastEvents- To include inventory from past events in the results. Default is false (optional)includeBuyerCommissionsPerTicket- To include buyerCommissionsArray per Ticket. Default is false (optional)eventMappingId- (optional)vendorName- any purchase that match the vendor name (optional)eventSearchText- search event name or venue name or performer name by this search text (optional)tagKey- Tag key name (optional)tagValue- Tag value name (optional)- Returns:
- inventories.
-
seek
-
export
@GET @Path("/export") org.oxerr.stubhub.client.model.InventoryExportResponse export(@QueryParam("updatedDateSince") OffsetDateTime updatedDateSince, @QueryParam("pageSize") Integer pageSize, @QueryParam("paginationToken") Long paginationToken, @QueryParam("includePastEvents") Boolean includePastEvents, @QueryParam("includeBuyerCommissionsPerTicket") Boolean includeBuyerCommissionsPerTicket, @QueryParam("createDateFrom") OffsetDateTime createDateFrom, @QueryParam("createDateTo") OffsetDateTime createDateTo, @QueryParam("updatedDateTo") OffsetDateTime updatedDateTo) Exports inventory for exchange integration. The results from this method are sorted by reverse mutation date order.- Parameters:
updatedDateSince- The beginning update date to be used for looking up inventory. Must be in format yyyy-MM-ddTHH:mm:ss.pageSize- The number of results per page. Default page size is 100. Max page size is 5000.paginationToken- Token used to paginate result set.includePastEvents- To include inventory from past events in the results. Default is false.includeBuyerCommissionsPerTicket- o include buyerCommissionsArray per Ticket. Default is false.createDateFrom- The beginning create date to be used for looking up inventory. Must be in format yyyy-MM-ddTHH:mm:ss.createDateTo- The ending create date to be used for looking up inventory. Must be in format yyyy-MM-ddTHH:mm:ss.updatedDateTo- The ending update date to be used for looking up inventory. Must be in format yyyy-MM-ddTHH:mm:ss.
-
bulkUpdate
@POST @Path("/bulk") org.oxerr.stubhub.client.model.BulkProcessingResultSummaryResponse bulkUpdate(org.oxerr.stubhub.client.model.BulkInventoryRequest bulkInventoryRequest) Bulk Update Listings. -
getBulkUpdateStatus
@GET @Path("/bulk/{bulkProcessingId}") org.oxerr.stubhub.client.model.BulkProcessingResultSummaryResponse getBulkUpdateStatus(@PathParam("bulkProcessingId") UUID bulkProcessingId) Get Bulk Update Listings Status. -
getByExternalId
@GET @Path("/inventory/external/{externalId}") org.oxerr.stubhub.client.model.ListingResponse getByExternalId(@PathParam("externalId") String externalId, @QueryParam("includeBuyerCommissionsPerTicket") Boolean includeBuyerCommissionsPerTicket) Get inventory by External ID. -
getByExternalIds
@GET @Path("/inventory/externals/{externalId}") List<org.oxerr.stubhub.client.model.ListingResponse> getByExternalIds(@PathParam("externalId") String externalId, @QueryParam("includeBuyerCommissionsPerTicket") Boolean includeBuyerCommissionsPerTicket) Get multiple inventories by External ID.
-