Skip to content

Conversation

@vincent-pochet
Copy link
Contributor

Context

This PR follows a critical issue on the GET /api/v1/invoices when requests were filtered by external_customer_id from the GO SDK client. See getlago/lago-go-client#288

A new set of endpoints have been added to retrieve resources scoped to a specific customer.

Description

This PR adds the clients for all the newly created routes:

  • /api/v1/customers/:customer_external_id/applied_coupons
  • /api/v1/customers/:customer_external_id/credit_notes
  • /api/v1/customers/:customer_external_id/invoices
  • /api/v1/customers/:customer_external_id/payment_requests
  • /api/v1/customers/:customer_external_id/payments
  • /api/v1/customers/:customer_external_id/subscriptions
  • /api/v1/customers/:customer_external_id/wallets

Related to:

@vincent-pochet vincent-pochet changed the title Feat customers routes feat(customers): Add new routes scoped to cusomters Sep 12, 2025
@vincent-pochet vincent-pochet merged commit 9cdc20e into main Sep 15, 2025
7 checks passed
@vincent-pochet vincent-pochet deleted the feat-customers-routes branch September 15, 2025 12:25
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.

4 participants