Walletguide
DevelopersAPIReferencemerchants

ApplyDefaults

Sets categoryId and usingDateRule on every transaction of the merchant (legacy editMerchant with updateExistingTransactions… — bug-compatible: the…

POST
/wallets/{walletId}/merchants/{id}/applyDefaults

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

Response Body

Number of updated transactions

application/json
  1. response
updatedTransactionCount*number
Example Request
curl -X POST 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/merchants/497f6eca-6276-4993-bfeb-53cbbbba6f08/applyDefaults'
Example Response
{  "updatedTransactionCount": 0}