WooCommerce-REST-API-Client-Library
WooCommerce-REST-API-Client-Library copied to clipboard
Get only specified fields for an order
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.
@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.