We're trying to include the expanded fields available in metadata (companyName, specifically) in our CSV export. According to the docs for the customers.csv endpoint I SHOULD be able to structure my PHP like this:
$csv = file_get_contents('https://api.clover.com/v3/merchants/' . $params['merchant_id'] . '/customers.csv?access_token=' . $params['access_token'] .'&expand=metadata');
The result is still just a regular CSV export (attached). I would expect the extra fields to append to the end of the CSV, but no dice.
From what I see, we have everything coded properly, is there a bug in the endpoint perhaps? Did I miss something in the code?
Thanks for your help!