DevelopersAPIReferencecategoryGroups
Merge
Creates the merged group, moves categories and child groups onto it, and deletes the old groups — one transaction (legacy mergeCategoryGroups).
POST
bearerAuthheader
Authorization<token>A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.
walletId*stringRow uuid
Format
uuidapplication/json- body
newCategoryGroup*categoryGroupIds*array<>Items
1 <= items <= 200The merged (newly created) row
application/json- response
id*stringFormat
uuidwalletId*stringFormat
uuidfirestoreId*string|nullname*stringemoji*string|nullparentCategoryGroupId*|Format
uuidorder*|Range
-140737488355328 <= value <= 140737488355327createdTime*|Format
date-timecreatedUserId*string|nulllastUpdatedTime*|Format
date-timelastUpdatedUserId*string|nullcurl -X POST 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/categoryGroups/merge' \ -H 'Content-Type: application/json' \ -d '{ "newCategoryGroup": { "name": "string" }, "categoryGroupIds": [ "5b074295-762b-4da9-b7e8-1c420e552f8a" ]}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "walletId": "0ecad4a2-3549-43fb-807e-9ff033247480", "firestoreId": "string", "name": "string", "emoji": "string", "parentCategoryGroupId": "bba55cc5-87b4-4b37-bd28-dd9c600c331e", "order": -140737488355328, "createdTime": "2019-08-24T14:15:22Z", "createdUserId": "string", "lastUpdatedTime": "2019-08-24T14:15:22Z", "lastUpdatedUserId": "string"}