Skip to Content
FluxStore is currently invite-only. Some sections of this documentation are still being written and expanded.
PATCH/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· uuidrequired
The package ID.

Body

namestring
Update the package name.
descriptionstring
Update the description.
pricenumber
Update the base price.
releaseAtstring
Set or move the pre-order release date. Pre-orders already sold move with it.
firstPurchaseDiscountEnabledboolean
Enable or disable the first-purchase discount.
firstPurchaseDiscountTypestring
”percentage” or “fixed”.
firstPurchaseDiscountValuenumber
Percent off or fixed amount off.
isActiveboolean
Enable or disable the package.
sortOrderinteger
Reorder within the category.
categoryIdstring· uuid
Move the package to a different category.
serverIdsstring[]· uuid
Replace the servers this package is available on.