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

support for order.List with status_transitions filters #682

Closed
rothskeller opened this issue Aug 30, 2018 · 1 comment · Fixed by #683
Closed

support for order.List with status_transitions filters #682

rothskeller opened this issue Aug 30, 2018 · 1 comment · Fixed by #683

Comments

@rothskeller
Copy link

rothskeller commented Aug 30, 2018

The API documentation for listing orders says that it supports a status_transition parameter, but the Go language bindings don't seem to have any way to set this parameter. Could this be added?

(Actually what I'd really like is a filter on "updated", so that I could efficiently poll for order changes, but that would be an API change as well as a language binding change.)

@remi-stripe
Copy link
Contributor

@rothskeller Thanks for the report! We'll try to add the status_transitions filter soon.

We can't add a filter for updated as the API does not support this logic at the moment. I do agree it would be valuable though. In the meantime you can use the List Events API and filter for type: "order.updated" to find the most recently updated orders instead.

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 a pull request may close this issue.

2 participants