Annotate Key
/storefront-public/api/v1/keys/{licenseId}/annotationsAuthorization
bearer In: header
Path Parameters
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.
^([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.
items <= 20Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/storefront-public/api/v1/keys/string/annotations" \ -H "Content-Type: application/json" \ -d '{ "note": "string", "tags": [ "string" ] }'{ "id": "string", "code": "string", "skuId": "string", "skuName": "string", "purpose": "sale", "purchaseId": "string", "status": "unused", "durationMinutes": 1, "activatedAt": "string", "expiresAt": "string", "holderDisplay": "string", "lastSeenAt": "string", "note": "string", "tags": [ "string" ], "refreshedAt": "string", "createdAt": "string"}Sell from your own website
Mint a key from the store you resell for at the moment your own customer pays, with no stock and nothing paid upfront.
Create Purchase POST
Prices the lines, holds the total against balance plus credit limit, and mints the keys. With expectedTotalMinor, a total that differs from it refuses the purchase with QuoteChangedError, carrying the new total. A purchase over the approval threshold waits for the seller with its funds held. A provider that cannot be reached leaves it processing; reading it retries.
