Update a discount

Updates an application's discount by setting the values of the provided parameters.

Any parameters not included in the request payload will be left unchanged.

Authorized scopes:

  • owner
  • admin:full
  • admin:limited
  • application:update
Path Params
uuid
required

The id of the application.

uuid
required

The id of the discount.

Body Params
string

If provided, this will overwrite the existing name. If not provided, or if an empty string is sent, this parameter will be ignored.

discounts
array of objects

If provided, this will overwrite the existing discounts. If not provided, or if an empty array is sent, this parameter will be ignored. Existing subscriptions will not be impacted, only new offers taken going forward.

discounts
Headers
integer
Responses

401

Unauthorized

Language
Credentials
Bearer
token
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json