Integrate Walmart with Linnworks using API | Linnworks Special

Last Updated on July 9, 2019 by

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 & Magento can be integrated with Linnworks and managed from Linnworks. But there is no way to integrate Walmart from  Linnworks. So we will teach you to integrate Walmart with linnworks using API.

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.

Output / Solution:

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.

Integration between Linnworks and Walmart through API:

We developed a PHP based Middleware application to synchronize stock Quantity. It’s very essential to gather knowledge about Linnworks and Walmart API. Here is the link of Walmart and Linnworks API.

Walmart: https://developer.walmart.com/#/home
Linnworks: http://apps.linnworks.net/Api

Walmart:

To access Walmart Store through API we need

  • Customer Id
  • Secret/ Private Key and
  • Channel Type value

How can we get them?

Please go to the following links –
https://marketplace.walmart.com/knowledgebase/articles/Article/API-Settings-in-the-Seller-Center

To access Walmart through API we are using a third party PHP library which is really user-friendly.
Here is the link: https://github.com/fillup/walmart-partner-api-sdk-php

Linnworks:

To access Linnworks through API we need

  • Application ID
  • Application Secret and
  • Token

How to get them?

Go to http://apps.linnworks.net/ and click ‘Log in’ button, login page shall appear.
After successful login, you will get more two menu Application and Account. Click the Application menu Application page shall appear like below.

To get token you can add new or edit existing. Please see this video to generate token.
Now we have all credential and necessary info of Walmart and Linnwork. So we need to access test Linnworks and Walmart through API before development.

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 –

Linnworks: https://github.com/LinnSystems/LinnworksNetSDK
Walmart: https://github.com/fillup/walmart-partner-api-sdk-php

After successfully download extract both zip file.

For Linnworks – after extract the linnworks .zip file go to path:/LinnworksNetSDK/Linnworks/src/’ and copy the ‘php‘ folder and past into the project folder.

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

Test Linnworks:

linnworks.php

  include 'php/Factory.php';
  include 'php/Auth.php';
  include 'php/Inventory.php';

  $mLWAuth = new AuthMethods();
  $mLWInventory = new InventoryMethods();

  $appID = 'ddsdss-bsds-1553-8852-669hgrtbd';
  $appSecret = '45565664-95f6-599f-123df-121521dfd51';
  $token = '456ret950000000000fg3sg43s5d34e1';

  $authResults= $mLWAuth->AuthorizeByApplication($appID,$appSecret,$token);

  echo "";
  print_r($authResults);

Output:

stdClass Object
(
    [LastActivity] => 2017-04-03T11:09:59.456+00:00
    [Device] => ByApplication
    [DeviceType] => ByApplication
    [Server] => https://us-ext.linnworks.net
    [Status] => stdClass Object
        (
            [State] => AVAILABLE
            [Reason] => 
            [Parameters] => stdClass Object
                (
                )

        )

    [BsonId] => 45454464654646464
    [Id] => 46546545646546465464546
    [Email] => test@test.com
    [UserId] => 4546546-000000-5785-dsddd-491100000
    [UserName] => Test 
    [UserType] => Application
    [Token] => qqq454554-q4545-qq99-32qq-qqq656q6qqq
    [EntityId] => qqq000000-q4545-qq99-00qq-qqq000000qq
    [GroupName] => testgroupcom
    [Locality] => US
    [Properties] => stdClass Object
        (
            [UserName] => Test
            [Device] => ByApplication
            [UserType] => Application
            [API] => LW.NET
        )

    [FullName] => 
    [Company] => 
    [Md5Hash] => 
    [DatabaseName] => 
    [DatabaseServer] => 
    [ConnectionString] => 
    [ProductName] => 
    [ExpirationDate] => 0001-01-01T00:00:00
    [SupportLevels] => 
    [MaxImagesPerStockItem] => 0
    [SuperAdmin] => 
    [SessionUserId] => -1
    [PrintingServer] => 
    [IsAccountHolder] => 1
)

Linnwork Authorization is done.

Now, the integration of Walmart and Linnworks open door for Walmart to manage Inventory Stock centrally with Linnworks.

Leave a Comment

BLOG CATEGORIES

BOOK FOR FREE CONSULTATION

Sign Up For Our Newsletter

Keep yourself updated with latest trends to maximize revenues across all of your sales channels.

POPULAR TAGS

What Clients Say About Us?

Wow, their team has been great! I have been working with freelancers and remote marketing agencies for about a decade and they are among the best.

Isaac Curtiss

Office Furniture Outlet INC.

Helped overcome difficult tasks that would have taken us a lot of time. We do recommend their services!

Blake Tanner

Tanner International INC.

I’ve been working with Fred and his team for the past few months and have been very happy with their work.

Dan Hawkins

Mixles Limited

Great help/addition to our business. All tasks are fully completed in a timely manner.

Maurice Embry

Sam Tucker LLC

Used for years now and wil continue to use for many more years. I also have no doubt recommending friends and colleagues to use too.

Nathan Reeves

Xenons Online Limited

Our company has worked with Ecomclips for over a year now. I’ve found the team to be very flexible, easy to coach, and adaptable. You won’t regret working with them.

Abraham Kwan

PG Incorporation

The team at Ecomclips has served all my needs with excellence. They are very attentive to my requirements. Communication is fast and crystal clear. I definitely recommend them.

PR

Right Parts Group INC.

So far I have hired Freddy and his team has been excellent, they are guiding me as grow my business. I will continue to work with them.

Bev Matushewski

FiTTeck INC.

Excellent friendly prompt service

Ahmedani

Ahmedani Canada INC.

We’ve been working with Ecomclips for a couple of years now and we are more than happy and appreciative of the their service. Definitely recommend.

Michael Burnley

Zooshoo INC.

A+++ Perfect!!

Imran Hassam

Amedeo Apparels Limited

RECENT BLOG POSTS

Get rid of eBay Seller Account Suspension

In this article, we will discuss the reasons for the eBay seller account suspension and th

Read More

eBay new eBay’s OAuth access token issue on Linnworks

In this documentation, we will discuss recent eBay token issues and solutions on Linnworks

Read More

The Complete Guide to Sell on Walmart – Get Started selling product ..

In this article, we will discuss the complete guide to get started on selling on Walmart a

Read More