List contract IDs in a workspace.
Returns a paged list of contract IDs in the workspace. Use GetContract or GetContracts to hydrate the full records. Supports filtering by contract type (buying vs selling).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/contracts.v1.Contracts/ListContracts" \ -H "Content-Type: application/json" \ -d '{ "workspaceId": "AAECAwQFBgcICQoLDA0ODw==", "limit": 50, "cursor": "", "type": "CONTRACT_TYPE_BUYING" }'{
"contractIds": [
"EBESExQVFhcYGRobHB0eHw=="
],
"nextCursor": ""
}GetContract
Returns the contract identified by contract_id within the given workspace. Soft-deleted contracts are not returned.
GetInventoryItem
Returns the inventory item identified by inventory_item_id. Inventory items track an owned asset from receipt through listing and sale, including the current Steam asset_id.