亞馬遜官方教程——使用基礎(chǔ)架構(gòu)構(gòu)建 XML 輸入數(shù)據(jù)-ESG跨境

亞馬遜官方教程——使用基礎(chǔ)架構(gòu)構(gòu)建 XML 輸入數(shù)據(jù)

亞馬遜觀察
亞馬遜觀察
2022-03-26
點贊icon 0
查看icon 900

基礎(chǔ) XSD 由所有其他數(shù)據(jù)上傳數(shù)據(jù)使用,用于指定通用元素和數(shù)據(jù)類型。 其主要目的是為所有數(shù)據(jù)上傳數(shù)據(jù)提供一致性,并約束之后對 XSD 定義的更改。所有其他 XSD 均參考基礎(chǔ) XSD 的元素和數(shù)據(jù)類型。

基礎(chǔ)架構(gòu)

描述

基礎(chǔ) XSD 由所有其他數(shù)據(jù)上傳數(shù)據(jù)使用,用于指定通用元素和數(shù)據(jù)類型。 其主要目的是為所有數(shù)據(jù)上傳數(shù)據(jù)提供一致性,并約束之后對 XSD 定義的更改。所有其他 XSD 均參考基礎(chǔ) XSD 的元素和數(shù)據(jù)類型。

注意:
?“國家/地區(qū)代碼”元素是一個雙字母 ISO 3166 國家/地區(qū)代碼。
?“名稱”元素是一個單一字段,最長含 50 個字符。如果您的系統(tǒng)要求,那么您有責(zé)任將單一字段解析為名和姓。

詞典

XSD

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>
##################################################
# 配送服務(wù)級別元素
##################################################
</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>
##################################################
# 標(biāo)準(zhǔn)商品編碼元素
##################################################
</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>
##################################################
# 促銷應(yīng)用類型
##################################################
</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>
##################################################
# 促銷數(shù)據(jù)類型
##################################################
</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

點擊咨詢現(xiàn)在有哪些新興平臺值得關(guān)注 >>>


特別聲明:以上文章內(nèi)容僅代表作者本人觀點,不代表ESG跨境電商觀點或立場。如有關(guān)于作品內(nèi)容、版權(quán)或其它問題請于作品發(fā)表后的30日內(nèi)與ESG跨境電商聯(lián)系。

全球最大電商平臺
查看更多
搜索 放大鏡
韓國平臺交流群
加入
韓國平臺交流群
掃碼進(jìn)群
歐洲多平臺交流群
加入
歐洲多平臺交流群
掃碼進(jìn)群
美國賣家交流群
加入
美國賣家交流群
掃碼進(jìn)群
ESG跨境專屬福利分享群
加入
ESG跨境專屬福利分享群
掃碼進(jìn)群
拉美電商交流群
加入
拉美電商交流群
掃碼進(jìn)群
亞馬遜跨境增長交流群
加入
亞馬遜跨境增長交流群
掃碼進(jìn)群
亞馬遜跨境增長交流群
加入
亞馬遜跨境增長交流群
掃碼進(jìn)群
拉美電商交流群
加入
拉美電商交流群
掃碼進(jìn)群
ESG獨家招商-PHH GROUP賣家交流群
加入
ESG獨家招商-PHH GROUP賣家交流群
掃碼進(jìn)群
《TikTok官方運營干貨合集》
《TikTok綜合運營手冊》
《TikTok短視頻運營手冊》
《TikTok直播運營手冊》
《TikTok全球趨勢報告》
《韓國節(jié)日營銷指南》
《開店大全-全球合集》
《開店大全-主流平臺篇》
《開店大全-東南亞篇》
《CD平臺自注冊指南》
通過ESG入駐平臺,您將解鎖
綠色通道,更高的入駐成功率
專業(yè)1v1客戶經(jīng)理服務(wù)
運營實操指導(dǎo)
運營提效資源福利
平臺官方專屬優(yōu)惠

立即登記,定期獲得更多資訊

訂閱
聯(lián)系顧問

平臺顧問

平臺顧問 平臺顧問

微信掃一掃
馬上聯(lián)系在線顧問

icon icon

小程序

微信小程序

ESG跨境小程序
手機入駐更便捷

icon icon

返回頂部

【免費領(lǐng)取】全球跨境電商運營干貨 關(guān)閉
進(jìn)行中
進(jìn)行中
【活動報名】2024年歐洲多藍(lán)海平臺招商沙龍
官方親臨,拆解phh group/eMAG/worten三個平臺商機
立即報名
進(jìn)行中
進(jìn)行中
TikTok運營必備干貨包
包含8個TikTok最新運營指南(市場趨勢、運營手冊、節(jié)日攻略等),官方出品,專業(yè)全面!
免費領(lǐng)取
進(jìn)行中
進(jìn)行中
韓國電商節(jié)日營銷指南
10+韓國電商重要營銷節(jié)點詳細(xì)解讀;2024各節(jié)日熱度選品助力引爆訂單增長;8大節(jié)日營銷技巧輕松撬動大促流量密碼。
免費領(lǐng)取
進(jìn)行中
進(jìn)行中
全球平臺詳解——全球合集
涵括全球100+個電商平臺的核心信息,包括平臺精煉簡介、競爭優(yōu)勢、熱銷品類、入駐要求以及入駐須知等關(guān)鍵內(nèi)容。
立即領(lǐng)取
進(jìn)行中
進(jìn)行中
全球平臺詳解——主流平臺篇
火爆全球的跨境電商平臺合集,平臺優(yōu)勢、開店選品、入駐條件盡在掌握
立即領(lǐng)取
進(jìn)行中
進(jìn)行中
全球平臺詳解——拉美篇
涵蓋9大熱門拉美電商平臺,成熟的市場是跨境賣家的熱門選擇!
立即領(lǐng)取
進(jìn)行中
進(jìn)行中
全球平臺詳解——日韓篇
涵蓋10+日韓電商平臺,入駐條件一看就懂,優(yōu)勢熱銷品應(yīng)有盡有
立即領(lǐng)取
進(jìn)行中
進(jìn)行中
全球平臺詳解——歐洲篇
涵蓋20+歐洲電商平臺,詳細(xì)解讀優(yōu)勢、入駐條件、熱銷品等
立即領(lǐng)取
    <s id="p90tq"><fieldset id="p90tq"></fieldset></s>