Loyalty Admin API
Read CallExportCustomerData1
Exports all the data Bubblehouse has on a given customer.
This is meant to handle GDPR data export requests.
| Kind | Read API call |
|---|---|
| Method | GET or POST |
| URL | https://app.bubblehouse.com/api/v20230601/<shop>/ExportCustomerData1 |
| Authentication | Admin Customer TokenShop Token |
Input
-
A customer to operate upon, when using a shop token.
If you're using a customer token and decide to pass this field (which we do not recommend), it must match the customer from the token.
Output
Customer data in JSON format. The exact structure of this data is subject to change.
This is only meant to serve data takeout requests, not for building any automations via the API. You should put the data in a .json file in your data takeout archive, or allow the customer to download it directly.
You probably don't even want to parse the response as JSON, and just treat it as raw text.
Note that this call is relatively expensive. We serve it in real time without queuing, but we reserve the right to impose heavy rate limits on this call if we notice a client abusing it for something other than the intended purpose (which wouldn't be wise anyway, given that the structure of the data returned could change without notice).