novinzodevelopers
ResellersReferenceReseller API

Annotate Key

PUT/storefront-public/api/v1/keys/{licenseId}/annotations

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.

note*|null
tags*array<string>
Itemsitems <= 20

Response 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"}