Added

Commerce - Set Communication Preferences

Summary

The customer details in the Commerce basket persist in the order created and now can include a customer's specific preferences for communication

Attributes Added (all boolean);

  • sendNotifications
  • allowMarketing
  • sendReceiptSMS
  • sendReceiptEmail

Example;

"customer": {
    "name": "John Doe",
    "phoneNumber": "+3211223344",
    "email": "[email protected]",
    "sendNotifications": true,
    "allowMarketing": true,
    "sendReceiptSMS": true,
    "sendReceiptEmail": true
 }
}