Customer Info not being returned in API response

making an API call..

$SHOPIFY_CUST_API = “https://$apikey:$token@$storeurl/admin/api/2024-04/customers/”. $shop_custid . “.json”;
$custresponse = @file_get_contents($SHOPIFY_CUST_API);
$cust = json_decode($custresponse);

first_name, last_name, email not being returned.

Same when getting order info, customer details fist_name, last_name and email not being returned.