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

Get only specified fields for an order #244

Open
tmblog opened this issue Mar 11, 2018 · 1 comment
Open

Get only specified fields for an order #244

tmblog opened this issue Mar 11, 2018 · 1 comment

Comments

@tmblog
Copy link

tmblog commented Mar 11, 2018

Hello thank you for the amazing api, I just wondered everytime I make a call for orders:

$client->orders->get();

I am getting the entire response, is there a way to just get the fields that i want for example:

$client->orders->get(array[total, first_name, last_name]);

I think I saw it available on the official one but can't find it. Any help would be much appreciated.

@silent-saw
Copy link

silent-saw commented Apr 9, 2019

@tmblog Did you manage to get the specific fields from the API? I am in real need . The unnecessary response is making an app laggy.

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