Skip to content

fix(credit-note): include integration_customers in customer object#518

Open
Antoinep2808 wants to merge 2 commits into
mainfrom
fix/credit-note-customer-integration-customers
Open

fix(credit-note): include integration_customers in customer object#518
Antoinep2808 wants to merge 2 commits into
mainfrom
fix/credit-note-customer-integration-customers

Conversation

@Antoinep2808
Copy link
Copy Markdown
Contributor

@Antoinep2808 Antoinep2808 commented Mar 31, 2026

Summary

  • Updates CreditNoteExtendedObject to reference CustomerObject instead of CustomerBaseObject
  • This adds integration_customers to the customer field in all credit note detail responses (create, show, update, void)

Related

Follows lago-api change: getlago/lago-api@fe4e758

Test plan

  • Verify CreditNoteExtendedObject.customer resolves to a schema including integration_customers array
  • Confirm list endpoint (CreditNoteObject) is unchanged and still references CustomerBaseObject

## Context

The lago-api standardized credit note detail endpoints (create, show,
update, void) to consistently include integration_customers in the
customer object.

## Description

Update CreditNoteExtendedObject to reference CustomerObject instead of
CustomerBaseObject, so the customer field includes integration_customers
across all credit note detail responses.
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