Skip to Content
FluxStore is currently invite-only. Some sections of this documentation are still being written and expanded.
POST/api/v1/packages

Create a new package in the store.

Requires the Packages:Edit permission.

Body

namestringrequired
The package name.
descriptionstring
Long-form description.
pricenumberrequired
Base price in the store’s default currency.
releaseAtstring
A future date makes this a pre-order: buyable immediately, delivered at that time. Rejected on subscription packages.
firstPurchaseDiscountEnabledboolean
Charge buyers who have never owned this package less. Defaults to false.
firstPurchaseDiscountTypestring
”percentage” or “fixed”. Required when the discount is enabled.
firstPurchaseDiscountValuenumber
Percent off (1 to 100) or a fixed amount, which cannot exceed the price.
isActiveboolean
Whether the package is enabled. Defaults to true.
sortOrderinteger
Position within the category. Defaults to 0.
categoryIdstring· uuid
Category to assign this package to.
serverIdsstring[]· uuid
Servers this package will be available on.