walmart-partner-api-sdk-php icon indicating copy to clipboard operation
walmart-partner-api-sdk-php copied to clipboard

Is it possible to upload an Item with V3 of the Item API?

Open Vamsig858 opened this issue 7 years ago • 0 comments

This SDK is not working for upload an Item with V3 formats.

500 Internal Server Error is coming when I'm trying upload below Item format to V3 API.

Is this SDK is work for V3 Item formats? Any thoughts?

====================================== [ 'MPItemFeed' => [ 'MPItemFeedHeader' => [ 'version' => '3.1' ], 'MPItem' => [ 'processMode' => 'REPLACE_ALL', 'sku' => 'RQBTEST123-B', 'productIdentifiers' => [ 'productIdentifier' => [ 'productIdType' => 'UPC', 'productId' => '###############' ] ], 'MPProduct' => [

            'productName' => 'Test1',
            'category' => [
                'MusicalInstrument' => [
                    'MusicalInstruments' => [
                        'shortDescription' => 'Test2',
                        'brand' => 'Snark',
                        'mainImageUrl' => 'https://walmart.####.com/testmart/images/tes2.png',
                        'productSecondaryImageURL' => [
                            'productSecondaryImageURLValue' => 'https://walmart.####.com/testmart/images/tese3.jpg',
                        ],
                    ],
                ],
            ],
        ],
    ],
],

];

Vamsig858 avatar Nov 24 '17 22:11 Vamsig858