/api/v1/packagesCreate a new package in the store.
Requires the Packages:Edit permission.
Body
namestringrequiredThe package name.
descriptionstringLong-form description.
pricenumberrequiredBase price in the store’s default currency.
releaseAtstringA future date makes this a pre-order: buyable immediately, delivered at that time. Rejected on subscription packages.
firstPurchaseDiscountEnabledbooleanCharge buyers who have never owned this package less. Defaults to false.
firstPurchaseDiscountTypestring”percentage” or “fixed”. Required when the discount is enabled.
firstPurchaseDiscountValuenumberPercent off (1 to 100) or a fixed amount, which cannot exceed the price.
isActivebooleanWhether the package is enabled. Defaults to
true.sortOrderintegerPosition within the category. Defaults to
0.categoryIdstring· uuidCategory to assign this package to.
serverIdsstring[]· uuidServers this package will be available on.