Walletguide
DevelopersAPIReferencecategoryGroups

Update category group

Update a category group with the Walletguide REST API. Parameters, response fields, and a playground you can run.

PATCH
/wallets/{walletId}/categoryGroups/{id}

Authorization

bearerAuth
headerAuthorization<token>

A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.

Path Parameters

walletId*string

Row uuid

Formatuuid
id*string

Row uuid

Formatuuid

Request Body

application/json
  1. body
name?string
Length1 <= length
emoji?string|null
parentCategoryGroupId?|

Row uuid

Formatuuid
order?number

Response Body

The updated category group

application/json
  1. response
id*string
Formatuuid
walletId*string
Formatuuid
firestoreId*string|null
name*string
emoji*string|null
parentCategoryGroupId*|
Formatuuid
order*|
Range-140737488355328 <= value <= 140737488355327
createdTime*|
Formatdate-time
createdUserId*string|null
lastUpdatedTime*|
Formatdate-time
lastUpdatedUserId*string|null
Example Request
curl -X PATCH 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/categoryGroups/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
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"}