ApiPurchases
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/GetPurchase" \ -H "Content-Type: application/json" \ -d '{ "workspaceId": "AAECAwQFBgcICQoLDA0ODw==", "purchaseId": "MDEyMzQ1Njc4OWFiY2RlZg==" }'{
"purchase": {
"id": "MDEyMzQ1Njc4OWFiY2RlZg==",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"contractId": "EBESExQVFhcYGRobHB0eHw==",
"marketHashName": "AK-47 | Redline (Field-Tested)",
"status": "PURCHASE_STATUS_TRADED",
"version": "5",
"listingPriceCents": "4200",
"maxBuyPriceCents": "5000",
"platformFeeCents": "800",
"listingId": "csfloat-listing-8731",
"listingAssetId": "29384710293",
"marketplace": "csfloat",
"accountName": "trader_steam_01",
"createdAt": "2026-04-10T08:30:00Z",
"updatedAt": "2026-04-10T09:12:00Z"
}
}Empty
List inventory item IDs in a workspace.
Returns a paged list of inventory item IDs owned by the workspace. Supports filtering by contract_id and lifecycle status. Use GetInventoryItem or GetInventoryItems to hydrate the full records.
List purchase IDs in a workspace.
Returns a paged list of purchase IDs in the workspace. Supports filtering by contract_id and lifecycle status. Use GetPurchase or GetPurchases to hydrate the full records.