Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/236.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php AMW服务库存未出现在卖方中心,尽管提交了OK_Php_Xml_Amazon Web Services_Amazon - Fatal编程技术网

Php AMW服务库存未出现在卖方中心,尽管提交了OK

Php AMW服务库存未出现在卖方中心,尽管提交了OK,php,xml,amazon-web-services,amazon,Php,Xml,Amazon Web Services,Amazon,我有3个市场(DE、UK、IT),主要是DE,其他市场是从DE加载的(我们通过AMW服务API控制库存),但现在我们习惯于使用分离的所有市场。 对于测试,我们断开英国市场,删除产品,现在我尝试向英国市场提交提要。以下是(发布)产品(数据)提交: <?xml version="1.0" encoding="UTF-8"?> <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam

我有3个市场(DE、UK、IT),主要是DE,其他市场是从DE加载的(我们通过AMW服务API控制库存),但现在我们习惯于使用分离的所有市场。 对于测试,我们断开英国市场,删除产品,现在我尝试向英国市场提交提要。以下是(发布)产品(数据)提交:

<?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>xxxxxxxxxxxxxx</MerchantIdentifier>
    </Header>
    <MessageType>Product</MessageType>
    <PurgeAndReplace>false</PurgeAndReplace>
    <Message>
        <MessageID>1</MessageID>
        <OperationType>PartialUpdate</OperationType>
        <Product>
            <SKU>0000036869</SKU>
            <StandardProductID>
                <Type>EAN</Type>
                <Value>5907695571806</Value>
            </StandardProductID>
            <Condition>
                <ConditionType>New</ConditionType>
            </Condition>
            <DescriptionData>
                <Title>Skateboard, Fishboard, Recreational riding Nils</Title>
                <Brand>Nils</Brand>
                <Description>SKATEBOARD by NILS

    Skateboard with a robust plastic material, called polypropylene (PP) - skateboards are stronger than with conventional skateboards made of plywood.

     Thanks to the truss on the upper side skateboard possessed better grip, more stability, safe driving, the effect of non slip.

    The advantage is surely the small size of skateboards, so fits easily into even a small backpack, and interesting colors.


</Description>
                <BulletPoint>Dimensions: 58 x 15.5 cm, Material: polypropylene (PP), Truck: 3.25, Bearings: ABEC-5,</BulletPoint>
                <BulletPoint>Wheels: PU 60 x 45 mm,Hardness 78A,Maximum user weight: 100kg,Color: green,Color wheels: yellow,</BulletPoint>
                <BulletPoint>A robust, Durable, Truss on the top side with a grip enhancing, Stable,</BulletPoint>
                <BulletPoint>Small size allows placement of skateboards in a backpack,</BulletPoint>
                <BulletPoint>Bent back part of the board.</BulletPoint>
                <Manufacturer>Nils</Manufacturer>
                <ItemType>SportingGoods</ItemType>
            </DescriptionData>
            <ProductData>
                <Sports>
                    <ProductType>SportingGoods</ProductType>
                </Sports>
            </ProductData>
        </Product>
    </Message>
    <Message>
        <MessageID>2</MessageID>
        <OperationType>PartialUpdate</OperationType>
        <Product>
            <SKU>0000027472</SKU>
            <StandardProductID>
                <Type>EAN</Type>
                <Value>5907695581935</Value>
            </StandardProductID>
            <Condition>
                <ConditionType>New</ConditionType>
            </Condition>
            <DescriptionData>
                <Title>Replaceable plates on sticks Nordic Walking 2 pcs. Nils</Title>
                <Brand>Nils</Brand>
                <Description>PLATES FOR NORDIC WALKING POLES

    2pcs.

    Set of two interchangeable plates for Nordic Walking sticks, to prevent collapse of the sticks in the ground and mud.


</Description>
                <BulletPoint>Material: plastic,</BulletPoint>
                <BulletPoint>Diameter: approx. 5 cm,</BulletPoint>
                <BulletPoint>Set: 2 pieces,</BulletPoint>
                <BulletPoint>Color: black.</BulletPoint>
                <Manufacturer>Nils</Manufacturer>
                <ItemType>SportingGoods</ItemType>
            </DescriptionData>
            <ProductData>
                <Sports>
                    <ProductType>SportingGoods</ProductType>
                </Sports>
            </ProductData>
        </Product>
    </Message>
</AmazonEnvelope>   

1.01
XXXXXXXXXXXXX
产品
假的
1.
部分更新
0000036869
伊恩
5907695571806
新的
滑板、鱼板、休闲骑行
零
滑板零比零
滑板采用坚固的塑料材料,称为聚丙烯(PP)——滑板比传统的胶合板滑板更坚固。
由于上部滑板上的桁架具有更好的抓地力,更稳定,驾驶安全,防滑效果。
优点当然是滑板体积小,所以即使是一个小背包也很容易放进去,而且颜色也很有趣。
尺寸:58 x 15.5厘米,材料:聚丙烯(PP),载重汽车:3.25,轴承:ABEC-5,
车轮:PU 60 x 45 mm,硬度78A,最大用户重量:100kg,颜色:绿色,彩色车轮:黄色,
顶部采用坚固耐用的桁架结构,可增强抓地力,保持稳定,
小尺寸可将滑板放在背包中,
板的弯曲部分。
零
运动用品
运动用品
2.
部分更新
0000027472
伊恩
5907695581935
新的
棒上可更换板Nordic Walking 2件零
零
北欧步行杆用钢板
2件。
一套两个可互换的北欧手杖板,用于防止手杖在地面和泥土中倒塌。
材料:塑料,
直径:约5厘米,
套装:2件,
颜色:黑色。
零
运动用品
运动用品
提交后,几分钟后我检查提交(使用GetFeedSubmissionResult),上面的响应:

    <?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.02</DocumentVersion>
        <MerchantIdentifier>M_FIRMAHANDL_1586538</MerchantIdentifier>
    </Header>
    <MessageType>ProcessingReport</MessageType>
    <Message>
        <MessageID>1</MessageID>
        <ProcessingReport>
            <DocumentTransactionID>420618017358</DocumentTransactionID>
            <StatusCode>Complete</StatusCode>
            <ProcessingSummary>
                <MessagesProcessed>2</MessagesProcessed>
                <MessagesSuccessful>2</MessagesSuccessful>
                <MessagesWithError>0</MessagesWithError>
                <MessagesWithWarning>0</MessagesWithWarning>
            </ProcessingSummary>
        </ProcessingReport>
    </Message>
</AmazonEnvelope>

1.02
M_firmahand_1586538
处理报告
1.
420618017358
完成
2.
2.
0
0
但在我的卖家中央库存没有出现。。。 我读了很多话题,但运气不好

我甚至试着做下一件事——发送英国MarketplaceIdleistChangePriceFeed(发布产品定价数据):


1.01
XXXXXXXXXX
价格
1.
0000036869
27.73
答复:

    <?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.02</DocumentVersion>
        <MerchantIdentifier>M_FIRMAHANDL_1586538</MerchantIdentifier>
    </Header>
    <MessageType>ProcessingReport</MessageType>
    <Message>
        <MessageID>1</MessageID>
        <ProcessingReport>
            <DocumentTransactionID>420724017358</DocumentTransactionID>
            <StatusCode>Complete</StatusCode>
            <ProcessingSummary>
                <MessagesProcessed>1</MessagesProcessed>
                <MessagesSuccessful>1</MessagesSuccessful>
                <MessagesWithError>0</MessagesWithError>
                <MessagesWithWarning>0</MessagesWithWarning>
            </ProcessingSummary>
        </ProcessingReport>
    </Message>
</AmazonEnvelope>
    <?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.02</DocumentVersion>
        <MerchantIdentifier>M_FIRMAHANDL_1586538</MerchantIdentifier>
    </Header>
    <MessageType>ProcessingReport</MessageType>
    <Message>
        <MessageID>1</MessageID>
        <ProcessingReport>
            <DocumentTransactionID>420709017358</DocumentTransactionID>
            <StatusCode>Complete</StatusCode>
            <ProcessingSummary>
                <MessagesProcessed>1</MessagesProcessed>
                <MessagesSuccessful>1</MessagesSuccessful>
                <MessagesWithError>0</MessagesWithError>
                <MessagesWithWarning>0</MessagesWithWarning>
            </ProcessingSummary>
        </ProcessingReport>
    </Message>
</AmazonEnvelope>

1.02
M_firmahand_1586538
处理报告
1.
420724017358
完成
1.
1.
0
0
最后一个,库存可用性数据源:

    <?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>AJICEPNWN291Z</MerchantIdentifier>
    </Header>
    <MessageType>Inventory</MessageType>
    <Message>
        <MessageID>1</MessageID>
        <OperationType>Update</OperationType>
        <Inventory>
            <SKU>0000036869</SKU>
            <Quantity>92</Quantity>
        </Inventory>
    </Message>
</AmazonEnvelope>

1.01
AJICEPNWN291Z
库存
1.
更新
0000036869
92
答复:

    <?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.02</DocumentVersion>
        <MerchantIdentifier>M_FIRMAHANDL_1586538</MerchantIdentifier>
    </Header>
    <MessageType>ProcessingReport</MessageType>
    <Message>
        <MessageID>1</MessageID>
        <ProcessingReport>
            <DocumentTransactionID>420709017358</DocumentTransactionID>
            <StatusCode>Complete</StatusCode>
            <ProcessingSummary>
                <MessagesProcessed>1</MessagesProcessed>
                <MessagesSuccessful>1</MessagesSuccessful>
                <MessagesWithError>0</MessagesWithError>
                <MessagesWithWarning>0</MessagesWithWarning>
            </ProcessingSummary>
        </ProcessingReport>
    </Message>
</AmazonEnvelope>

1.02
M_firmahand_1586538
处理报告
1.
420709017358
完成
1.
1.
0
0
经过这些步骤后,英国库存中仍然没有产品。。。 所有提要都指向英国市场(我认为-MarketplaceIdList有[“Id”=>“UK\u marketplace\u Id”])
我不知道我做错了什么。

问题解决了。我们还有一个产品仍然存在于英国市场,因为并非所有产品详细信息字段都填写正确(首先填写所有字段,然后您可以删除产品)