daxter
daxter

Reputation: 141

How to post feed on Walmart using api?

I am integrating walmart api with my website. Is anyone know how to submit feed on walmart using api? Is there any example available?

Upvotes: 2

Views: 1274

Answers (1)

CedCommerce
CedCommerce

Reputation: 1

You can refer to

developer.walmart.com

to get all the insights of API call and SDK for the signature part. The feed submit calls involves the following aspects First you need to generate signature by URL(complete) , timestamp , consumerId , requestMethod .

Then a curl request need to be sent upon the v3/feeds endpoint with the following headers

 WM_SVC.NAME: Walmart Marketplace
 WM_QOS.CORRELATION_ID: 2lmnWiWak7IUcBcnEczyTw==
 WM_SEC.TIMESTAMP: 1485896379543
 WM_SEC.AUTH_SIGNATURE: jKQlCI4JovTR1ReIVRtOchc3OE9tKbcm9LpCPdq7sekCDOGzhbQFlop/XFX5hZGHWWmaj/mngmr8wNiIiYh1hPS9eQYyi78bOBo3nC49aE2gwSup1fBqZ2M9xQIp+0iGu5J/cNHtX76d+wmOKynsp/W9OBwHcNtgFy3m10Q39DM=
 WM_CONSUMER.ID: yourValue
 Content-Type: multipart/form-data;
 Accept: application/xml
 WM_CONSUMER.CHANNEL.TYPE:  your consumer channel type id

You also would need to include the XML file containing the product create xml . This can be done via a CurlFile class if you are in a php environment. The curl request will be a post request which will output you a feedId. Record it for response and you can see an item feed submitted on Walmart.

Apart from these there are many 3rd party plugins which can be used for your integration with Walmart.

Upvotes: 1

Related Questions