Get stock lots
Changed onGet stock lots with filters
Retrieves stock lots with optional filtering by listing, game item, location, variant, and quality tier. Supports pagination and returns enriched lot information including variant attributes, location details, and owner information.
Requirements:
- 20.1: GET /api/v2/stock-lots endpoint
- 20.2: Accept listing_id filter parameter
- 20.3: Accept game_item_id filter parameter
- 20.4: Accept location_id filter parameter
- 20.5: Accept listed filter parameter
- 20.6: Accept variant_id filter parameter
- 20.7: Accept quality_tier_min and quality_tier_max filter parameters
- 20.8: Return array of stock lots with variant information
- 20.9: Include location and owner details in response
- 20.10: Support pagination with page and page_size parameters
- 20.11: Return total count for pagination
- 20.12: Include crafted_by information if applicable
Request
- Base URL: /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v2/stock-lots
- Auth: loggedin (a scheme the document does not define)
Query parameters
Filter by listing UUID
Filter by game item UUID
Filter by location UUID
Filter by listed status
Filter by variant UUID
Minimum quality tier (1-5)
Maximum quality tier (1-5)
Page number for pagination (default: 1)
Number of results per page (default: 20, max: 100)
Response
Stock lots with pagination metadata
Changes
- ○
added the new optional
queryrequest parameterspectrum_id - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status
- ○
- ○
added the required property
//to the response with the status
- ○