mutation

updateDefaultBeneficiary

Update default beneficiary for the order refund of the user.
Arguments
setDefaultBeneficiaryRequestInput
SetDefaultBeneficiaryRequestInput
Beneficiary Hash Id of the beneficiary added.
Response
is_beneficiary_set
Boolean!
Required
Boolean Flag whether Beneficiary set or not.
success
Boolean
Response is successful or not.
Mutation
1mutation updateDefaultBeneficiary(
2 $setDefaultBeneficiaryRequestInput: SetDefaultBeneficiaryRequestInput
3) {
4 updateDefaultBeneficiary(
5 setDefaultBeneficiaryRequestInput: $setDefaultBeneficiaryRequestInput
6 ) {
7 is_beneficiary_set
8 success
9 }
10}
Try it
Input Variables
1{
2 "setDefaultBeneficiaryRequestInput": {
3 "beneficiary_id": "beneficiary_id",
4 "order_id": "order_id"
5 }
6}
Response
1{
2 "updateDefaultBeneficiary": {
3 "is_beneficiary_set": true,
4 "success": true
5 }
6}