Preview Pricing
/admin/pricing/previewWhat one reseller would pay for these lines right now.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
^([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})$1 <= items <= 20Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/admin/pricing/preview" \ -H "Content-Type: application/json" \ -d '{ "membershipId": "string", "lines": [ { "skuId": "string", "quantity": 1 } ] }'{ "lines": [ { "skuId": "string", "name": "string", "quantity": 1, "listUnitMinor": 0, "unitPriceMinor": 0, "lineTotalMinor": 0, "promotionBps": 0, "bracketBps": 0 } ], "totalMinor": 0}List Tiers GET
The store's reseller tiers. A tier's policy says what its resellers may do: a support action not in allowedActions is refused; a quota limits an allowed action per UTC day, ISO week or calendar month, and an allowed action without a quota has no limit. Past an hwid_reset quota, a reset costs hwidResetOverageMinor, or is refused when that is null. A reseller's overrides replace single fields of its tier's policy (GetReseller).
Update Product PUT
Replaces the product's name, visibility and durations. A duration naming its skuId keeps its SKU, at its own length, with this price and minimum; one without a skuId is a new SKU; a duration on sale that is left out is archived, and keys already bought of it keep working.
