{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SalesHistoryPagedCollection",
"title": "SalesHistoryPagedCollection",
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The URI of the current page of results from the result set.
The following example returns items 1 thru 5 from the list of items found.
https://api.ebay.com/buy/marketplace_insights/v1_beta/item_sales/search?q=shirt&&limit=5&offset=0"
},
"itemSales": {
"type": "array",
"description": "The type that defines the fields for a paginated result set of the sold items. The response consists of 0 or more sequenced result sets where each result sets has 0 or more items.
Note: For items with multiple quantities that might result in multiple transactions, and items with the SELLER_DEFINED_VARIATIONS group type that might result in multiple transactions, only one deduped transaction is returned in the search results.",
"items": {
"$ref": "#/components/schemas/ItemSales"
}
},
"limit": {
"type": "integer",
"description": "The number of items returned on a single page from the result set. This value can be set in the request with the limit query parameter.",
"format": "int32"
},
"next": {
"type": "string",
"description": "The URI for the following page of results. This value is returned only if there is an additional page of results to display from the result set.
Max length: 2048"
},
"offset": {
"type": "integer",
"description": "The number of results skipped in the result set before listing the first returned result. This value can be set in the request with the offset query parameter.",
"format": "int32"
},
"prev": {
"type": "string",
"description": "The URI for the preceding page of results. This value is returned only if there is a previous page of results to display from the result set.
Max length: 2048"
},
"refinement": {
"description": "The container for all the search refinements.",
"$ref": "#/components/schemas/Refinement"
},
"total": {
"type": "integer",
"description": "The total number of items retrieved in the result set.
If no items are found, this field is returned with a value of 0.
Note: total is just an indicator of the number of listings for a given query. It could vary based on the number of listings with variations included in the result. It is strongly recommended that total not be used in pagination use cases. Instead, use next to determine the results on the next page.",
"format": "int32"
}
}
}