ʹÓà XMLÖÎÀíÑÇÂíÑ·ÉÌÆ·½Ì³Ì2¡ª¡ª¿â´æÉÏ´«Êý¾Ý
¸üпÉÊÛÉÌÆ·ÊýÄ¿ ¡ª ¿â´æÊäÈëÊý¾Ý¼Ü¹¹

ÐÎò
¿â´æÉÏ´«Êý¾ÝʹÄúÄܹ»¸üÐÂÉÌÆ·µÄ¿â´æÊýÄ¿£¨¿â´æË®Æ½£©¡£¡£¡£¡£¡£¡£
¹ØÓÚÄú½öÔÚ Amazon.com ³öÊÛµÄÿ¼þÉÌÆ·£¬£¬£¬£¬£¬ÇëÌá½»ÄúÄ¿½ñÓлõ¼òÖ±ÇÐÊýÄ¿¡£¡£¡£¡£¡£¡£ÈôÊÇÄú½ÓÄɶàÖÖÏúÊÛÇþµÀ£¬£¬£¬£¬£¬ÎÒÃǽ¨Ò飺һµ©ÄúµÄ¿ÉÓÃ¿â´æµÖ´ïÄúÖ¸¶¨µÄˮƽ£¬£¬£¬£¬£¬ÇëÉèÖÃÄúµÄϵͳÒÑ·¢ËÍÊýĿΪÁãµÄÖµ¡£¡£¡£¡£¡£¡£µ±ÊýÄ¿´óÓÚÁãʱ£¬£¬£¬£¬£¬¹ºÖð´Å¥±»¼¤»î£¬£¬£¬£¬£¬Ã¿¸ö¶©µ¥µÄÊýÄ¿³ÊµÝ¼õ״̬¡£¡£¡£¡£¡£¡£µ±ÊýÄ¿µÖ´ïÁãʱ£¬£¬£¬£¬£¬³ý·ÇÄú·¢ËͲ¹»õÖµ£¬£¬£¬£¬£¬²»È»¸ÃÉÌÆ·ÔÚ Amazon.com Éϲ»¿É¹ºÖᣡ£¡£¡£¡£¡£
ͨ¹ýÖ¸¶¨¡°ÅäËÍÑÓ³Ù¡±µÄÖµ£¬£¬£¬£¬£¬¿â´æÉÏ´«Êý¾ÝÒ²¿ÉÒÔÓÃÀ´Åú×¢ÅäË͸ø¶¨ÉÌÆ·µÄ½»¸¶ÖÜÆÚ¡£¡£¡£¡£¡£¡£ÈôÊÇδ·¢ËÍÖµ£¬£¬£¬£¬£¬½«Ê¹ÓÃÁ½¸öÊÂÇéÈÕÕâһĬÈÏÖµ¡£¡£¡£¡£¡£¡£
´ÇÊé
ÔªËØ | ÐÎò |
SKU | ÓÃÀ´Ê¶±ðÿһ¼þµ¥¶ÀÉÌÆ·¡£¡£¡£¡£¡£¡£Ã¿¼þÉÌÆ·±ØÐèÓÐÒ»¸ö SKU£¬£¬£¬£¬£¬²¢ÇÒÿ¸ö SKU ±ØÐèÊÇΨһµÄ¡£¡£¡£¡£¡£¡£ |
FulfillmentCenterID | Âô¼ÒΪÔËÓªÖÐÐĽç˵µÄ±àÂ루ÑÇÂíÑ·²»Ê¹Óã© |
¿ÕÏÐ | Ö¸Ã÷¸ÃÉÌÆ·ÊÇ·ñÓлõ£¨"true" ÌåÏÖÓлõ£»£»£»£»£»£»£»"false" ÌåÏÖÎÞ»õ£© |
ÊýÄ¿ | Ö¸Ã÷¸ÃÉÌÆ·ÊÇ·ñÓлõ£¨ÕýÊýÌåÏÖÓлõ£»£»£»£»£»£»£»ÁãÌåÏÖÎÞ»õ£©¡£¡£¡£¡£¡£¡£Ã¿´ÎÌá½»Ò»¼þÉÌÆ·µÄÊýÄ¿£¬£¬£¬£¬£¬ÏÖÓÐÊýÄ¿»á±»ÉÏ´«Êý¾ÝÖÐеÄÊýÄ¿ËùÈ¡´ú¡£¡£¡£¡£¡£¡£ |
²¹»õÈÕÆÚ | ΪÉÌÆ·²¹»õµÄÈÕÆÚ£¨ÈôÊÇÏÖÔÚ²»¿ÉÓã© |
ÅäËÍÑÓ³Ù | ¶©µ¥ÈÕÆÚºÍÅäËÍÈÕÆÚÖ®¼äµÄÌìÊý |
Çл»ÔËËÍ·½·¨ | ½öµ±½«ÉÌÆ·µÄÅäËÍ´Ó MFN£¨Âô¼Ò×ÔÐÐÅäËÍ£©Çл»µ½ AFN£¨ÑÇÂíÑ·ÅäËÍ£©Ê±Ê¹Ó㬣¬£¬£¬£¬·´Ö®ÒàÈ» |
XSD
https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/Inventory.xsd
<?xml version="1.0" ?>
<!- Revision="$Revision: #3 $"
-->
<xsd:schema elementFormDefault="qualified">
<xsd:include schemaLocation="amzn-base.xsd" />
<xsd:element name="Inventory">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="SKU" />
<xsd:element ref="FulfillmentCenterID" minOccurs="0" />
<xsd:choice>
<xsd:element name="Available" type="xsd:boolean" />
<xsd:element name="Quantity" type="xsd:nonNegativeInteger" />
<xsd:element name="Lookup">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="FulfillmentNetwork" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:choice>
<xsd:element name="RestockDate" type="xsd:date" minOccurs="0" />
<xsd:element name="FulfillmentLatency" type="xsd:positiveInteger" minOccurs="0" />
<xsd:element name="SwitchFulfillmentTo" minOccurs="0">
<!-
ÈôÊÇÄúÒªÌæ»»ÉÌÆ·µÄÅäËÍÒªÁ죬£¬£¬£¬£¬
ÇëʹÓøÃÔªËØ¡£¡£¡£¡£¡£¡£
ÈôÊÇÄúÊÇ´Ó AFN Çл»µ½ MFN£¬£¬£¬£¬£¬ÇëʹÓà "MFN"
ÈôÊÇÄúÊÇ´Ó MFN Çл»µ½ AFN£¬£¬£¬£¬£¬ÇëʹÓà "MFN"
-->
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="MFN" />
<xsd:enumeration value="AFN" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
ʾÀý
<?xml version="1.0" encoding="utf-8" ?>
<AmazonEnvelope noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>M_SELLER_354577</MerchantIdentifier>
</Header>
<MessageType>¿â´æ</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>¸üÐÂ</OperationType>
<Inventory>
<SKU>ASUSVNA1</SKU>
<Quantity>8</Quantity>
<FulfillmentLatency>1</FulfillmentLatency>
</Inventory>
</Message>
<Message>
<MessageID>2</MessageID>
<OperationType>¸üÐÂ</OperationType>
<Inventory>
<SKU>ASUS8VM</SKU>
<Quantity>6</Quantity>
<FulfillmentLatency>1</FulfillmentLatency>
</Inventory>
</Message>
</AmazonEnvelope>
ÈôÊÇÄú¼ÓÈëÁË¡°ÑÇÂíÑ·ÅäËÍ¡±ÍýÏ룬£¬£¬£¬£¬Äú¿ÉÒÔͨ¹ý½«¡°ÔËÓªÖÐÐıàºÅ¡±Ì滻ΪÍâµØ¡°ÑÇÂíÑ·ÎïÁ÷ÖÐÐÄ¡±£¬£¬£¬£¬£¬Ê¹Óá°¿â´æÉÏ´«Êý¾Ý¡±½«ÉÌÆ·ÓÉ¡°Âô¼Ò×ÔÐÐÅäËÍ¡±(MFN) Çл»µ½¡°ÑÇÂíÑ·ÅäËÍ¡±(AFN)£¬£¬£¬£¬£¬·´Ö®ÒàÈ»¡£¡£¡£¡£¡£¡£
ÀýÈ磺½«ÉÌÆ·Çл»µ½¡°ÑÇÂíÑ·ÅäËÍ¡±(AFN)
<?xml version="1.0" encoding="UTF-8"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>M_tokenhere_12345</MerchantIdentifier>
</Header>
<MessageType>¿â´æ</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>¸üÐÂ</OperationType>
<Inventory>
<SKU>2000578900007 </SKU>
<FulfillmentCenterID>AMAZON_NA</FulfillmentCenterID>
<Lookup>ÅäËÍÍøÂç</Lookup>
<SwitchFulfillmentTo>AFN</SwitchFulfillmentTo>
</Inventory>
</Message>
</AmazonEnvelope>
ÑÇÂíÑ·¹ÙÍøÔÎÄÏêÇ飺
Update Quantity Available - Inventory Feed Schema
Description
The Inventory feed allows you to update inventory quantities (stock levels) for your items.
For each item you offer only on Amazon, send the exact number you currently have in stock. If you use multiple sales channels, we recommend configuring your systems to send a value of zero once your available inventory reaches a level you specify. When the quantity is greater than zero, the buy button is activated and the quantity is decremented with each order. When the quantity reaches zero, the item is no longer available for purchase on Amazon until you send a replenishment value.
The inventory feed can also be used to indicate the lead time to ship a given item by specifying a value for FulfillmentLatency. If no value is sent, the default value of two business days is used.
Dictionary
Element Description SKU Used to identify an individual product. Each product must have a SKU, and each SKU must be unique. FulfillmentCenterID Seller-defined identifier for a fulfillment center (not used by Amazon) Available Indicates whether or not the item is available (true = available; false = not available) Note: This element can be used instead of the "Quantity" element below.
Quantity Indicates whether or not an item is available (any positive number = available; 0 = not available). Every time a quantity is sent for an item, the existing quantity is replaced by the new quantity in the feed. Note: This element can be used instead of the "Available" element above.
RestockDate Date the item will be restocked, if not currently available FulfillmentLatency The number of days between the order date and the ship date SwitchFulfillmentTo Used only when switching the fulfillment of an item from MFN (merchant fulfilled) to AFN (Amazon fulfilled) or vice versa Note: Use of AFN requires enrollment in the Fulfillment by Amazon program.
XSD
https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/Inventory.xsd
<?xml version="1.0" ?> <!- Revision="$Revision: #3 $" --> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xsd:include schemaLocation="amzn-base.xsd" /> <xsd:element name="Inventory"> <xsd:complexType> <xsd:sequence> <xsd:element ref="SKU" /> <xsd:element ref="FulfillmentCenterID" minOccurs="0" /> <xsd:choice> <xsd:element name="Available" type="xsd:boolean" /> <xsd:element name="Quantity" type="xsd:nonNegativeInteger" /> <xsd:element name="Lookup"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="FulfillmentNetwork" /> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:choice> <xsd:element name="RestockDate" type="xsd:date" minOccurs="0" /> <xsd:element name="FulfillmentLatency" type="xsd:positiveInteger" minOccurs="0" /> <xsd:element name="SwitchFulfillmentTo" minOccurs="0"> <!- Use this element if you are switching the fulfillment method for your item. If you are switching from AFN to MFN, use "MFN" If you are switching from MFN to AFN, use "AFN" --> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="MFN" /> <xsd:enumeration value="AFN" /> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>
Example
<?xml version="1.0" encoding="utf-8" ?> <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd"> <Header> <DocumentVersion>1.01</DocumentVersion> <MerchantIdentifier>M_SELLER_354577</MerchantIdentifier> </Header> <MessageType>Inventory</MessageType> <Message> <MessageID>1</MessageID> <OperationType>Update</OperationType> <Inventory> <SKU>ASUSVNA1</SKU> <Quantity>8</Quantity> <FulfillmentLatency>1</FulfillmentLatency> </Inventory> </Message> <Message> <MessageID>2</MessageID> <OperationType>Update</OperationType> <Inventory> <SKU>ASUS8VM</SKU> <Quantity>6</Quantity> <FulfillmentLatency>1</FulfillmentLatency> </Inventory> </Message> </AmazonEnvelope>
If you participate in the Fulfillment by Amazon program, you can use the Inventory Feed to switch a product from "Fulfilled by Merchant" (MFN) to "Fulfilled by Amazon" (AFN) and vice versa, by replacing the FulfillmentCenterID with the FBA fulfillment center for your locale.
Example: Switching a product to "Fulfilled by Amazon" (AFN)
<?xml version="1.0" encoding="UTF-8"?> <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd"> <Header> <DocumentVersion>1.01</DocumentVersion> <MerchantIdentifier>M_tokenhere_12345</MerchantIdentifier> </Header> <MessageType>Inventory</MessageType> <Message> <MessageID>1</MessageID> <OperationType>Update</OperationType> <Inventory> <SKU>2000578900007</SKU> <FulfillmentCenterID>AMAZON_NA</FulfillmentCenterID> <Lookup>FulfillmentNetwork</Lookup> <SwitchFulfillmentTo>AFN</SwitchFulfillmentTo> </Inventory> </Message> </AmazonEnvelope>
ÎÄÕÂȪԴ£ºÑÇÂíÑ·¹Ù·½ÍøÕ¾
- 1ÍâóӢÎÄB2BÍøÕ¾µ¼º½ÔõÑù½¨ÉèºÍÍÆ¹ãÄØ£¿£¿£¿£¿£¿£¿
- 2ΪʲôÔÚshopeeÉ϶¼Ïë×ö±¾ÍÁÂô¼Ò£¿£¿£¿£¿£¿£¿
- 3shopeeÏºÆ¤Íø¹ã¸æÔ˶¯¼ò½é
- 4Ôõô³ö¿Ú¿ÚÕÖµ½µÂ¹ú
- 5Ì©¹ú¿ç¾³Ö§¸¶¹«Ë¾Éú³¤Õ½ÂÔ
- 6ÃÀ¹úÉ̱ê×¢²áÒ»Ñùƽ³£ÔõôÑùËãÀàËÆ½üËÆ£¿£¿£¿£¿£¿£¿
- 7ÑÇÂíÑ·»õÎï½ø²Ö»ºÂýµÄÔµ¹ÊÔÓÉÊÇʲô£¿£¿£¿£¿£¿£¿
- 8Òâ´óÀûVATÔöֵ˰£º»ù±¾¿´·¨¡¢Ë°ÂʺÍÊÊÓùæÄ£
- 9ÍâÃ³ÍøÕ¾¿Í»§¿ª·¢ÐèÒª±Ø±¸ÒÔϼ¸µã
- 10¿ç¾³µçÉÌÕÐÆ¸ÊÂÇéµÄÆÀ¹À