本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
将 Shopify 对象映射到 Amazon Connect Customer Profiles 中的标准配置文件对象
本主题列出了 Shopify 对象中的哪些字段映射到 Amazon Connect Customer Profiles 中标准资料对象中的字段。
Shopify-Customer 对象
以下是 Shopify-Customer 对象中所有字段的列表。
-
accepts_marketing
-
accepts_marketing_updated_at
-
addresses
-
currency
-
created_at
-
default_address.address1
-
default_address.address2
-
default_address.city
-
default_address.company
-
default_address.country
-
default_address.country_code
-
default_address.country_name
-
default_address.customer_id
-
default_address.default
-
default_address.first_name
-
default_address.id
-
default_address.last_name
-
default_address.name
-
default_address.phone
-
default_address.province
-
default_address.province_code
-
default_address.zip
-
电子邮件
-
first_name
-
id
-
last_name
-
last_order_id
-
last_order_name
-
metafield.key
-
metafield.value
-
metafield.namespace
-
metafield.value_type
-
marketing_opt_in_level
-
multipass_identifier
-
note
-
orders_count
-
phone
-
sms_marketing_consent.state
-
sms_marketing_consent.opt_in_level
-
sms_marketing_consent.consent_updated_at
-
sms_marketing_consent.consent_collected_from
-
状态
-
tags
-
tax_exempt
-
tax_exemptions
-
total_spent
-
updated_at
-
verified_email
将 Shopify-Customer 对象映射到标准资料
Shopify-Customer 对象中的字段子集映射到 Customer Profiles 中的标准资料对象。
下表列出了哪些字段可以从 Shopify-Customer 对象映射到标准资料。
Shopify 客户来源字段 | 标准资料目标字段 |
id | 属性。 ShopifyCustomerId |
电子邮件 | EmailAddress |
first_name | FirstName |
last_name | LastName |
note | AdditionalInformation |
phone | PhoneNumber |
default_address.address1 | Address.Address1 |
default_address.address2 | 地址. 地址 2 |
default_address.city | Address.City |
default_address.province | 地址. 省份 |
default_address.country | Address.Country |
default_address.zip | 地址。 PostalCode |
示例
以下示例介绍了如何将源字段映射到目标字段。
"shopifyCustomerId": {
"Source": "_source.detail.event.detail.payload.id",
"Target": "_profile.Attributes.ShopifyCustomerId"
}
来自 Shopify 对象中的 Shopify-Customer 客户数据使用以下索引与 Amazon Connect 客户资料相关联。
标准索引名称 | Shopify 客户来源字段 |
_shopifyCustomerId | id |
例如,您可以在 SearchProfilesAPI 中使用_shopifyCustomerId
作为密钥名称来查找 Amazon Connect 客户档案。你可以使用和设置为的 ListProfileObjectsAPI 来查找与特定个人资料关联的 Shopify-Customer ProfileId
对象。ObjectTypeName
Shopify-Customer