Skip to content

docs: mark external_customer_id optional on GET /wallets - #558

Open
refus-lago wants to merge 1 commit into
getlago:mainfrom
refus-lago:doc/wallets-external-customer-id-optional
Open

docs: mark external_customer_id optional on GET /wallets#558
refus-lago wants to merge 1 commit into
getlago:mainfrom
refus-lago:doc/wallets-external-customer-id-optional

Conversation

@refus-lago

Copy link
Copy Markdown

What changed
Set external_customer_id to required: false on GET /wallets (findAllWallets) and reworded its description as an optional filter.

Why
The parameter was made optional in the API in late May 2026 (#5559), but the OpenAPI spec still marked it required: true, so api-reference/wallets/get-all incorrectly showed it as required. In lago-api, external_customer_id is a permitted filter that flows through .compact into WalletsQuery; when omitted, all wallets for the organization are returned.

Impact
Docs-only. The api-reference page will show external_customer_id as optional, matching current API behavior.

Closes Pylon #5991

🤖 Generated with Claude Code

The parameter was made optional in the API in late May 2026 (#5559),
but the OpenAPI spec still marked it required, so the api-reference
page incorrectly showed external_customer_id as required. When omitted,
GET /wallets returns all wallets for the organization.

Closes Pylon #5991

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sarkissianraffi

Copy link
Copy Markdown
Contributor

@refus-lago what do we do with this one? It's still in draft?

@refus-lago
refus-lago marked this pull request as ready for review August 14, 2026 20:11
@refus-lago

Copy link
Copy Markdown
Author

@refus-lago what do we do with this one? It's still in draft?

@sarkissianraffi Just marked ready for review. Anna approved here: Slack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants