Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 699 Bytes

customer-preferences.md

File metadata and controls

23 lines (14 loc) · 699 Bytes

Customer Preferences

Represents communication preferences for the customer profile.

Structure

CustomerPreferences

Fields

Name Type Tags Description Getter Setter
emailUnsubscribed ?bool Optional Indicates whether the customer has unsubscribed from marketing campaign emails. A value of true means that the customer chose to opt out of email marketing from the current Square seller or from all Square sellers. This value is read-only from the Customers API. getEmailUnsubscribed(): ?bool setEmailUnsubscribed(?bool emailUnsubscribed): void

Example (as JSON)

{
  "email_unsubscribed": false
}