Skip to content

fix(customers): accept and send id (external_id) in create/createBatch [BIL-1509]#8

Open
fjalil7 wants to merge 1 commit into
mainfrom
feature/bil-1509
Open

fix(customers): accept and send id (external_id) in create/createBatch [BIL-1509]#8
fjalil7 wants to merge 1 commit into
mainfrom
feature/bil-1509

Conversation

@fjalil7
Copy link
Copy Markdown

@fjalil7 fjalil7 commented Jun 1, 2026

Summary

  • CreateCustomerParams.Builder now has an .id(String id) setter
  • create and createBatch in CustomersResource now include id in the request body
  • Wire-level tests added (CustomerCreateIdTest.java) using OkHttp MockWebServer

Test plan

  • JAVA_HOME=/opt/homebrew/opt/openjdk@21 ./gradlew test — 30 tests pass
  • Wire-level test captures the HTTP request body via MockWebServer and asserts id is present in create and createBatch

Closes BIL-1509

@linear-code
Copy link
Copy Markdown

linear-code Bot commented Jun 1, 2026

BIL-1509

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.

1 participant