Update the lot selection settings of a household's accounts
PUT/v1/households/:id/accounts/lot-selection
Replaces the lot selection method, capital gains budgets, tax rates and tax budget of each account in accounts with the ones you send, and returns the lot selection settings of the household with the given ID as Get the lot selection settings of a household's accounts returns them. A field you leave out or send as null is cleared, and the account uses your firm's default for it. Accounts you leave out do not change. An account ID that is not one of your firm's accounts is skipped. Send the IDs of the household's accounts. If your firm has no household with that ID, the response is 404.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
The lot selection settings after the change.
id is not a whole number, or the request body is invalid, for example accounts is not an array, an accountId is not a whole number, lotSelectionMethod is not HIFO or MTAX, or a budget or tax rate is not a number.
The access token is missing, invalid, or expired.
The access token does not have the write:household scope or the write:crm scope.
Your firm has no household with that ID.
Too many requests. Wait the number of seconds in the Retry-After-per-person header (script-audience tokens) or the Retry-After header (other requests) before you retry. See Rate limit.