Docs menu

API reference

billing.items.buy

Buy a Theme or add-on for a Site

POST/api/v1/billing/items

Needs the billing:manage permission. As an MCP tool it is named billing.items.buy.

Details

Buy one extra (a Theme, an add-on or a bundle) for one built Site, once: returns a Stripe Checkout page at WoFlare's price, where a promotion code may be entered. The Site has it once Stripe confirms the payment; another Site does not. Not refunded. Owner only, signed in in the last ten minutes. NOT_FOUND for an unknown extra or Site, CONFLICT for one not for sale yet, a Site not built yet, or one that already has it.

Input

FieldTypeNotes
itemIdrequiredstring1 to 64 characters
siteIdrequiredstring1 to 64 characters

Output

FieldTypeNotes
urlrequiredstring

All Operations