/api/v1/packages/{id}Update one or more fields on an existing package. All body fields are optional; only include the fields you want to change.
Requires the Packages:Edit permission.
Path parameters
idstring· uuidrequiredThe package ID.
Body
namestringUpdate the package name.
descriptionstringUpdate the description.
pricenumberUpdate the base price.
releaseAtstringSet or move the pre-order release date. Pre-orders already sold move with it.
firstPurchaseDiscountEnabledbooleanEnable or disable the first-purchase discount.
firstPurchaseDiscountTypestring”percentage” or “fixed”.
firstPurchaseDiscountValuenumberPercent off or fixed amount off.
isActivebooleanEnable or disable the package.
sortOrderintegerReorder within the category.
categoryIdstring· uuidMove the package to a different category.
serverIdsstring[]· uuidReplace the servers this package is available on.