Add/Update Customer Preferences

Preferences are custom fields created under the preferences category which helps in capturing specific interests of a customer. Example: favorite color, favorite brand. This API allows you to set or update preferences of a customer.

Request Body Parameters

ParameterDatatypeDescription
customerarray-objDetails of the customer and preferences.
mobilestringMobile number of the customer.
emailstringEmail ID of the customer.
external_idstringExternal ID of the customer.
user_idlongUnique customer ID.
storeobjDetails of the store.
codestringUnique store code associated with the customer.
idlongUnique store ID associated with the customer.
custom_fieldsobjUpdate customer custom fields.
fieldarray-objUpdate customer preferences in each name and value. The name and value depends on what's configured for the org.
Language
Authorization
Basic
base64
:
URL
Click Try It! to start a request and see the response here!