dashboard: let merchants cap the quantity on a unit-based price

Merged
MA
2mo ago
+247-7

Summary

Was missing from the initial implementation but the API and doc mention it.

https://github.com/user-attachments/assets/ed64646e-a7ad-4031-8d07-d0cb5c54e75d

Checklist

  • This PR addresses a single concern (one bug fix, one feature, one refactor)
  • The diff is reasonably sized and easy to review
  • New functionality is covered by tests
  • Linting and type checking pass (uv run task lint && uv run task lint_types)
  • No unrelated changes or drive-by fixes are included