{"id":25,"date":"2017-01-16T12:30:41","date_gmt":"2017-01-16T12:30:41","guid":{"rendered":"http:\/\/www.ecomclips.com\/?p=1"},"modified":"2026-01-31T07:43:04","modified_gmt":"2026-01-31T07:43:04","slug":"integrate-walmart-linnworks-using-api","status":"publish","type":"post","link":"https:\/\/ecomclips.com\/blog\/integrate-walmart-linnworks-using-api\/","title":{"rendered":"Integrate Walmart with Linnworks using API | Linnworks Special"},"content":{"rendered":"<p>Ecomclips is an eCommerce solution and service provider company. We have lots of clients who are selling their products on eBay, Amazon, Walmart and more. Many of our clients are using Multichannel Software like Linnworks to automate their Inventory Stock. Centrally for eBay, Amazon, and Magento. eBay, Amazon &amp; Magento can be integrated with Linnworks and managed from Linnworks. But there is no way to integrate Walmart from&nbsp; Linnworks. So we will teach you to integrate Walmart with linnworks using API.<\/p>\n<p>We realized that we need to develop an application which integrates Walmart with Linnworks using API. Because lots of the eCommerce Business Holders manage Walmart Inventory Stock separately, for doing this they spent their valuable time. Some time they hire people to manage their Inventory Stock for Walmart.<\/p>\n<h3>Output \/ Solution:<\/h3>\n<p>Our Tech Team has developed a Middle-Ware application to manage Walmart Inventory Stock centrally from Linnworks. Generally, The Middle-Ware application deducts the ordered Item Stock quantity from Linnworks.<\/p>\n<h2>Integration between Linnworks and Walmart through API:<\/h2>\n<p>We developed a PHP based Middleware application to synchronize stock Quantity. It&#8217;s very essential to gather knowledge about Linnworks and Walmart API. Here is the link of Walmart and Linnworks API.<\/p>\n<p>Walmart: <a href=\"https:\/\/developer.walmart.com\/#\/home\">https:\/\/developer.walmart.com\/#\/home<\/a><br \/>\nLinnworks: <a href=\"http:\/\/apps.linnworks.net\/Api\">http:\/\/apps.linnworks.net\/Api<\/a><\/p>\n<h3>Walmart:<\/h3>\n<p>To access Walmart Store through API we need<\/p>\n<ul>\n<li>Customer Id<\/li>\n<li>Secret\/ Private Key and<\/li>\n<li>Channel Type value<\/li>\n<\/ul>\n<h3>How can we get them?<\/h3>\n<p>Please go to the following links &#8211;<br \/>\nhttps:\/\/marketplace.walmart.com\/knowledgebase\/articles\/Article\/API-Settings-in-the-Seller-Center<\/p>\n<p>To access Walmart through API we are using a third party PHP library which is really user-friendly.<br \/>\nHere is the link: https:\/\/github.com\/fillup\/walmart-partner-api-sdk-php<\/p>\n<h3>Linnworks:<\/h3>\n<p>To access Linnworks through API we need<\/p>\n<ul>\n<li>Application ID<\/li>\n<li>Application Secret and<\/li>\n<li>Token<\/li>\n<\/ul>\n<h3>How to get them?<\/h3>\n<p>Go to <a href=\"http:\/\/apps.linnworks.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/apps.linnworks.net\/<\/a> and click &#8216;Log in&#8217; button, login page shall appear.<br \/>\nAfter successful login, you will get more two menu Application and Account. Click the Application menu Application page shall appear like below.<\/p>\n<p>To get token you can add new or edit existing. Please see this <a href=\"https:\/\/youtu.be\/9IQCylCCfu8\" target=\"_blank\" rel=\"noopener noreferrer\">video<\/a> to generate token.<br \/>\nNow we have all credential and necessary info of Walmart and Linnwork. So we need to access test Linnworks and Walmart through API before development.<\/p>\n<p>Now we need to download Linnworks REST API PHP library Github and Walmart API SDK PHP third-party library from Github. Here is the link &#8211;<\/p>\n<p>Linnworks: <a href=\"https:\/\/github.com\/LinnSystems\/LinnworksNetSDK\" target=\"_blank\" rel=\"noopener noreferrer\"> https:\/\/github.com\/LinnSystems\/LinnworksNetSDK<\/a><br \/>\nWalmart: <a href=\"https:\/\/github.com\/fillup\/walmart-partner-api-sdk-php\" target=\"_blank\" rel=\"noopener noreferrer\"> https:\/\/github.com\/fillup\/walmart-partner-api-sdk-php<\/a><\/p>\n<p>After successfully download extract both zip file.<\/p>\n<p>For Linnworks &#8211; after extract the linnworks .zip file go to path:\/LinnworksNetSDK\/Linnworks\/src\/\u2019 and copy the \u2018php\u2018 folder and past into the project folder.<\/p>\n<p>For Walmart just copy the extracted folder and past it into the project folder. We need to create a project folder into our web server<\/p>\n<p>Test Linnworks:<\/p>\n<p>linnworks.php<\/p>\n<pre>  include 'php\/Factory.php';\n  include 'php\/Auth.php';\n  include 'php\/Inventory.php';\n\n  $mLWAuth = new AuthMethods();\n  $mLWInventory = new InventoryMethods();\n\n  $appID = 'ddsdss-bsds-1553-8852-669hgrtbd';\n  $appSecret = '45565664-95f6-599f-123df-121521dfd51';\n  $token = '456ret950000000000fg3sg43s5d34e1';\n\n  $authResults= $mLWAuth-&gt;AuthorizeByApplication($appID,$appSecret,$token);\n\n  echo \"\";\n  print_r($authResults);\n<\/pre>\n<p>Output:<\/p>\n<pre>stdClass Object\n(\n    [LastActivity] =&gt; 2017-04-03T11:09:59.456+00:00\n    [Device] =&gt; ByApplication\n    [DeviceType] =&gt; ByApplication\n    [Server] =&gt; https:\/\/us-ext.linnworks.net\n    [Status] =&gt; stdClass Object\n        (\n            [State] =&gt; AVAILABLE\n            [Reason] =&gt; \n            [Parameters] =&gt; stdClass Object\n                (\n                )\n\n        )\n\n    [BsonId] =&gt; 45454464654646464\n    [Id] =&gt; 46546545646546465464546\n    [Email] =&gt; test@test.com\n    [UserId] =&gt; 4546546-000000-5785-dsddd-491100000\n    [UserName] =&gt; Test \n    [UserType] =&gt; Application\n    [Token] =&gt; qqq454554-q4545-qq99-32qq-qqq656q6qqq\n    [EntityId] =&gt; qqq000000-q4545-qq99-00qq-qqq000000qq\n    [GroupName] =&gt; testgroupcom\n    [Locality] =&gt; US\n    [Properties] =&gt; stdClass Object\n        (\n            [UserName] =&gt; Test\n            [Device] =&gt; ByApplication\n            [UserType] =&gt; Application\n            [API] =&gt; LW.NET\n        )\n\n    [FullName] =&gt; \n    [Company] =&gt; \n    [Md5Hash] =&gt; \n    [DatabaseName] =&gt; \n    [DatabaseServer] =&gt; \n    [ConnectionString] =&gt; \n    [ProductName] =&gt; \n    [ExpirationDate] =&gt; 0001-01-01T00:00:00\n    [SupportLevels] =&gt; \n    [MaxImagesPerStockItem] =&gt; 0\n    [SuperAdmin] =&gt; \n    [SessionUserId] =&gt; -1\n    [PrintingServer] =&gt; \n    [IsAccountHolder] =&gt; 1\n)\n<\/pre>\n<p>Linnwork Authorization is done.<\/p>\n<p>Now, the integration of Walmart and Linnworks open door for Walmart to manage Inventory Stock centrally with Linnworks.<\/p>\n\n\n<div class=\"wp-block-group ecc-cta\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-text-align-center\">Ready to Start Growing Your Brand?<\/h2>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\">Ecomclips&#8217; Partners Achieve an Average 85% Profit Increase!<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/ecomclips.com\/contact-us\">Find out more<\/a><\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ecomclips is an eCommerce solution and service provider company. We have lots of clients who are selling their products on eBay, Amazon, Walmart and more. Many of our clients are using Multichannel Software like Linnworks to automate their Inventory Stock. Centrally for eBay, Amazon, and Magento. eBay, Amazon &amp; Magento can be integrated with Linnworks &#8230; <a title=\"Integrate Walmart with Linnworks using API | Linnworks Special\" class=\"read-more\" href=\"https:\/\/ecomclips.com\/blog\/integrate-walmart-linnworks-using-api\/\" aria-label=\"Read more about Integrate Walmart with Linnworks using API | Linnworks Special\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":13950,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,161],"tags":[4,5,7,8,10],"class_list":["post-25","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linnworks","category-walmart-market-place-store","tag-api","tag-integration","tag-linnworks","tag-multichannel","tag-walmart"],"_links":{"self":[{"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":2,"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/posts\/25\/revisions"}],"predecessor-version":[{"id":22605,"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/posts\/25\/revisions\/22605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/media\/13950"}],"wp:attachment":[{"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/media?parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/categories?post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ecomclips.com\/blog\/wp-json\/wp\/v2\/tags?post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}