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

sort begin_time not working as expected #13

Open
edencorbin opened this issue Dec 21, 2016 · 1 comment
Open

sort begin_time not working as expected #13

edencorbin opened this issue Dec 21, 2016 · 1 comment

Comments

@edencorbin
Copy link

It's likely I'm calling something wrong, however, the following is returning only expired subscriptions as intended, but not only those updated between the date range specified. I'm having the same issue using created_at, any suggestions?

var filter = {
state: 'expired',
sort: 'updated_at',
order: 'desc',
begin_time: '2016-11-01',
end_time: '2016-11-03'
};
recurly.subscriptions.list(function(output){
return resolve(output);
}, filter);
});

@robin900
Copy link

Upgrade to a version of the package that uses version 2.4 of the recurly API. begin_time/end_time features are supported starting from that version; earlier versions of the API will just ignore the begin_time and end_time params.

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

No branches or pull requests

2 participants