Email_unsubscribed value inconsistent with customer preferences showing in Dashboard

Hello. I’m working on a Python script that uses the Square Customers API to get the Square customer list and import the contacts into another email marketing service. I’m using the preferences:email_unsubscribed attribute from the Square API to determine the customer’s status for receiving marketing emails, but I’ve run into something odd. There are cases where some customers show email_unsubscribed=True via the API, but when I look at their customer profile in the Square Dashboard, it shows them as Subscribed. This inconsistency seems wrong to me. Am I missing something about the email_unsubscribed attribute in the API? Any insight would be appreciated. Thanks!

Hello, will you be able to direct-message me the customer id and merchant id with the discrepancy? Our team can take a look.

  • Immanuel

Hi Immanuel - I tried to send a DM with the info you requested, but got an error that said, “Sorry, you can’t send a personal message to that user.” Maybe because I’m new to the forums?

Here’s another data point that may be pertinent. I exported the customer list to CSV from the Dashboard and just spot-checking a couple of the contacts that have this discrepancy, the exported data has “unknown” in the Email Subscription Status column for them. Is it possible that when the underlying subscription status for a contact is “unknown”, the web Dashboard defaults to show them as Subscribed while the API defaults them to Unsubscribed?

Immanuel is on vacation this week, but I can jump in here. I will DM you to collect the example customer_ids so we can investigate. The theory you have here in your last post is plausible but would not be expected behavior so we should investigate this. Thanks for flagging!

1 Like