Marketing

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

post/marketing/create-discount

Request

Request body

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 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