本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
標準訂單定義
下表列出客戶設定檔標準訂單物件中的所有欄位。
標準訂單欄位 | 資料類型 | 描述 |
OrderId | 字串 | 標準訂單的唯一識別碼。 |
CustomerEmail | 字串 | 客戶的電子郵件地址。 |
CustomerPhone | 字串 | 客戶的電話號碼。 |
CreatedDate | 字串 | 訂單的建立日期。 |
UpdatedDate | 字串 | 訂單的日期已更新。 |
ProcessedDate | 字串 | 訂單的處理日期。 |
ClosedDate | 字串 | 訂單的關閉日期。 |
CancelledDate | 字串 | 訂單的日期已取消。 |
CancelReason | 字串 | 訂單的取消原因。 |
名稱 | 字串 | 訂單名稱。 |
AdditionalInformation | 字串 | 與訂單相關的任何其他資訊。 |
閘道 | 字串 | 訂單的付款閘道。 |
Status | 字串 | 訂單狀態。 |
StatusCode | 字串 | 訂單的狀態碼。有效值:「草稿」|「啟動」 |
StatusUrl | 字串 | 訂單的狀態網址。 |
CreditCardNumber | 字串 | 客戶的信用卡最後四位數字。 |
CreditCardCompany | 字串 | 客戶的信用卡公司。 |
FulfillmentStatus | 字串 | 訂單的出貨狀態。 |
TotalPrice | 字串 | 訂單的總價。 |
TotalTax | 字串 | 訂單的總稅金。 |
TotalDiscounts | 字串 | 訂單的折扣總額。 |
TotalItemsPrice | 字串 | 訂單的項目總價格。 |
TotalShippingPrice | 字串 | 訂單的運費總金額。 |
TotalTipReceived | 字串 | 訂單收到的小費總計。 |
貨幣 | 字串 | 訂單的貨幣。 |
TotalWeight | 字串 | 訂單的總重量。 |
BillingAddress | OrderAddress | 客戶的帳單地址。 |
ShippingAddress | OrderAddress | 客戶的運送地址。 |
OrderItems | OrderItem 列表 | 訂單的項目。 |
Attributes | S 型tring-to-string 地圖 | 標準訂單屬性的鍵值對。 |
標準順序物件是由下表中的索引鍵索引。
標準索引名稱 | 標準訂單欄位 |
---|---|
_ 訂單識別碼 | OrderId |
例如,您可以使用 SearchProfiles API _orderId
做為金鑰名稱,以尋找訂單與搜尋值 OrderId 相符的設定檔。您可以使用 ListProfileObjects API 與 AND 設定為,來尋找與特定ObjectTypeName
設定檔相關聯的標準訂單物件_order
。ProfileId
OrderAddress 資料類型
標準訂單欄位 | 資料類型 | 描述 |
名稱 | 字串 | 與訂單地址相關聯的名稱。 |
Address1 | 字串 | 訂單地址的第一行。 |
Address2 | 字串 | 訂單地址的第二行。 |
Address3 | 字串 | 訂單地址的第三行。 |
Address4 | 字串 | 訂單地址的第四行。 |
City | 字串 | 訂單地址的城市。 |
County | 字串 | 訂單地址的縣。 |
State | 字串 | 訂單地址的狀態。 |
Province | 字串 | 訂單地址的省份。 |
Country | 字串 | 訂單地址的國家/地區。 |
PostalCode | 字串 | 訂單地址的郵遞區號。 |
OrderItem 資料類型
標準訂單欄位 | 資料類型 | 描述 |
Title | 字串 | 訂單項目的標題。 |
價格 | 字串 | 訂單項目的價格。 |
數量 | 字串 | 訂單項目的數量。 |