XML 對映
必須將 XML Map 端口連線到 Amazon Marketplace 端口,以對映所需的輸入參數,如下圖所示。
輸入參數
下表列出了可以使用 XML Map 端口介面對映的輸入參數。| 名稱 | 資料型別 | 是否必須 | 描述 |
|---|---|---|---|
| Shipment Identifier | String | 是 | 唯一的貨件 ID。 |
| ShipmentConfirmation Type | String | 是 | 裝運確認型別。 此參數指示此裝運確認是初始確認還是用於替換已過帳的裝運確認。 允許的值為 Original 和 Replace。 |
| ShipmentType | String | 否 | 貨件型別。 允許的值為 TruckLoad、LessThanTruckLoad 和 SmallParcel。 |
| ShipmentStructure | String | 否 | 裝運層次結構。 允許的值為 PalletizedAssortmentCase、LooseAssortmentCase、PalletOfItems、PalletizedStandardCase、LooseStandardCase、MasterPallet 和 MasterCase。 |
| TransportationDetails CarrierScac | String | 否 | 識別裝運承運人的程式碼。 |
| TransportationDetails CarrierShipment ReferenceNumber | String | 否 | 運營商分配的唯一編號。 該欄位也稱為 PRO 編號。 |
| TransportationDetails TransportationMode | String | 否 | 此裝運的運輸方式。 允許的值為 Road、Air 和 Ocean。 |
| TransportationDetails BillOfLadingNumber | String | 否 | 提單 (BOL) 編號。 此編號是供應商分配的唯一編號。 |
| AmazonReferenceNumber | String | 否 | 亞馬遜參考編號。 該編號是亞馬遜為所有到付/微付貨件生成的唯一識別碼。 |
| ShipmentConfirmation Date | Datetime | 是 | 提交裝運確認的日期。 |
| ShippedDate | Datetime | 否 | 貨物從供應商地點出發的日期和時間。 |
| EstimatedDeliveryDate | Datetime | 否 | 貨物預計到達買方倉庫的日期和時間。 |
| SellingPartyId | String | 是 | 為賣方分配的標識。 |
| SellingPartyAddress | Aggregate | 否 | 賣方地址的聚合表示。 |
| SellingPartyAddress/ Name | String | 是 | 賣家的名字。 |
| SellingPartyAddress/ AddressLine1 | String | 是 | 賣方地址第一行。 |
| SellingPartyAddress/ AddressLine2 | String | 否 | 附加地址資訊(如果需要)。 |
| SellingPartyAddress/ AddressLine3 | String | 否 | 附加地址資訊(如果需要)。 |
| SellingPartyAddress/ City | String | 否 | 賣方所在城市。 |
| SellingPartyAddress/ County | String | 否 | 賣方所在的縣。 |
| SellingPartyAddress/ District | String | 否 | 賣方所在的地區。 |
| SellingPartyAddress/ StateOrRegion | String | 否 | 賣方所在的州或地區。 |
| SellingPartyAddress/ PostalCode | String | 否 | 地址的郵政編碼。 此程式碼由一系列字母、數字或兩者組成。 |
| SellingPartyAddress/ CountryCode | String | 否 | ISO 3166-1 alpha-2 格式的兩位國家/地區程式碼。 |
| SellingPartyAddress/ Phone | String | 否 | 位於該地址的賣方的電話號碼。 |
| SellingParty TaxRegistrationType | String | 否 | 實體的稅務登記型別。 允許的值為 VAT(增值稅)和 GST(商品和服務稅)。 |
| SellingParty TaxRegistrationNumber | String | 否 | 實體的稅務登記號(例如,增值稅號)。 |
| ShipFromPartyId | String | 是 | 為發貨方分配的標識。 |
| ShipFromPartyAddress | Aggregate | 否 | 透過地址識別託運人。 |
| ShipFromPartyAddress/ Name | String | 是 | 託運人的姓名。 |
| ShipFromPartyAddress/ AddressLine1 | String | 是 | 發貨人地址第一行。 |
| ShipFromPartyAddress/ AddressLine2 | String | 否 | 附加地址資訊(如果需要)。 |
| ShipFromPartyAddress/ AddressLine3 | String | 否 | 附加地址資訊(如果需要)。 |
| ShipFromPartyAddress/ City | String | 否 | 發件人所在的城市。 |
| ShipFromPartyAddress/ County | String | 否 | 託運人所在的縣。 |
| ShipFromPartyAddress/ District | String | 否 | 託運人所在的地區。 |
| ShipFromPartyAddress/ StateOrRegion | String | 否 | 託運方所在的州或地區。 |
| ShipFromPartyAddress/ PostalCode | String | 否 | 發件人地址的郵政編碼。 此程式碼由一系列字母、數字或兩者組成。 |
| ShipFromPartyAddress/ CountryCode | String | 否 | ISO 3166-1 alpha-2 格式的兩位國家/地區程式碼。 |
| ShipFromPartyAddress/ Phone | String | 否 | 託運人的電話號碼。 |
| ShipFromPartyAddress TaxRegistrationType | String | 否 | 實體的稅務登記型別。 允許的值為 VAT(增值稅)和 GST(商品和服務稅)。 |
| ShipFromPartyAddress TaxRegistrationNumber | String | 否 | 實體的稅務登記號(例如,增值稅號)。 |
| ShipToPartyId | String | 是 | 為收貨方分配的標識。 |
| ShipToPartyAddress | Aggregate | 否 | 按地址識別收貨方。 |
| ShipToPartyAddress/ Name | String | 是 | 收貨方的名稱。 |
| ShipToPartyAddress/ AddressLine1 | String | 是 | 收貨方地址第一行。 |
| ShipToPartyAddress/ AddressLine2 | String | 否 | 附加地址資訊(如果需要)。 |
| ShipToPartyAddress/ AddressLine3 | String | 否 | 附加地址資訊(如果需要)。 |
| ShipToPartyAddress/ City | String | 否 | 收貨方所在城市。 |
| ShipToPartyAddress/ County | String | 否 | 收貨方所在縣。 |
| ShipToPartyAddress/ District | String | 否 | 收貨方所在地區。 |
| ShipToPartyAddress/ StateOrRegion | String | 否 | 收貨方所在的州或地區。 |
| ShipToPartyAddress/ PostalCode | String | 否 | 收貨地址的郵政編碼。 此程式碼由一系列字母、數字或兩者組成。 |
| ShipToPartyAddress/ CountryCode | String | 否 | ISO 3166-1 alpha-2 格式的兩位國家/地區程式碼。 |
| ShipToPartyAddress/ Phone | String | 否 | 位於該地址的收貨方的電話號碼。 |
| ShipToParty TaxRegistrationType | String | 否 | 收貨方的稅務登記型別。 允許的值為 VAT(增值稅)和 GST(商品及服務稅)。 |
| ShipTo TaxRegistrationNumber | String | 否 | 收貨方的稅務登記號(例如,增值稅號)。 |
| ShipmentMeasurements | String | 否 | 貨件測量詳細資訊的 JSON 聚合表示。 |
| ImportDetails | String | 否 | 匯入詳細資訊的 JSON 聚合表示。 |
| ShippedItems | Aggregate | 是 | 此貨件中專案的聚合表示。 |
| ShippedItems/ ItemSequenceNumber | String | 是 | 專案的行專案序號。 |
| ShippedItems/ AmazonProductIdentifier | String | 否 | 商品的亞馬遜標準識別號 (ASIN)。 |
| ShippedItems/ VendorProductIdentifier | String | 否 | 專案的供應商選擇的產品標識。 |
| ShippedItems/ ShippedQuantityAmount | Integer | 是 | 發貨數量。 該值不應為零。 |
| ShippedItems/ ShippedQuantityUnit | String | 是 | 裝運數量的計量單位。 |
| ShippedItems/ ShippedQuantityUnitSize | Integer | 否 | 裝運數量的單位尺寸。 |
| ShippedItems/ PurchaseOrderNumber | String | 否 | 正在確認的已發貨商品的亞馬遜採購訂單 (PO) 編號。 採購訂單編號的格式應為八個字元的字母數字程式碼。 |
| ShippedItems/ LotNumber | String | 否 | 裝運數量的批號。 |
| ShippedItems/ ExpiryManufacturerDate | Datetime | 否 | 製造商確定的生產、包裝或組裝日期。 該日期的含義是根據貿易專案上下文確定的。 |
| ShippedItems/ ExpiryDate | Datetime | 否 | 確定產品消費或使用限制的日期。 該日期的含義是根據貿易專案上下文確定的。 |
| ShippedItems/ ExpiryAfterDuration Unit | Datetime | 否 | 生產日期後產品有效消費期間的單位。 |
| ShippedItems/ ExpiryAfterDuration Value | Integer | 否 | 以持續時間單位表示的持續時間值。 |
| ShippedItems/ MaximumRetailPrice CurrencyCode | String | 否 | 最高零售價的三位數貨幣程式碼,採用 ISO 4217 格式。 |
| ShippedItems/ MaximumRetailPrice Amount | String | 否 | 以不損失精度的十進位制數表示的已發貨商品的最高零售價。 |
| ShippedItems/ HandlingCode | String | 否 | 標識有關應如何處理指定專案、紙箱或托盤的說明的程式碼。 |
| Cartons | Aggregate | 是 | 此貨件中紙箱的聚合表示。 |
| Cartons/ CartonIdentifiers | Aggregate | 否 | 紙箱識別碼清單。 |
| Cartons/ CartonIdentifiers/ Container Identification Type | String | 是 | 容器標識型別。 |
| Cartons/ CartonIdentifiers/ Container Identification Number | String | 是 | 符合容器標識型別定義的容器標識號。 |
| Cartons/ CartonSequenceNumber | String | 是 | 紙箱的序號。 第一個紙箱編號為 001,第二個為 002,依此類推。 該編號用作從托盤級別指代紙箱的參考。 |
| Cartons/ DimensionsLength | String | 否 | 容器的長度。 |
| Cartons/ DimensionsWidth | String | 否 | 容器的寬度。 |
| Cartons/ DimensionsHeight | String | 否 | 容器的高度。 |
| Cartons/ WeightValue | String | 否 | 容器的重量測量值,作為十進位制數字,不損失精度。 |
| Cartons/ WeightUnit | String | 否 | 集裝箱重量的計量單位。 |
| Cartons/ TrackingNumber | String | 否 | 容器的跟蹤號。 小包裹貨件中的每個紙箱都需要此號碼。 |
| Cartons/ CartonsItems | Aggregate | 否 | 紙箱商品詳情清單。 |
| Cartons/ CartonsItems/ ItemReference | String | 是 | 專案的參考編號。 請務必提供 items 部分中的商品序列號,以在此處引用該商品的詳細資訊。 |
| Cartons/ CartonsItems/ ShippedQuantityAmount | Integer | 是 | 在裝運級別為特定專案裝運的單位數。 如果該物品僅存在於貨件中的某些紙箱中,請在適當的紙箱級別提供。 |
| Cartons/ CartonsItems/ ShippedQuantityUnit | String | 是 | 裝運數量的計量單位。 |
| Cartons/ CartonsItems/ ShippedQuantityUnitSize | Integer | 否 | 箱子尺寸(如果產品是按箱子訂購的)。 否則,值為 1。 |
| Cartons/ CartonsItems/ PurchaseOrderNumber | String | 否 | 正在確認的貨件的亞馬遜採購訂單 (PO) 編號。 如果此貨件中的商品屬於多個 PO 編號,尤其是貨件中的紙箱,請提供紙箱級別的 PO 編號。 採購訂單編號的格式應為八個字元的字母數字程式碼。 |
| Cartons/ CartonsItems/ LotNumber | String | 否 | 紙箱的批次或批號。 該編號將紙箱與製造商認為與應用元素字串的紙箱的可追溯性相關的資訊相關聯。 資料可能指的是它本身或紙箱內的物品。 此欄位對於所有易腐物品都是必填欄位。 |
| Cartons/ CartonsItems/ ExpiryManufacturerDate | Datetime | 否 | 製造商確定的生產、包裝或組裝日期。 該日期的含義是根據貿易專案上下文確定的。 |
| Cartons/ CartonsItems/ ExpiryDate | Datetime | 否 | 確定產品消費或使用限制的日期。 該日期的含義是根據貿易專案上下文確定的。 |
| Cartons/ CartonsItems/ ExpiryAfterDuration Unit | String | 否 | 生產日期後產品有效消費期間的單位。 |
| Cartons/ CartonsItems/ ExpiryAfterDuration Value | Integer | 否 | 以持續時間單位表示的持續時間值。 |
| Cartons/ CartonsItems/ MaximumRetailPrice CurrencyCode | String | 否 | 最高零售價的三位數貨幣程式碼,採用 ISO 4217 格式。 |
| Cartons/ CartonsItems/ MaximumRetailPrice Amount | String | 否 | 以不損失精度的十進位制數表示的已發貨商品的最高零售價。 |
| Cartons/ CartonsItems/ HandlingCode | String | 否 | 標識有關應如何處理指定紙箱的說明的程式碼。 |
| Pallets | Aggregate | 否 | 此貨件中托盤的聚合表示。 |
| Pallets/ PalletIdentifiers | Aggregate | 是 | 托盤識別碼清單。 |
| Pallets/ PalletIdentifiers/ Container Identication Type | String | 是 | 容器標識型別。 允許的值為 SSCC、AMZNCC、GTIN、BPS 和 CID。 |
| Pallets/ PalletIdentifiers/ Container Identification Number | String | 是 | 符合容器標識型別定義的容器標識號。 |
| Pallets/ Tier | Integer | 否 | 每個托盤的層數。 |
| Pallets/ Block | Integer | 否 | 托盤上每層紙箱的數量。 |
| Pallets/ DimensionsLength | String | 否 | 托盤的長度。 |
| Pallets/ DimensionsWidth | String | 否 | 托盤的寬度。 |
| Pallets/ DimensionsHeight | String | 否 | 托盤的高度。 |
| Pallets/ DimensionsUnit | String | 否 | 托盤尺寸的計量單位。 |
| Pallets/ WeightValue | String | 否 | 托盤的重量測量值作為十進位制數字,不丟失精度。 |
| Pallets/ WeightUnit | String | 否 | 托盤重量的計量單位。 |
| Pallets/ CartonsCount | Integer | 否 | 貨件中的紙箱數量。 僅為未託拍的貨件提供紙箱計數。 |
| Pallets/ CartonReferenceNumbers | String | 否 | 作為此貨盤和貨件一部分的紙箱的一系列參考編號。 在 cartons 部分提供紙箱序列號,以在此處參考該紙箱的詳細資訊。 |
| Pallets/ PalletsItems | Aggregate | 否 | 托盤專案詳細資訊清單。 |
| Pallets/ PalletsItems/ ItemReference | String | 是 | 專案的參考編號。 提供來自 items 段的專案序列號以在此處引用該專案的詳細資訊。 |
| Pallets/ PalletsItems/ ShippedQuantityAmount | Integer | 是 | 在裝運級別為特定專案裝運的單位數。 如果物品僅存在於貨件中的某些紙箱或托盤中,請在適當的紙箱或托盤層提供。 |
| Pallets/ PalletsItems/ ShippedQuantityUnit | String | 是 | 裝運數量的計量單位。 |
| Pallets/ PalletsItems/ ShippedQuantityUnitSize | Integer | 否 | 箱子尺寸(如果產品是按箱子訂購的)。 否則,值為 1。 |
| Pallets/ PalletsItems/ PurchaseOrderNumber | String | 否 | 正在確認的貨件的亞馬遜採購訂單 (PO) 編號。 如果此貨件中的商品屬於多個採購訂單編號,尤其是貨件中的特定貨盤,請提供貨盤級別的採購訂單編號。 採購訂單編號的格式應為八個字元的字母數字程式碼。 |
| Pallets/ PalletsItems/ LotNumber | String | 否 | 貨盤的批次或批號。 該編號將托盤與製造商認為與應用元素字串的托盤的可追溯性相關的資訊相關聯。 資料可能指托盤本身或托盤內的物品。 此欄位對於所有易腐物品都是必填欄位。 |
| Pallets/ PalletsItems/ ExpiryManufacturerDate | Datetime | 否 | 製造商確定的生產、包裝或組裝日期。 該日期的含義是根據貿易專案上下文確定的。 |
| Pallets/ PalletsItems/ ExpiryDate | Datetime | 否 | 確定產品消費或使用限制的日期。 該日期的含義是根據貿易專案上下文確定的。 |
| Pallets/ PalletsItems/ ExpiryAfterDuration Unit | String | 否 | 生產日期後產品有效消費期間的單位。 |
| Pallets/ PalletsItems/ ExpiryAfterDuration Value | Integer | 否 | 以持續時間單位表示的持續時間值。 |
| Pallets/ PalletsItems/ MaximumRetailPrice CurrencyCode | String | 否 | 最高零售價的三位數貨幣程式碼,採用 ISO 4217 格式。 |
| Pallets/ PalletsItems/ MaximumRetailPrice Amount | String | 否 | 以不損失精度的十進位制數表示的已發貨商品的最高零售價。 |
| Pallets/ PalletsItems/ HandlingCode | String | 否 | 標識有關應如何處理指定托盤的說明的程式碼。 |