{
"createdAt": "2025-12-02T15:51:01.862Z",
"updatedAt": "2025-12-02T15:51:01.862Z",
"id": "692f0ae5fa40cdf655d382ba",
"code": "C4W61862",
"name": "test",
"state": "root.offer.groupService1",
"parent": "",
"sltPerms": [
{
"createdAt": "2021-08-02T02:08:21.851Z",
"updatedAt": "2021-08-02T02:08:21.851Z",
"id": "5bac4df411e9b50891093762",
"name": "Pricing",
"ctrl": "transaction",
"action": "pricing",
"desc": "Pricing",
"ctg": "cli",
"isCommon": false,
"createdBy": {
"id": "606bc1d35be128bfe08307b9",
"name": "dev02",
"roles": [
"root"
],
"client": "officer"
},
"updatedBy": {
"id": "606bc1d35be128bfe08307b9",
"name": "dev02",
"roles": [
"root"
],
"client": "officer"
}
}
],
"ctg": "cli",
"subMenu": null,
"createdBy": {
"id": "69081b98f167f37b47450a84",
"name": "Ducls",
"roles": [
"root"
],
"client": "officer"
},
"updatedBy": {},
"status": "active",
"icon": "",
"priority": 1
}curl --location --request POST '/admin/menu/updateMenu' \
--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 '{
"createdAt": "2025-12-02T15:51:01.862Z",
"updatedAt": "2025-12-02T15:51:01.862Z",
"id": "692f0ae5fa40cdf655d382ba",
"code": "C4W61862",
"name": "test",
"state": "root.offer.groupService1",
"parent": "",
"sltPerms": [
{
"createdAt": "2021-08-02T02:08:21.851Z",
"updatedAt": "2021-08-02T02:08:21.851Z",
"id": "5bac4df411e9b50891093762",
"name": "Pricing",
"ctrl": "transaction",
"action": "pricing",
"desc": "Pricing",
"ctg": "cli",
"isCommon": false,
"createdBy": {
"id": "606bc1d35be128bfe08307b9",
"name": "dev02",
"roles": [
"root"
],
"client": "officer"
},
"updatedBy": {
"id": "606bc1d35be128bfe08307b9",
"name": "dev02",
"roles": [
"root"
],
"client": "officer"
}
}
],
"ctg": "cli",
"subMenu": null,
"createdBy": {
"id": "69081b98f167f37b47450a84",
"name": "Ducls",
"roles": [
"root"
],
"client": "officer"
},
"updatedBy": {},
"status": "active",
"icon": "",
"priority": 1
}'