Skip to main content

Manage Discounts


Use the Add a Discount screen to apply a discount to the total cost of an appointment before submitting the Visit Took Place report.
The screen opens as a full-screen popup. It validates input and updates the calculated totals before redirecting back to the summary flow.


This page includes:

  • A dropdown to select a predefined discount type.
  • An input field for the discount amount in the appointment’s configured currency.
  • Calculated totals:
    • Total – Net fee plus charges before discount.
    • Include discount – Final fee after subtracting the discount.
    • See also: Edit Charge.
  • Buttons to confirm or remove the discount.
  • Validation to ensure that only valid numeric values are accepted.d.

Workflows

Add a Discount

  1. Go to the Appointment list and open the appointment.
  2. Scroll to the charges section and select Add Discount.
  3. Enter the following:
    • Type: Select a predefined discount type.
    • Amount: Enter a valid numeric value in the appointment’s currency.
  4. Review the calculated totals:
    • Total: Net fee plus extra charges.
    • Include discount: Final fee after subtracting the discount.
  5. Select Add Discount to confirm.

Edit or Remove a Discount

  1. Select the existing discount to open the popup.
  2. Modify the Type or Amount fields.
  3. Select Update to save changes or Remove to delete the discount.

Validations

  • The amount field must contain a valid numeric value.
  • The discount type must be selected from the allowed options.

Actions

  • Applies the selected discount to the appointment fee.
  • Updates the total fee to reflect the discounted value.
  • Returns the user to the Visit Took Place summary screen.

SDK and API References

GET 

/profile/appointments/{id}/summary/discount

Returns the discount screen for an appointment. You can apply or update a discount by selecting a type and entering a value. The total fee updates based on the discount. This screen is part of the Visit Took Place workflow.

UI Element Types

LevelReferenceTypeValuePlacement
1EditThe header text and close button is the parts of Cover1
1discount-typeComboType1
1discount-amountDoubleAmount1
1discount-total-titleRegularTotal
1discount-total-spacerSpacer~
1discount-total-amountRegularappointment net fee + extra charges in appointment's currency~
1include-discount-titleRegularInclude discount
1include-discount-spacerSpacer~
1include-discount-amountRegularappointment net fee + extra charges - discount in appointment's currency~
1createButtonAdd discount1
1updateButtonUpdate1
1removeGhostRemove1

PATCH 

/profile/appointments/{appointment-id}/summary/discount

Adds a new discount entry when you select Add discount in the popup. The VTP screen updates immediately without reloading.


PATCH 

/profile/appointments/{appointment-id}/summary/discount/update

Updates an existing discount when you select Update in the popup. The updated discount displays immediately without reloading.


PATCH 

/profile/appointments/{appointment-id}/summary/discount/patch

Refreshes the discount popup when you edit the type or amount. The changes display instantly without reloading.


PATCH 

/profile/appointments/{appointment-id}/summary/discount/delete

Removes a discount when you select Delete. The VTP screen updates immediately without reloading.