Marketing

Update discount

Use this BillingServ API endpoint to update discount. Review the response for the operation result or validation errors.

post/marketing/update-discount

Request body

discount_idinteger required
minimum_valuenumber required
discount_valuenumber required
startstring date required
endstring date
typeinteger required

0 = percentage, 1 = fixed/code

recurring0 | 1 required
usesstring required
selected_packagesstring

Response

OK

successboolean

Changes

Changed in 1 of the 6 revisions of this API.8

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added