Update Appointment Credits
Required Arguments
Available Arguments
Argument Name
Type
Description
Available Fields
Field Name
Type
Description
Example
Last updated
Was this helpful?
Was this helpful?
mutation(
$profile: ID!
$type: ID!
$increase: Int
$decrease: Int
$value: Int
) {
updateAppointmentCredits(
profile: $profile
appointmentType: $type
increase: $increase
decrease: $decrease
value: $value
) {
success
message
}
}{
"data": {
"updateAppointmentCredits": {
"success": true,
"message": "Appointment Credits were updated"
}
}
}{
"profile": "TWVtYmVyOjVlZDk5MjMyLWNhMTMtNGE2NS05MmIyLWZjMDk4ZjgyOWUwNA==",
"type": "QXBwb2ludG1lbnRUeXBlOjI=",
"increase": 1,
"decrease": 2,
"value": 5
}