Zuordnen von Shopify-Objekten zur Standardbestellung in Amazon Connect Customer Profiles - Amazon Connect

Zuordnen von Shopify-Objekten zur Standardbestellung in Amazon Connect Customer Profiles

In diesem Thema finden Sie eine Liste der Felder in Shopify-Objekten, die dem Standardbestellobjekt in Customer Profiles zugeordnet sind.

Shopify-DraftOrder object

Eine Liste aller Felder in einem Shopify-DraftOrder-Objekt finden Sie unter Das DraftOrder-Objekt in der Shopify-Dokumentation.

Zuordnen eines Shopify-DraftOrder-Objekts zu einer Standardbestellung

Eine Untermenge der Felder im Shopify-DraftOrder-Objekt wird dem Standardbestellobjekt in Customer Profiles zugeordnet.

In der folgenden Tabelle ist aufgeführt, welche Felder vom Shopify-DraftOrder-Objekt dem Standardbestellobjekt zugeordnet werden können.

StatusCode ist ACTIVATED wenn order_status_url in der Quelle vorhanden ist. Andernfalls ist StatusCode DRAFT.

Quellfeld „Shopify-DraftOrder“ Standardzielfeld für Bestellung
id Attributes.ShopifyOrderId
customer.id Attributes.ShopifyCustomerId
note AdditionalInformation
email CustomerEmail
currency Currency (Währung)
created_at CreatedDate
updated_at UpdatedDate
name Name
Status Status
order_status_url StatusCode
billing_address.address1 BillingAddress.Address1
billing_address.address2 BillingAddress.Address2
billing_address.city BillingAddress.City
billing_address.zip BillingAddress.PostalCode
billing_address.province BillingAddress.Province
billing_address.country BillingAddress.Country
billing_address.name BillingAddress.Name
shipping_address.address1 ShippingAddress.Address1
shipping_address.address2 ShippingAddress.Address2
shipping_address.city ShippingAddress.City
shipping_address.zip ShippingAddress.PostalCode
shipping_address.province ShippingAddress.Province
shipping_address.country ShippingAddress.Country
shipping_address.name ShippingAddress.Name
invoice_url StatusUrl
total_price TotalPrice
total_tax TotalTax
line_items[].title OrderItems[].Title
line_items[].price OrderItems[].Price
line_items[].quantity OrderItems[].Quantity

Beispiel

Im folgenden Beispiel sehen Sie, wie Sie ein Quellfeld einem Zielfeld zuordnen.

"shopifyOrderId": { "Source": "_source.detail.event.detail.payload.id", "Target": "_order.Attributes.ShopifyOrderId" }

Die Shopify-DraftOrder-Kundendaten aus dem Shopify-Objekt werden mithilfe des folgenden Index mit einer Amazon-Connect-Standardbestellung verknüpft.

Standardindexname Quellfeld „Shopify-DraftOrder“
_shopifyOrderId id

Beispielsweise können Sie in Verbindung mit der ListProfileObjects-API _shopifyOrderId als ObjectFilter.KeyName verwenden, um eine Standardbestellung zu finden. Alternativ können Sie die ListProfileObjects-API mit ProfileId und ObjectTypeName auf Shopify-DraftOrder eingestellt verwenden, um Shopify-Shopify-DraftOrder-Objekte zu suchen, die mit einem bestimmten Kundenprofil verbunden sind.

Shopify-Order-Objekt

Eine Liste aller Felder in einem Shopify-Order-Objekt finden Sie unter Das Order-Objekt in der Shopify-Dokumentation.

Zuordnen eines Shopify-Order-Objekts zu einer Standardbestellung

Eine Untermenge der Felder im Shopify-Order-Objekt wird dem Standardbestellobjekt in Customer Profiles zugeordnet.

In der folgenden Tabelle ist aufgeführt, welche Felder vom Shopify-Order-Objekt dem Standardbestellobjekt zugeordnet werden können.

StatusCode ist ACTIVATED wenn order_status_url in der Quelle vorhanden ist. Andernfalls ist StatusCode DRAFT.

Quellfeld „Shopify-Order“ Standardzielfeld für Bestellung
id Attributes.ShopifyOrderId
customer.id Attributes.ShopifyCustomerId
cancelled_at CancelledDate
cancel_reason CancelReason
closed_at ClosedDate
created_at CreatedDate
currency Currency (Währung)
email CustomerEmail
financial_status Status
order_status_url StatusCode
fulfillment_status FulfillmentStatus
gateway Gateway
name Name
note AdditionalInformation
order_status_url StatusUrl
phone CustomerPhone
processed_at ProcessedDate
total_discounts TotalDiscounts
total_line_items_price TotalItemsPrice
total_price TotalPrice
total_shipping_price_set.shop_money.amount TotalShippingPrice
total_tax TotalTax
total_tip_received TotalTipReceived
total_weight TotalWeight
updated_at UpdatedDate
billing_address.address1 BillingAddress.Address1
billing_address.address2 BillingAddress.Address2
billing_address.city BillingAddress.City
billing_address.zip BillingAddress.PostalCode
billing_address.province BillingAddress.Province
billing_address.country BillingAddress.Country
billing_address.name BillingAddress.Name
payment_details.credit_card_number CreditCardNumber
payment_details.credit_card_company CreditCardCompany
shipping_address.address1 ShippingAddress.Address1
shipping_address.address2 ShippingAddress.Address2
shipping_address.city ShippingAddress.City
shipping_address.zip ShippingAddress.PostalCode
shipping_address.province ShippingAddress.Province
shipping_address.country ShippingAddress.Country
shipping_address.name ShippingAddress.Name
line_items[].title OrderItems[].Title
line_items[].price OrderItems[].Price
line_items[].quantity OrderItems[].Quantity

Beispiel

Im folgenden Beispiel sehen Sie, wie Sie ein Quellfeld einem Zielfeld zuordnen.

"shopifyOrderId": { "Source": "_source.detail.event.detail.payload.id", "Target": "_order.Attributes.ShopifyOrderId" }

Die Shopify-Order-Kundendaten aus dem Shopify-Objekt werden mithilfe des folgenden Index mit einer Amazon-Connect-Standardbestellung verknüpft.

Standardindexname Quellfeld „Shopify-Order“
_shopifyOrderId id

Beispielsweise können Sie in Verbindung mit der ListProfileObjects-API _shopifyOrderId als ObjectFilter.KeyName verwenden, um eine Standardbestellung zu finden. Alternativ können Sie die ListProfileObjects-API mit ProfileId und ObjectTypeName auf Shopify-Order eingestellt verwenden, um Shopify-Order-Objekte zu suchen, die mit einem bestimmten Kundenprofil verbunden sind.