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 | 否 | 标识有关应如何处理指定托盘的说明的代码。 |