

基础 XSD 由所有其他数据上传数据使用,用于指定通用元素和数据类型。 其主要目的是为所有数据上传数据提供一致性,并约束之后对 XSD 定义的更改。所有其他 XSD 均参考基础 XSD 的元素和数据类型。
基础 XSD 由所有其他数据上传数据使用,用于指定通用元素和数据类型。 其主要目的是为所有数据上传数据提供一致性,并约束之后对 XSD 定义的更改。所有其他 XSD 均参考基础 XSD 的元素和数据类型。
注意:
•“国家/地区代码”元素是一个双字母 ISO 3166 国家/地区代码。
•“名称”元素是一个单一字段,最长含 50 个字符。如果您的系统要求,那么您有责任将单一字段解析为名和姓。
https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/amzn-base.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
elementFormDefault="qualified">
<xsd:annotation>
<xsd:documentation>
##################################################
# 地址元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="Address" />
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Name" type="String"/>
<xsd:element name="AddressFieldOne" type="AddressLine"/>
<xsd:element name="AddressFieldTwo" type="AddressLine" minOccurs="0"/>
<xsd:element name="AddressFieldThree" type="AddressLine" minOccurs="0"/>
<xsd:element name="City" type="String"/>
<xsd:element name="County" type="String" minOccurs="0"/>
<xsd:element name="StateOrRegion" type="String" minOccurs="0"/>
<xsd:element name="PostalCode" type="String" minOccurs="0"/>
<xsd:element name="CountryCode">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="2"/>
<xsd:maxLength value="2"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="PhoneNumber" type="String" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="AddressLine">
<xsd:restriction base="xsd:normalizedString">
<xsd:maxLength value="60"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:annotation>
<xsd:documentation>
##################################################
# 类型
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:complexType name="AmazonFees">
<xsd:sequence>
<xsd:element name="Fee" maxOccurs="unbounded" />
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Type">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Commission"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Amount" type="CurrencyAmount"/>
</xsd:sequence>
</xsd:complexType>
</xsd:sequence>
</xsd:complexType>
<xsd:annotation>
<xsd:documentation>
##################################################
# 买家商品价格类型
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:complexType name="BuyerPrice">
<xsd:sequence>
<xsd:element name="Component" maxOccurs="unbounded" />
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Type">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Principal"/>
<xsd:enumeration value="Shipping"/>
<xsd:enumeration value="Tax"/>
<xsd:enumeration value="ShippingTax"/>
<xsd:enumeration value="RestockingFee"/>
<xsd:enumeration value="RestockingFeeTax"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Amount" type="CurrencyAmount"/>
</xsd:sequence>
</xsd:complexType>
</xsd:sequence>
</xsd:complexType>
<xsd:annotation>
<xsd:documentation>
##################################################
# 货币金额类型
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:complexType name="CurrencyAmount">
<xsd:simpleContent>
<xsd:extension base="BaseCurrencyAmount">
<xsd:attribute name="currency" type="BaseCurrencyCode" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="BaseCurrencyCode">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="USD"/>
<xsd:enumeration value="GBP"/>
<xsd:enumeration value="EUR"/>
<xsd:enumeration value="JPY"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="BaseCurrencyAmount">
<xsd:restriction base="xsd:decimal">
<xsd:totalDigits value="20"/>
<xsd:fractionDigits value="2" fixed="true"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:annotation>
<xsd:documentation>
##################################################
# 运营中心编号元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="FulfillmentCenterID" type="String"/>
<xsd:annotation>
<xsd:documentation>
##################################################
# 配送方式元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="FulfillmentMethod">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Ship"/>
<xsd:enumeration value="InStorePickup"/>
<xsd:enumeration value="MerchantDelivery"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
##################################################
# 配送服务级别元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="FulfillmentServiceLevel">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Standard"/>
<xsd:enumeration value="Expedited"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
##################################################
# 编号类型
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType name="IDNumber">
<xsd:restriction base="xsd:positiveInteger">
<xsd:pattern value="\d{1,18}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:annotation>
<xsd:documentation>
##################################################
# 长字符串类型
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType name="LongString">
<xsd:restriction base="xsd:normalizedString">
<xsd:maxLength value="500"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:annotation>
<xsd:documentation>
##################################################
# 卖家订单编号元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="MerchantOrderID" type="String"/>
<xsd:annotation>
<xsd:documentation>
##################################################
# 卖家订单商品编号元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="MerchantOrderItemID" type="String"/>
<xsd:annotation>
<xsd:documentation>
##################################################
# 卖家促销编号元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="MerchantPromotionID" type="String"/>
<xsd:annotation>
<xsd:documentation>
##################################################
# 订单编号元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="AmazonOrderID">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:pattern value="\d{3}-\d{7}-\d{7}"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
##################################################
# 订单商品编码元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="AmazonOrderItemCode">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:pattern value="\d{14}"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
##################################################
# 标准商品编码元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="StandardProductID">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Type">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ISBN"/>
<xsd:enumeration value="UPC"/>
<xsd:enumeration value="EAN"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Value">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="10"/>
<xsd:maxLength value="13"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
##################################################
# 元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="ProductTaxCode" type="String"/>
<xsd:annotation>
<xsd:documentation>
##################################################
# 促销应用类型
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType name="PromotionApplicationType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Principal"/>
<xsd:enumeration value="Shipping"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:annotation>
<xsd:documentation>
##################################################
# 促销请款代码
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="PromotionClaimCode">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="6"/>
<xsd:maxLength value="12"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
##################################################
# 促销数据类型
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:complexType name="PromotionDataType">
<xsd:sequence>
<xsd:element ref="PromotionClaimCode"/>
<xsd:element ref="MerchantPromotionID"/>
<xsd:element name="Component" maxOccurs="unbounded" />
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Type" type="PromotionApplicationType"/>
<xsd:element name="Amount" type="CurrencyAmount"/>
</xsd:sequence>
</xsd:complexType>
</xsd:sequence>
</xsd:complexType>
<xsd:annotation>
<xsd:documentation>
##################################################
# SKU 元素
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:element name="SKU">
<xsd:simpleType>
<xsd:restriction base="xsd:normalizedString">
<xsd:maxLength value="40"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
##################################################
# 字符串类型
##################################################
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType name="String">
<xsd:restriction base="xsd:normalizedString">
<xsd:maxLength value="50"/>
</xsd:restriction>
</xsd:simpleType>
</xs:schema>
Base Schema
Description
The base XSD is used by all other data feeds to specify universally-used elements and data types. The primary purposes are to provide consistency among all the data feeds and to constrain future changes to the XSD definitions. All other XSDs reference the base-XSD's elements and data types.
Note:
• The CountryCode element is a two-letter ISO 3166 country code.
• The Name element is a single field with a 50-character maximum. It is your responsibility to parse the single field into First name and Last name if that is required by your systems.Dictionary
Element
Description
AddressFieldOne
The first line of a standard address
AddressFieldTwo
The second line of a standard address
AddressFieldThree
The third line of a standard address
AmazonOrderID
Amazon’s unique identifier for an order
AmazonOrderItemCode
Amazon’s unique identifier for an item in an order
City
The city of a standard address
CountryCode
ISO 3166 standard two-letter country code
County
The county of a standard US address
FulfillmentCenterID
A seller-defined unique identifier for a fulfillment center
FulfillmentMethod
The fulfillment method the buyer specified
FulfillmentServiceLevel
The type of fulfillment service the buyer specified
MerchantOrderID
A s
特别声明:以上文章内容仅代表作者本人观点,不代表ESG跨境电商观点或立场。如有关于作品内容、版权或其它问题请于作品发表后的30日内与ESG跨境电商联系。
登录ESG跨境手机登录密码登录您的微信尚未绑定ESG账号,请通过手机号登录,系统自动为您完成绑定需要同意服务条款和隐私政策
微信扫码登录二维码加载中...
使用微信扫一扫登录
使用账号密码登录
为您推荐![]()
平台顾问
平台顾问![]()
微信扫一扫
马上联系在线顾问![]()
![]()
小程序
![]()
ESG跨境小程序
手机入驻更便捷![]()
![]()
返回顶部
【免费领取】全球跨境电商运营干货![]()
进行中韩国电商节日营销指南10+韩国电商重要营销节点详细解读;2024各节日热度选品助力引爆订单增长;8大节日营销技巧轻松撬动大促流量密码。免费领取
进行中全球平台详解——全球合集涵括全球100+个电商平台的核心信息,包括平台精炼简介、竞争优势、热销品类、入驻要求以及入驻须知等关键内容。立即领取
进行中全球平台详解——主流平台篇火爆全球的跨境电商平台合集,平台优势、开店选品、入驻条件尽在掌握立即领取
进行中全球平台详解——拉美篇涵盖9大热门拉美电商平台,成熟的市场是跨境卖家的热门选择!立即领取
进行中全球平台详解——日韩篇涵盖10+日韩电商平台,入驻条件一看就懂,优势热销品应有尽有立即领取
进行中全球平台详解——欧洲篇涵盖20+欧洲电商平台,详细解读优势、入驻条件、热销品等立即领取