Skip to content

Conversation

RandomProgramm3r
Copy link
Owner

  • Add endpoint Add GET api/business/promo/list to view company promo codes by various filters
  • Endpoint GET api/business/promo/list, available only for authenticated companies
  • Add filtering by ISO 3166-1 alpha-2 country codes (case-insensitive)
  • Support sorting by active_from/active_until dates (descending order)
  • Add custom pagination with X-Total-Count header
  • Validate query parameters (country codes and sort_by values)
  • Handle multiple country parameters in both comma-separated and repeated formats

- Add endpoint Add GET api/business/promo/list to view company promo codes by various filters
- Endpoint GET api/business/promo/list, available only for authenticated companies
- Add filtering by ISO 3166-1 alpha-2 country codes (case-insensitive)
- Support sorting by active_from/active_until dates (descending order)
- Add custom pagination with X-Total-Count header
- Validate query parameters (country codes and sort_by values)
- Handle multiple country parameters in both comma-separated and repeated formats
@RandomProgramm3r RandomProgramm3r merged commit a03fea7 into main Apr 6, 2025
2 checks passed
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