标题架构

描述

信封使用标题来指定与上传数据相关的通用数据或上传数据中的消息。

词典

文档版本

文档的版本(亚马逊仅支持 1.01 版本)

MerchantIdentifier

登记卖家的编号;在您开启卖家账户时由亚马逊分配

XSD

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

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
elementFormDefault="qualified">
    <xsd:include schemaLocation="amzn-base.xsd"/>
    <xsd:element name="Header">
        <xsd:complexType>
           <xsd:sequence>
               <xsd:element name="DocumentVersion">
                   <xsd:simpleType>
                       <xsd:restriction base="xsd:string">
                          <xsd:pattern value="\d{1,2}\.\d{1,2}"/>
                       </xsd:restriction>
                   </xsd:simpleType>
               </xsd:element>
               <xsd:element name="MerchantIdentifier" type="String"/>
           </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
</xs:schema>


亚马逊官网原文详情:   

Header Schema

Description

The envelope uses the header to specify universal data related to the feed or a message in the feed.

Dictionary

DocumentVersion

The document version (Amazon supports only version 1.01.)

MerchantIdentifier

The identifier for the seller of record; assigned by Amazon when you opened your seller account

XSD

https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/amzn-header.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:element name="Header">
        <xsd:complexType>
           <xsd:sequence>
               <xsd:element name="DocumentVersion">
                   <xsd:simpleType>
                       <xsd:restriction base="xsd:string">
                          <xsd:pattern value="\d{1,2}\.\d{1,2}"/>
                       </xsd:restriction>
                   </xsd:simpleType>
               </xsd:element>
               <xsd:element name="MerchantIdentifier" type="String"/>
           </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
</xs:schema>

文章来源:亚马逊官方网站

(本文内容根据网络资料整理,出于传递更多信息之目的,不代表连连国际赞同其观点和立场)