ResellersReferenceReseller API
Quote Key Action
POST
/storefront-public/api/v1/keys/{licenseId}/actions/quotePrices a support action on a key without running it: what RunKeyAction would charge now, and what revoking the key would refund. Refused for the same reasons RunKeyAction would be, short of funds and the provider call.
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
licenseId*string
The key's id (a UUID), not its code. A purchase answers it in licenses[].id; GET /keys?q=<code> finds it from a code.
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
_tag*"HwidReset"
Value in
- "HwidReset"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/storefront-public/api/v1/keys/string/actions/quote" \ -H "Content-Type: application/json" \ -d '{ "_tag": "HwidReset" }'{ "kind": "hwid_reset", "costMinor": 0, "refundMinor": 0}