Skip to navigation

Update an existing premium.

Authentication

Authorizationstring

JWT Authorization header using the Bearer scheme. Example: “Authorization: Bearer {token}”

Path parameters

idlongRequired
The ID of the premium to update.

Request

The premium request model.
namestringRequired1-255 characters
codestringRequired1-100 characters
nameShortstring or nullOptional<=150 characters
descriptionstring or nullOptional
Gets or sets the description.
pricedoubleOptional0-1000000000000
fairMarketValuedoubleOptional0-1000000000000
digitalUrlstring or nullOptional
Gets or sets the digital URL.
isActivebooleanOptional
Gets or sets a value indicating whether active.
isFreebooleanOptional
Gets or sets a value indicating whether free.
inventoryinteger or nullOptional
Gets or sets the inventory.
keepActiveWhenHasNoInventorybooleanOptional
Gets or sets the keep active when has no inventory.
recurringPremiumIdlong or nullOptional
Gets or sets the recurringpremium identifier.
projectIdlong or nullOptional
Gets or sets the project identifier.
imagestring or nullOptional
Gets or sets the image.
externalIdentifierstring or nullOptional
Gets or sets the external identifier.
otherMinimumAmountslist of objects or nullOptional
Gets or sets the other minimum amounts.

Response

OK
idlongOptional
Gets or sets the identifier.
currencystring or nullOptional
Gets or sets the currency.
namestring or nullOptional
Gets or sets the name.
nameShortstring or nullOptional
Gets or sets the name short.
codestring or nullOptional
Gets or sets the code.
descriptionstring or nullOptional
Gets or sets the description.
isActivebooleanOptional
Gets or sets a value indicating whether active.
pricedoubleOptional
Gets or sets the price.
formattedPricestring or nullOptionalRead-only
fairMarketValuedouble or nullOptional
Gets or sets the fair market value.
formattedFairMarketValuestring or nullOptionalRead-only
inventoryinteger or nullOptional
Gets or sets the inventory.
keepActiveWhenHasNoInventorybooleanOptional
Gets or sets the keep active when has no inventory.
recurringPremiumIdlong or nullOptional
Gets or sets the recurringpremium identifier.
recurringPremiumNamestring or nullOptional
Gets or sets the recurringpremium name.
imagestring or nullOptional
Gets or sets the image.
externalIdentifierstring or nullOptional
Gets or sets the external identifier.
otherMinimumAmountslist of objects or nullOptional
Gets or sets the other minimum amounts.

Errors

400
Bad Request Error