List Purchases
/storefront-public/api/v1/purchasesThe caller's purchases, newest first: its own orders and what it pays for its sub-resellers' orders. q matches the start of a purchase id, or part of its note or of a product name. subResellerId names one of the caller's direct sub-resellers; any other membership is not found.
Authorization
bearer In: header
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/storefront-public/api/v1/purchases"{ "items": [ { "id": "string", "status": "pending_approval", "totalMinor": 0, "chargedMinor": 0, "currency": "AED", "lines": [ { "id": "string", "skuId": "string", "skuName": "string", "quantity": 1, "unitPriceMinor": 0, "lineTotalMinor": 0, "status": "pending", "mintedCount": -9007199254740991, "failureReason": "string" } ], "note": "string", "tags": [ "string" ], "idempotencyKey": "string", "createdAt": "string", "completedAt": "string", "resale": { "buyer": { "membershipId": "string", "displayName": "string" }, "soldFor": { "totalMinor": 0, "chargedMinor": 0 } }, "awaitingApproval": { "_tag": "Store" } } ], "nextCursor": "string", "total": 0}List Key Tags GET
The distinct tags on the caller's own keys in this store, each with how many keys carry it, most used first: at most 500. Pass one as ListKeys' `tag` to list those keys.
List Trials GET
The provider products the caller may mint trial keys of, each with the longest a trial may last. Empty when the store's policy does not allow trials. Fails with the provider's error when a connection's provider cannot list its products, rather than answer a list missing that connection's trials.
