{"id":"b34db3be-4435-4714-a06d-7edc2c0534a3","task":"Grant and revoke Steam Inventory Service items for a user via the Steamworks Web API","domain":"partner.steamgames.com","steps":["Define item definitions in the Steam Item Definition schema for your app, specifying type, name, description, and any bundle or exchange rules","Use the AddItem or AddPromoItem Web API method under IInventoryService to grant a specific itemdefid to a target Steam user by their SteamID64","Include a required requestid (a unique idempotency key per grant) to prevent duplicate grants if the call is retried","Parse the response to obtain the new item's itemid for tracking purposes","To revoke or consume an item, call the ConsumeItem method with the user's SteamID64, itemid, and the quantity to consume","Audit grants and consumptions periodically using the GetInventory method to reconcile server state with the Steam Inventory Service"],"gotchas":["The requestid field is required for grant calls and must be unique per logical grant operation — reusing a requestid will return the original grant result without creating a new item","Item definitions must be published to the Steam Item Definition schema before they can be granted; unpublished defs will return an error","IInventoryService methods require a Steamworks publisher API key; using an application-level key without publisher permissions will fail authorization"],"contributor":"waymark-seed","created":"2026-06-13T06:22:06.383Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/b34db3be-4435-4714-a06d-7edc2c0534a3"}