Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/v2/commerce/listings: param to reduce number of listings #339

Closed
lye opened this issue Jun 23, 2016 · 1 comment
Closed

/v2/commerce/listings: param to reduce number of listings #339

lye opened this issue Jun 23, 2016 · 1 comment
Labels

Comments

@lye
Copy link
Contributor

lye commented Jun 23, 2016

Right now, /v2/commerce/listings returns all the listings. While this behavior needs to be maintained for backwards-compatibility, we can add a parameter (e.g., ?top=10) that truncates the number of listings.

(forum ref)

@lye
Copy link
Contributor Author

lye commented Jul 5, 2016

This is now live. Works for both bulk-responded endpoints (e.g., ?page=1&top=5) and per-items.

@lye lye closed this as completed Jul 5, 2016
@lye lye removed the needs deploy label Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant