{
"name": {
"en": "a"
},
"icon": "o",
"clientTarget": "merchant",
"permissions": [
"5f1a7332562647151295adb7"
],
"parent": "61361eb150970a490084fa0c",
"route": "q",
"priority": 1,
"createdBy": {
"id": "6405cabeff2a844b2204c620",
"name": "BANMAI",
"roles": [
"root"
],
"client": "officer"
},
"createdAt": "2023-06-28T10:48:37.750Z",
"updatedAt": "2025-12-02T15:59:51.065Z",
"updatedBy": {
"id": "69081b98f167f37b47450a84",
"name": "Ducls",
"roles": [
"root"
],
"client": "officer"
},
"status": "inactive",
"id": "649c100536516f437d48cac1",
"sltPerms": [
{
"id": "5f1a7332562647151295adb7",
"name": {
"en": "Submerchant Detail",
"my": "Submerchant Detail"
},
"ctrl": "openapi",
"action": "submerchantdetail"
}
]
}curl --location --request POST '/admin/clientMenu/update' \
--header 'Authorization: Bearer f41e8fd7-3221-4b36-8dc3-623890b2c078' \
--header 'Accept: application/json' \
--header 'User-Agent: Mozilla/5.0' \
--header 'Referer: https://wallet-admin-vpay-dev2.vinsmartfuture.tech/' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"name": {
"en": "a"
},
"icon": "o",
"clientTarget": "merchant",
"permissions": [
"5f1a7332562647151295adb7"
],
"parent": "61361eb150970a490084fa0c",
"route": "q",
"priority": 1,
"createdBy": {
"id": "6405cabeff2a844b2204c620",
"name": "BANMAI",
"roles": [
"root"
],
"client": "officer"
},
"createdAt": "2023-06-28T10:48:37.750Z",
"updatedAt": "2025-12-02T15:59:51.065Z",
"updatedBy": {
"id": "69081b98f167f37b47450a84",
"name": "Ducls",
"roles": [
"root"
],
"client": "officer"
},
"status": "inactive",
"id": "649c100536516f437d48cac1",
"sltPerms": [
{
"id": "5f1a7332562647151295adb7",
"name": {
"en": "Submerchant Detail",
"my": "Submerchant Detail"
},
"ctrl": "openapi",
"action": "submerchantdetail"
}
]
}'