Marketing

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

post/marketing/update-discount

Request

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

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status