adjustments

createDiscount

Internal adjustments/createDiscount operation. Authentication requirements are derived from the active route allowlist.

post/adjustments/createDiscount

Request

  • Base URL
    https://docs.wowinvoice.io
  • URL
    https://docs.wowinvoice.io/adjustments/createDiscount
  • Auth
    API key in header authorization

Request body

amountinteger
namestring
typestring

Example request

{
  "amount": 30,
  "name": "winter",
  "type": "flat"
}

Response

Standard successful response envelope.

status'success' required
statusCodeinteger required
messagestring required
dataobject required
errorunknown required

Example response

{
  "statusCode": 200,
  "message": "OK"
}

Changes

No recorded changes to this operation across all 4 revisions of this API.