ÈËÉú¾ÍÊDz©¡¤(Öйú)×ðÁúAGÆì½¢Ìü

ÈËÉú¾ÍÊDz©¡¤(Öйú)×ðÁúAGÆì½¢Ìü(LianLian Global)¹ÙÍøÊ×Ò³

ʹÓà XML ÖÎÀíÑÇÂíÑ·¶©µ¥2¡ª¡ªÈ·ÈÏÎüÊÕ¶©µ¥

2020/11/04

È·ÈÏÎüÊÕ¶©µ¥ ¡ª ¶©µ¥È·ÈÏ



ÐÎò

ͨ¹ý¡°¶©µ¥È·ÈÏ¡±ÉÏ´«Êý¾Ý£¬£¬£¬£¬£¬£¬£¬ÄúÄܹ»È·È϶©µ¥ÏÂÔØÊÇ·ñÀֳɡ£¡£¡£ ¡£¡£¡£¡£È·ÈÏÉÏ´«Êý¾Ý»¹ÔÊÐíÄúÌṩ×Ô¼ºµÄ¶©µ¥±àºÅºÍ¶©µ¥ÉÌÆ·±àºÅ£¬£¬£¬£¬£¬£¬£¬ÈôÊÇÐèÒªµÄ»°£¬£¬£¬£¬£¬£¬£¬¿ÉÔÚÖ®ºóÓÃ×÷Ïàͬ¶©µ¥µÄÉÏ´«Êý¾ÝµÄ²Î¿¼¡£¡£¡£ ¡£¡£¡£¡£

±ðµÄ£¬£¬£¬£¬£¬£¬£¬Äú¿ÉÒÔÔÚÒÔÏÂí§ÒâÇéÐÎÏÂʹÓøÃÉÏ´«Êý¾Ý×÷·ÏÕû¸ö¶©µ¥£º

  • Âò¼ÒÒªÇóÄú×÷·Ï¶©µ¥£¨²¢ÇÒÄú»¹Ã»ÓжԶ©µ¥¾ÙÐÐÅäËÍ£©¡£¡£¡£ ¡£¡£¡£¡£

  • ÄúÎüÊÕµ½ÁËÒ»¸öµ¥ÏîÉÌÆ·¶©µ¥£¬£¬£¬£¬£¬£¬£¬µ«Äú²»¿É¹»¶ÔÉÌÆ·£¨ÒѲÐËðÉÌÆ·£©¾ÙÐÐÅäËÍ¡£¡£¡£ ¡£¡£¡£¡£

  • ÄúÎÞ·¨½«¶©µ¥ÉÏ´«µ½ÄúµÄϵͳÄÚÀï¡£¡£¡£ ¡£¡£¡£¡£

Òª×÷·Ï¶©µ¥£¬£¬£¬£¬£¬£¬£¬ÇëʹÓàʧ°Ü״̬´úÂë¡£¡£¡£ ¡£¡£¡£¡£


´ÇÊé

ÔªËØÐÎò
ÑÇÂíÑ·¶©µ¥±àºÅÑÇÂíѷΪ¶©µ¥ÌṩµÄΨһ±àºÅ£¬£¬£¬£¬£¬£¬£¬Äܹ»Ê¶±ðÕû¸ö¶©µ¥£¬£¬£¬£¬£¬£¬£¬ÎÞÂÛ¶©µ¥Öеĵ¥ÏîÉÌÆ·ÊýÄ¿ÊǼ¸¶à
Âô¼Ò¶©µ¥±àºÅÓÉÂô¼ÒÌṩµÄ¿ÉÑ¡¶©µ¥±àºÅ¡£¡£¡£ ¡£¡£¡£¡£ÑÇÂíÑ·»á½«Âô¼Ò¶©µ¥±àºÅÓ³Éäµ½ÑÇÂíÑ·¶©µ¥±àºÅÉÏ£¬£¬£¬£¬£¬£¬£¬Ö®ºóÄú¾Í¿ÉÒÔ¶ÔËæºóµÄÓйض©µ¥µÄÉÏ´«Êý¾ÝʹÓÃ×Ô¼ºµÄ¶©µ¥±àºÅ£¨Âô¼Ò¶©µ¥±àºÅ£©¡£¡£¡£ ¡£¡£¡£¡£µÚÒ»²½ÊÇÔÚÈ·ÈÏÉÏ´«Êý¾ÝÖн¨ÉèÂô¼Ò¶©µ¥±àºÅ¡£¡£¡£ ¡£¡£¡£¡£Éó²é»ù´¡ XSD Ïàʶ½ç˵¡£¡£¡£ ¡£¡£¡£¡£
״̬´úÂëÔÊÐíÄúÈ·È϶©µ¥ÏÂÔØÊÇ·ñÀֳɡ£¡£¡£ ¡£¡£¡£¡£×´Ì¬´úÂëҪôÊÇ ÀÖ³ÉҪôÊǠʧ°Ü¡£¡£¡£ ¡£¡£¡£¡£×´Ì¬´úÂëΪ Ê§°Üʱ£¬£¬£¬£¬£¬£¬£¬¿ÉÓÃÓÚÓëÑÇÂíÑ·½»Á÷£¬£¬£¬£¬£¬£¬£¬ÌåÏÖÔÚ½«¶©µ¥¼¯³Éµ½ÄúµÄϵͳʱÓöµ½ÁËÎÊÌâ»òÕßÄúÎÞ·¨´¦Öóͷ£¶©µ¥¡£¡£¡£ ¡£¡£¡£¡£ÄúÓöµ½ÅäËÍ·½ÃæµÄÎÊÌâʱ²»Ó¦µ±ÓøôúÂë¾ÙÐн»Á÷£¬£¬£¬£¬£¬£¬£¬ÀýÈç¿â´æÀïûÓиÃÉÌÆ·¡£¡£¡£ ¡£¡£¡£¡£

·¢ËÍ¡°Ê§°Ü¡±µÄ״̬´úÂ뽫»á×Ô¶¯×÷·Ï¶©µ¥£» £»£»£»£»£»Âò¼ÒÒ²½«²»±ØÎªÉÌÆ·¸¶ÕË¡£¡£¡£ ¡£¡£¡£¡£

ÑÇÂíÑ·¶©µ¥ÉÌÆ·±àÂëÑÇÂíѷΪ¶©µ¥ÄÚÉÌÆ·ÌṩµÄΨһ±àºÅ¡£¡£¡£ ¡£¡£¡£¡£ÈôÊÇÂô¼Ò¶©µ¥ÉÌÆ·±àºÅÒ²±»Ö¸¶¨£¬£¬£¬£¬£¬£¬£¬ÔòÑÇÂíÑ·½«»á¶ÔÁ½¸ö±àºÅ¾ÙÐÐÓ³É䣬£¬£¬£¬£¬£¬£¬²¢ÇÒ¹ØÓÚÓë¶©µ¥ÄÚÉÌÆ·Ïà¹ØµÄËæºóµÄÉÏ´«Êý¾Ý£¬£¬£¬£¬£¬£¬£¬Äú¿ÉÒÔʹÓÃ×Ô¼ºµÄÉÌÆ·±àºÅ¡£¡£¡£ ¡£¡£¡£¡£Éó²é»ù´¡ XSD Ïàʶ½ç˵¡£¡£¡£ ¡£¡£¡£¡£
Âô¼Ò¶©µ¥ÉÌÆ·±àºÅÂô¼ÒΪ¶©µ¥ÄÚÉÌÆ·ÌṩµÄ¿ÉÑ¡±àºÅ¡£¡£¡£ ¡£¡£¡£¡£ÈôÊÇÂô¼Ò¶©µ¥ÉÌÆ·±àºÅÓÃÑÇÂíÑ·¶©µ¥ÉÌÆ·±àÂë¾ÙÐÐÖ¸¶¨£¬£¬£¬£¬£¬£¬£¬ÔòÑÇÂíÑ·½«»á¶ÔÁ½¸ö±àºÅ¾ÙÐÐÓ³É䣬£¬£¬£¬£¬£¬£¬¹ØÓÚÓë¸Ã¶©µ¥ÉÌÆ·Ïà¹ØµÄËæºóµÄÉÏ´«Êý¾Ý£¬£¬£¬£¬£¬£¬£¬Äú¿ÉÒÔʹÓÃ×Ô¼ºµÄ¶©µ¥ÉÌÆ·±àºÅ¡£¡£¡£ ¡£¡£¡£¡£Éó²é»ù´¡ XSD Ïàʶ½ç˵¡£¡£¡£ ¡£¡£¡£¡£
×÷·ÏÔµ¹ÊÔ­ÓɽöÔÚ·¢Ë͠ʧ°Ü״̬´úÂëʱʹÓᣡ£¡£ ¡£¡£¡£¡£Éó²é»ù´¡ XSD Ïàʶö¾Ù¡£¡£¡£ ¡£¡£¡£¡£


XSD

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

 <?xml version="1.0" ?> <!- Revision="$Revision: #7 $" --> <xsd:schema elementFormDefault="qualified">
                  <xsd:include schemaLocation="amzn-base.xsd" /> <xsd:element name="OrderAcknowledgement">
                  <xsd:complexType> <xsd:sequence> <xsd:element ref="AmazonOrderID" /> <xsd:element
                  ref="MerchantOrderID" minOccurs="0" /> <xsd:element name="StatusCode"> <xsd:simpleType>
                  <xsd:restriction base="xsd:string"> <xsd:enumeration value="Success" /> <xsd:enumeration
                  value="Failure" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element
                  name="Item" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence>
                  <xsd:element ref="AmazonOrderItemCode" /> <xsd:element ref="MerchantOrderItemID" minOccurs="0"
                  /> <xsd:element name="CancelReason" minOccurs="0"> <xsd:simpleType> <xsd:restriction
                  base="xsd:string"> <xsd:enumeration value="NoInventory" /> <xsd:enumeration value="ShippingAddressUndeliverable"
                  /> <xsd:enumeration value="CustomerExchange" /> <xsd:enumeration value="BuyerCanceled"
                  /> <xsd:enumeration value="GeneralAdjustment" /> <xsd:enumeration value="CarrierCreditDecision"
                  /> <xsd:enumeration value="RiskAssessmentInformationNotValid" /> <xsd:enumeration
                  value="CarrierCoverageFailure" /> <xsd:enumeration value="CustomerReturn" /> <xsd:enumeration
                  value="MerchandiseNotReceived" /> </xsd:restriction> </xsd:simpleType> </xsd:element>
                  </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType>
                  </xsd:element> </xsd:schema>


ʾÀý

                  <?xml version="1.0" ?> <AmazonEnvelope noNamespaceSchemaLocation="amzn-envelope.xsd">
                  <Header> <DocumentVersion>1.01</DocumentVersion> <MerchantIdentifier> M_IDENTIFIER</MerchantIdentifier>
                  </Header> <MessageType>¶©µ¥È·ÈÏ</MessageType> <Message> <MessageID>1</MessageID> <OrderAcknowledgement>
                  <AmazonOrderID>050-1234567-1234567</AmazonOrderID> <MerchantOrderID>1234567</MerchantOrderID>
                  <StatusCode>ÀÖ³É</StatusCode> <Item> <AmazonOrderItemCode>12345678901234</AmazonOrderItemCode>
                  <MerchantOrderItemID>1234567</MerchantOrderItemID> </Item> </OrderAcknowledgement>
                  </Message> </AmazonEnvelope>


ÑÇÂíÑ·¹ÙÍøÔ­ÎÄÏêÇ飺   

Acknowledge Receipt of Orders - Order Acknowledgement



Description

The Order Acknowledgment feed allows you to acknowledge your success or failure with downloading an order. The acknowledgment feed also allows you to provide your own order ID and order item IDs, which you can then reference in future feeds for the same order, if desired.

Additionally, you can use this feed to cancel the entire order under one of these circumstances:

  • The customer asked you to cancel the order (and you have not yet shipped it).

  • You received a single-item order but you can't ship the item (damaged goods).

  • You are unable to upload an order into your system.

To cancel the order, use the Failure StatusCode.


Dictionary

ElementDescription
AmazonOrderIDAmazon's unique identifier for an order, which identifies the entire order regardless of the number of individual items in the order
MerchantOrderIDOptional seller-supplied order ID. Amazon will map the MerchantOrderID to the AmazonOrderID, and you can then use your own order ID (MerchantOrderID) for subsequent feeds relating to the order. The first step is to establish the MerchantOrderID in the acknowledgment feed. See the base XSD for the definition.
StatusCodeAllows you to acknowledge your success or failure with downloading an order. StatusCode can be either Success or Failure. A StatusCode of Failure can be used for communicating to Amazon that you had a problem integrating the order into your system and are unable to process the order. It should not be used for communicating that you had a fulfillment problem, such as not having the item in inventory.

Sending status code "Failure" will automatically cancel the order; the customer will not be charged for the item.

AmazonOrderItemCodeAmazon's unique identifier for an item in an order. If the MerchantOrderItemID is also specified, Amazon will map the two IDs and you can then use your own item ID for subsequent feeds relating to that item within the order. See the base XSD for the definition.
MerchantOrderItemIDOptional seller-supplied ID for an item in an order. If the MerchantOrderItemID is specified with the AmazonOrderItemCode, Amazon will map the two IDs and you can then use your own order item ID for subsequent feeds relating to that order item. See the base XSD for the definition.
CancelReasonUsed only when sending a StatusCode of Failure. See the base XSD for enumeration.


XSD

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

<?xml version="1.0" ?>
<!- Revision="$Revision: #7 $"
  -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
 
<xsd:include schemaLocation="amzn-base.xsd" />
<xsd:element name="OrderAcknowledgement">
<xsd:complexType>
<xsd:sequence>
  <xsd:element ref="AmazonOrderID" />
  <xsd:element ref="MerchantOrderID" minOccurs="0" />
<xsd:element name="StatusCode">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
  <xsd:enumeration value="Success" />
  <xsd:enumeration value="Failure" />
  </xsd:restriction>
  </xsd:simpleType>
  </xsd:element>
<xsd:element name="Item" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
  <xsd:element ref="AmazonOrderItemCode" />
  <xsd:element ref="MerchantOrderItemID" minOccurs="0" />
<xsd:element name="CancelReason" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
  <xsd:enumeration value="NoInventory" />
  <xsd:enumeration value="ShippingAddressUndeliverable" />
  <xsd:enumeration value="CustomerExchange" />
  <xsd:enumeration value="BuyerCanceled" />
  <xsd:enumeration value="GeneralAdjustment" />
  <xsd:enumeration value="CarrierCreditDecision" />
  <xsd:enumeration value="RiskAssessmentInformationNotValid" />
  <xsd:enumeration value="CarrierCoverageFailure" />
  <xsd:enumeration value="CustomerReturn" />
  <xsd:enumeration value="MerchandiseNotReceived" />
  </xsd:restriction>
  </xsd:simpleType>
  </xsd:element>
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:schema>

Example

<?xml version="1.0" ?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
        <DocumentVersion>1.01</DocumentVersion>
        <MerchantIdentifier> M_IDENTIFIER</MerchantIdentifier>
</Header>
<MessageType>OrderAcknowledgement</MessageType>
<Message>
        <MessageID>1</MessageID>
        <OrderAcknowledgement>
           <AmazonOrderID>050-1234567-1234567</AmazonOrderID>
           <MerchantOrderID>1234567</MerchantOrderID>
           <StatusCode>Success</StatusCode>
           <Item>
               <AmazonOrderItemCode>12345678901234</AmazonOrderItemCode>
               <MerchantOrderItemID>1234567</MerchantOrderItemID>
           </Item>
        </OrderAcknowledgement>
</Message>
</AmazonEnvelope>

ÎÄÕÂȪԴ£ºÑÇÂíÑ·¹Ù·½ÍøÕ¾

¸ü¶à
¡¾ÍøÕ¾µØÍ¼¡¿¡¾sitemap¡¿