Update Tier
/admin/tiers/{tierId}Replaces the tier's name, discount and whole policy with these, for every reseller of the tier at once: a field left as it was must be sent as it was. 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).
Path Parameters
^([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.
0 <= value <= 10000Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/admin/tiers/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "discountBps": 0, "policy": { "allowedActions": [ "hwid_reset" ], "quotas": [ { "action": "hwid_reset", "limit": 0, "period": "day" } ], "maxKeysPerOrder": 1, "monthlyPurchaseCapMinor": 0, "approvalThresholdMinor": 0, "hwidResetOverageMinor": 0, "extendPricing": "free" } }'{ "id": "string", "name": "string", "discountBps": 0, "policy": { "allowedActions": [ "hwid_reset" ], "quotas": [ { "action": "hwid_reset", "limit": 0, "period": "day" } ], "maxKeysPerOrder": 1, "monthlyPurchaseCapMinor": 0, "approvalThresholdMinor": 0, "hwidResetOverageMinor": 0, "extendPricing": "free", "mayInviteSubResellers": true, "maxSubResellers": 0, "subResellerPayLaterLimitMinor": 0 }, "createdAt": "string", "updatedAt": "string"}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.
Check Connection POST
Next Page
