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

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

亞馬遜觀察
亞馬遜觀察
2022-03-26
點(diǎn)贊icon 0
查看icon 1099

信封用于將所有其他數(shù)據(jù)與消息級(jí)協(xié)議數(shù)據(jù)包裝在一起。信封由一個(gè)標(biāo)題、一條或多條消息(每一條消息都包含特定的數(shù)據(jù)對(duì)象)組成。雖然一個(gè)信封可以包含多條消息,但是同一信封內(nèi)的每條消息的類型都必須與由消息類型元素指定的類型相同。

信封架構(gòu)

描述

信封用于將所有其他數(shù)據(jù)與消息級(jí)協(xié)議數(shù)據(jù)包裝在一起。信封由一個(gè)標(biāo)題、一條或多條消息(每一條消息都包含特定的數(shù)據(jù)對(duì)象)組成。雖然一個(gè)信封可以包含多條消息,但是同一信封內(nèi)的每條消息的類型都必須與由消息類型元素指定的類型相同。

詞典

XSD

https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/amzn-envelope.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
elementFormDefault="qualified">
        <xsd:include schemaLocation="amzn-base.xsd"/>
        <xsd:include schemaLocation="amzn-header.xsd"/>
        <xsd:include schemaLocation="FulfillmentCenter.xsd"/>
        <xsd:include schemaLocation="Inventory.xsd"/>
        <xsd:include schemaLocation="OrderAcknowledgment.xsd"/>
        <xsd:include schemaLocation="OrderAdjustment.xsd"/>
        <xsd:include schemaLocation="OrderFulfillment.xsd"/>
        <xsd:include schemaLocation="OrderReport.xsd"/>
        <xsd:include schemaLocation="Override.xsd"/>
        <xsd:include schemaLocation="Price.xsd"/>
        <xsd:include schemaLocation="ProcessingReport.xsd"/>
        <xsd:include schemaLocation="Product.xsd"/>
        <xsd:include schemaLocation="ProductImage.xsd"/>
        <xsd:include schemaLocation="Relationship.xsd"/>
        <xsd:include schemaLocation="SettlementReport.xsd"/>
        <xsd:element name="AmazonEnvelope" />
           <xsd:complexType>
               <xsd:sequence>
                   <xsd:element ref="Header"/>
                   <xsd:element name="MessageType">
                       <xsd:simpleType>
                          <xsd:restriction base="xsd:string">
                              <xsd:enumeration value="FulfillmentCenter"/>
                              <xsd:enumeration value="Inventory"/>
                              <xsd:enumeration value="OrderAcknowledgment"/>
                              <xsd:enumeration value="OrderAdjustment"/>
                              <xsd:enumeration value="OrderFulfillment"/>
                              <xsd:enumeration value="OrderReport"/>
                              <xsd:enumeration value="Override"/>
                              <xsd:enumeration value="Price"/>
                              <xsd:enumeration value="ProcessingReport"/>
                              <xsd:enumeration value="Product"/>
                              <xsd:enumeration value="ProductImage"/>
                              <xsd:enumeration value="Relationship"/>
                              <xsd:enumeration value="SettlementReport"/>
                          </xsd:restriction>
                       </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="PurgeAndReplace" type="xsd:boolean" minOccurs="0"/>
                   <xsd:element name="EffectiveDate" type="xsd:dateTime" minOccurs="0"/>
                   <xsd:element name="Message" maxOccurs="unbounded" />
                       <xsd:complexType>
                          <xsd:sequence>
                              <xsd:element name="MessageID" type="IDNumber"/>
                              <xsd:element name="OperationType" minOccurs="0">
                                  <xsd:simpleType>
                                      <xsd:restriction base="xsd:string">
                                         <xsd:enumeration value="Update"/>
                                         <xsd:enumeration value="Delete"/>
                                      </xsd:restriction>
                                  </xsd:simpleType>
                              </xsd:element>
                              <xsd:choice>
                                  <xsd:element ref="FulfillmentCenter"/>
                                  <xsd:element ref="Inventory"/>
                                  <xsd:element ref="OrderAcknowledgment"/>
                                  <xsd:element ref="OrderAdjustment"/>
                                  <xsd:element ref="OrderFulfillment"/>
                                  <xsd:element ref="OrderReport"/>
                                  <xsd:element ref="Override"/>
                                  <xsd:element ref="Price"/>
                                  <xsd:element ref="ProcessingReport"/>
                                  <xsd:element ref="Product"/>
                                  <xsd:element ref="ProductImage"/>
                                  <xsd:element ref="Relationship"/>
                                  <xsd:element ref="SettlementReport"/>
                              </xsd:choice>
                          </xsd:sequence>
                       </xsd:complexType>
                   </xsd:sequence>
           </xsd:complexType>
        </xs:schema>

Envelope Schema

Description

The envelope is used to wrap all other data with message-level protocol data. The envelope consists of a header and one or more messages, each of which contains the specified data object. While an envelope may contain more than one message, each message in the same envelope must be of the same type, as specified by the message type element.

Dictionary

XSD

https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/amzn-envelope.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
        <xsd:include schemaLocation="amzn-base.xsd"/>
        <xsd:include schemaLocation="amzn-header.xsd"/>
        <xsd:include schemaLocation="FulfillmentCenter.xsd"/>
        <xsd:include schemaLocation="Inventory.xsd"/>
        <xsd:include schemaLocation="OrderAcknowledgment.xsd"/>
        <xsd:include schemaLocation="OrderAdjustment.xsd"/>
        <xsd:include schemaLocation="OrderFulfillment.xsd"/>
        <xsd:include schemaLocation="OrderReport.xsd"/>
        <xsd:include schemaLocation="Override.xsd"/>
        <xsd:include schemaLocation="Price.xsd"/>
        <xsd:include schemaLocation="ProcessingReport.xsd"/>
        <xsd:include schemaLocation="Product.xsd"/>
        <xsd:include schemaLocation="ProductImage.xsd"/>
        <xsd:include schemaLocation="Relationship.xsd"/>
        <xsd:include schemaLocation="SettlementReport.xsd"/>
        <xsd:element name="AmazonEnvelope" />
           <xsd:complexType>
               <xsd:sequence>
                   <xsd:element ref="Header"/>
                   <xsd:element name="MessageType">
                       <xsd:simpleType>
                          <xsd:restriction base="xsd:string">
                              <xsd:enumeration value="FulfillmentCenter"/>
                              <xsd:enumeration value="Inventory"/>
                              <xsd:enumeration value="OrderAcknowledgment"/>
                              <xsd:enumeration value="OrderAdjustment"/>
                              <xsd:enumeration value="OrderFulfillment"/>
                              <xsd:enumeration value="OrderReport"/>
                              <xsd:enumeration value="Override"/>
                              <xsd:enumeration value="Price"/>
                              <xsd:enumeration value="ProcessingReport"/>
                              <xsd:enumeration value="Product"/>
                              <xsd:enumeration value="ProductImage"/>
                              <xsd:enumeration value="Relationship"/>
                              <xsd:enumeration value="SettlementReport"/>
                          </xsd:restriction>
                       </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="PurgeAndReplace" type="xsd:boolean" minOccurs="0"/>
                   <xsd:element name="EffectiveDate" type="xsd:dateTime" minOccurs="0"/>
                   <xsd:element name="Message" maxOccurs="unbounded" />
                       <xsd:complexType>
                          <xsd:sequence>
                              <xsd:element name="MessageID" type="IDNumber"/>
                              <xsd:element name="OperationType" minOccurs="0">
                                  <xsd:simpleType>
                                      <xsd:restriction base="xsd:string">
                                         <xsd:enumeration value="Update"/>
                                         <xsd:enumeration value="Delete"/>
                                      </xsd:restriction>
                                  </xsd:simpleType>
                              </xsd:element>
                              <xsd:choice>
                                  <xsd:element ref="FulfillmentCenter"/>
                                  <xsd:element ref="Inventory"/>
                                  <xsd:element ref="OrderAcknowledgment"/>
                                  <xsd:element ref="OrderAdjustment"/>
                                  <xsd:element ref="OrderFulfillment"/>
                                  <xsd:element ref="OrderReport"/>
                                  <xsd:element ref="Override"/>
                                  <xsd:element ref="Price"/>
                                  <xsd:element ref="ProcessingReport"/>
                                  <xsd:element ref="Product"/>
                                  <xsd:element ref="ProductImage"/>
                                  <xsd:element ref="Relationship"/>
                                  <xsd:element ref="SettlementReport"/>
                              </xsd:choice>
                          </xsd:sequence>
                       </xsd:complexType>
                   </xsd:sequence>
           </xsd:complexType>
        </xs:schema>

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


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

全球最大電商平臺(tái)
查看更多
搜索 放大鏡
韓國平臺(tái)交流群
加入
韓國平臺(tái)交流群
掃碼進(jìn)群
歐洲多平臺(tái)交流群
加入
歐洲多平臺(tái)交流群
掃碼進(jìn)群
美國賣家交流群
加入
美國賣家交流群
掃碼進(jìn)群
ESG跨境專屬福利分享群
加入
ESG跨境專屬福利分享群
掃碼進(jìn)群
拉美電商交流群
加入
拉美電商交流群
掃碼進(jìn)群
亞馬遜跨境增長交流群
加入
亞馬遜跨境增長交流群
掃碼進(jìn)群
亞馬遜跨境增長交流群
加入
亞馬遜跨境增長交流群
掃碼進(jìn)群
拉美電商交流群
加入
拉美電商交流群
掃碼進(jìn)群
ESG獨(dú)家招商-PHH GROUP賣家交流群
加入
ESG獨(dú)家招商-PHH GROUP賣家交流群
掃碼進(jìn)群
2025跨境電商營銷日歷
《2024年全球消費(fèi)趨勢(shì)白皮書——美國篇》
《2024TikTok出海達(dá)人營銷白皮書》
《Coupang自注冊(cè)指南》
《eMAG知識(shí)百科》
《TikTok官方運(yùn)營干貨合集》
《韓國節(jié)日營銷指南》
《開店大全-全球合集》
《TikTok綜合運(yùn)營手冊(cè)》
《TikTok短視頻運(yùn)營手冊(cè)》
通過ESG入駐平臺(tái),您將解鎖
綠色通道,更高的入駐成功率
專業(yè)1v1客戶經(jīng)理服務(wù)
運(yùn)營實(shí)操指導(dǎo)
運(yùn)營提效資源福利
平臺(tái)官方專屬優(yōu)惠

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

訂閱
聯(lián)系顧問

平臺(tái)顧問

平臺(tái)顧問 平臺(tái)顧問

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

icon icon

小程序

微信小程序

ESG跨境小程序
手機(jī)入駐更便捷

icon icon

返回頂部

【免費(fèi)領(lǐng)取】全球跨境電商運(yùn)營干貨 關(guān)閉
進(jìn)行中
進(jìn)行中
2025跨境電商營銷日歷
包括傳統(tǒng)中、外重要節(jié)日及重點(diǎn)電商營銷節(jié)點(diǎn)還對(duì)營銷關(guān)鍵市場(chǎng)、選品輔以說明,讓你的365天安排的明明白白!
免費(fèi)領(lǐng)取
進(jìn)行中
進(jìn)行中
【平臺(tái)干貨】eMAG知識(shí)百科
涵蓋從開店到大賣6個(gè)板塊:開店、運(yùn)營、廣告、選品、上架、物流
免費(fèi)領(lǐng)取
進(jìn)行中
進(jìn)行中
TikTok運(yùn)營必備干貨包
包含8個(gè)TikTok最新運(yùn)營指南(市場(chǎng)趨勢(shì)、運(yùn)營手冊(cè)、節(jié)日攻略等),官方出品,專業(yè)全面!
免費(fèi)領(lǐng)取
進(jìn)行中
進(jìn)行中
韓國coupang平臺(tái)自注冊(cè)指南
韓國Coupang電商平臺(tái)從注冊(cè)準(zhǔn)備、提交申請(qǐng)到完成注冊(cè),開店全流程詳細(xì)指引。
免費(fèi)領(lǐng)取
進(jìn)行中
進(jìn)行中
全球平臺(tái)詳解——全球合集
涵括全球100+個(gè)電商平臺(tái)的核心信息,包括平臺(tái)精煉簡(jiǎn)介、競(jìng)爭(zhēng)優(yōu)勢(shì)、熱銷品類、入駐要求以及入駐須知等關(guān)鍵內(nèi)容。
立即領(lǐng)取
進(jìn)行中
進(jìn)行中
韓國電商節(jié)日營銷指南
10+韓國電商重要營銷節(jié)點(diǎn)詳細(xì)解讀;2024各節(jié)日熱度選品助力引爆訂單增長;8大節(jié)日營銷技巧輕松撬動(dòng)大促流量密碼。
免費(fèi)領(lǐng)取
進(jìn)行中
進(jìn)行中
全球平臺(tái)詳解——?dú)W洲篇
涵蓋20+歐洲電商平臺(tái),詳細(xì)解讀優(yōu)勢(shì)、入駐條件、熱銷品等
立即領(lǐng)取