使用 XML 管理亞馬遜訂單2——確認(rèn)接收訂單
通過“訂單確認(rèn)”上傳數(shù)據(jù),您能夠確認(rèn)訂單下載是否成功。確認(rèn)上傳數(shù)據(jù)還允許您提供自己的訂單編號(hào)和訂單商品編號(hào),如果需要的話,可在之后用作相同訂單的上傳數(shù)據(jù)的參考。
此外,您可以在以下任意情況下利用該上傳數(shù)據(jù)取消整個(gè)訂單:
買家要求您取消訂單(并且您還沒有對(duì)訂單進(jìn)行配送)。
您接收到了一個(gè)單項(xiàng)商品訂單,但您不能夠?qū)ι唐罚ㄒ褮垞p商品)進(jìn)行配送。
您無法將訂單上傳到您的系統(tǒng)里面。
要,請(qǐng)使用 失敗狀態(tài)代碼。
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>訂單確認(rèn)</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
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>
點(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)系。
二維碼加載中...
使用微信掃一掃登錄
使用賬號(hào)密碼登錄
平臺(tái)顧問
微信掃一掃
馬上聯(lián)系在線顧問
小程序
ESG跨境小程序
手機(jī)入駐更便捷
返回頂部