Skip to content

Conversation

@NatElkins
Copy link
Contributor

@NatElkins NatElkins commented Jan 15, 2026

Summary

  • Adds productId field to ConfirmCheckoutInputSchema for selecting which product to purchase
  • Adds productId field to BaseCheckoutSchema to expose the selected product in API responses
  • Changes the semantics: products array = available options, productId = selected product

Test plan

  • All 126 tests pass
  • Build succeeds

Switch from cart model (buy all products) to selector model (choose one
product from available options). The productId field on checkout confirm
specifies which product the user selected, and is reflected in the
checkout response after confirmation.
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