Update a Premium
Updates a premium.
name, price, fairMarketValue, inventory, or the otherMinimumAmounts that qualify a donor for it. Returns the updated premium.
Authorizations
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Path Parameters
The ID of the premium to update.
Body
The premium request model.
Represents a premium request.
The name of the premium.
1 - 255The code that identifies the premium.
1 - 100The short name of the premium, used where space is limited.
150The description of the premium.
The amount a donor must give to receive the premium.
0 <= x <= 1000000000000The fair market value of the premium, used for tax receipting.
0 <= x <= 1000000000000The URL a digital premium is delivered from.
Whether the premium is active.
Whether the premium is offered at no minimum gift amount.
The number of units of the premium left in stock.
Whether the premium stays active when it has no inventory.
The unique identifier of the premium to send for recurring gifts instead.
The unique identifier of the project the cost of the premium is charged to.
The URL of the image shown for the premium.
An identifier of your own to store on the premium, for reconciling it with an external system.
The minimum gift amounts that qualify for the premium in other currencies.
Response
OK
Represents a premium model.
The unique identifier of the premium.
The three-letter ISO currency code of the price and fair market value.
The name of the premium.
The short name of the premium, used where space is limited.
The code of the premium.
The description of the premium.
Whether the premium is active.
The amount a donor must give to receive the premium.
The price, formatted for display in its currency.
The fair market value of the premium, used for tax receipting.
The fair market value, formatted for display in its currency.
The number of units of the premium left in stock.
Whether the premium stays active when it has no inventory.
The unique identifier of the premium sent for recurring gifts instead.
The name of the premium sent for recurring gifts instead.
The URL of the image shown for the premium.
An identifier of your own to store on the premium, for reconciling it with an external system.
The minimum gift amounts that qualify for the premium in other currencies.