Add Appointment Credits
Last updated
Last updated
Use the addAppointmentCredits
mutation to add appointment to a specific member to be added to an appointment.
Remember to add credits per appointment type.
Argument Name
Type
Description
appointmentType
ID
member
ID
Argument Name
Type
Description
increase
Int
Increase the number of credits.
decrease
Int
Decrease the number of credits.
value
Int
Add an exact number of credits.
The following fields will be displayed in the response:
Field Name
Type
Description
success
string
True if the user has program has been updated successfully. Otherwise, False
message
string
Description of the result
credits
Object that returns the information of a credit.
Field Name
Type
Description
ID
ID
Credit unique ID
appointmentType
Appointment type information
value
Int
Credit current value
Within the TeleWellness Portal, edit the information of the corresponding member, check that the credits information has been updated:
Unique appointment type ID. Execute the query to get the ID
Unique memeber ID. Execute the query to get the ID.