Change what rented numbers cost us per month
Replaces the whole table; the previous one is kept in price history. Prices numbers bought from now on: one already bought keeps renewing at the price it was bought at. Requires an admin user.
/api/v1/admin/number-pricingAuthorization
BearerAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
What each rentable number costs us per month at the provider, keyed "::", in USD like wallet credits. The customer pays this plus the number_markup_usd lever. A combination missing here can't be bought.
Response Body
application/json
application/json
curl -X PUT "https://example.com/api/v1/admin/number-pricing" \ -H "Content-Type: application/json" \ -d '{ "cost": { "property1": 0, "property2": 0 } }'{ "cost": { "property1": "string", "property2": "string" }, "effective_from": "2019-08-24"}Show what rented numbers cost us per month GET
The provider's monthly price for each provider:country:number_type we sell. Customers pay this plus the number_markup_usd feature. A combination missing here can't be bought. Requires an admin user.
A workspace's effective feature levers GET
Every lever resolved for this workspace: the platform default, with its own overrides applied. Requires an admin user.