Discounts

Update discount details

Updates the details of the specified discount. Note that a discount cannot be updated once it is in use by an order.

put/discounts/{id}

Request

  • Base URL
    https://api.app.subskribe.com
  • URL
    https://api.app.subskribe.com/discounts/{id}
  • Auth
    API key in header X-API-Key

Path parameters

idstring required

id of the discount

Request body

namestring
percentnumber
discountAmountnumber
status'ACTIVE' | 'DEPRECATED'
discountedPricenumber

Response

successful operation

Changes

No recorded changes to this operation across all 1 revision of this API.