Add Appointment Credits
Last updated
Last updated
Use the addAppointmentCredits
mutation to add appointment credits to a specific member to be added to an appointment.
Remember to add credits per appointment type.
The following fields will be displayed in the response:
Within the TeleWellness Portal, edit the information of the corresponding member, check that the credits information has been updated:
Field Name | Type | Description |
---|---|---|
Argument Name
Type
Description
appointmentType
ID
Unique appointment type ID. Execute the appointmentTypes
query to get the ID
member
ID
Unique memeber ID. Execute the members
query to get the 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.
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