

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Amazon Connect Customer Profiles の標準プロファイルオブジェクトへの Shopify オブジェクトのマッピング
<a name="mapping-shopify-objects"></a>

このトピックでは、Shopify オブジェクトのどのフィールドが、Amazon Connect Customer Profiles の標準プロファイルオブジェクトのフィールドにマッピングされるかを示します。

## Shopify-Customer オブジェクト
<a name="shopify-identify-object"></a>

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
+ E メール
+ 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
+ state
+ タグ
+ tax\_exempt
+ tax\_exemptions
+ total\_spent
+ updated\_at
+ verified\_email

## Shopify-Customer オブジェクトを標準プロファイルにマッピングする
<a name="mapping-shopify-customer-object"></a>

Shopify-Customer オブジェクトのフィールドの一部は、Customer Profiles の標準プロファイルオブジェクトにマッピングされます。

次の表は、Shopify-Customer オブジェクトから標準プロファイルにマッピングできるフィールドの一覧です。


| Shopify-Customer ソースフィールド | 標準プロファイルマッピング先フィールド | 
| --- | --- | 
| id | Attributes.ShopifyCustomerId | 
| email | EmailAddress | 
| first\_name | FirstName | 
| last\_name | LastName | 
| note | AdditionalInformation | 
| phone | PhoneNumber | 
| default\_address.address1 | Address.Address1 | 
| default\_address.address2 | Address.Address2 | 
| default\_address.city | Address.City | 
| default\_address.province | Address.Province | 
| default\_address.country | Address.Country | 
| default\_address.zip | Address.PostalCode | 

### 例
<a name="example-mapping-shopify-customer-object"></a>

次の例では、ソースフィールドをターゲットフィールドにマップする方法を示します。

```
"shopifyCustomerId": {
    "Source": "_source.detail.event.detail.payload.id",
    "Target": "_profile.Attributes.ShopifyCustomerId"
}
```

Shopify オブジェクトの Shopify-Customer 顧客データは、次の表に示すインデックスを使用して Amazon Connect お客様プロファイルに関連付けられます。


| 標準インデックス名 | Shopify-Customer ソースフィールド | 
| --- | --- | 
| \_shopifyCustomerId | id | 

例えば、`_shopifyCustomerId` をキー名として [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) API で使用すると、Amazon Connect お客様プロファイルを検索できます。特定のお客様プロファイルに関連付けられている Shopify-Customer オブジェクトは、[ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API を、`ProfileId` および `ObjectTypeName` を `Shopify-Customer` に設定して使用すると検索できます。