FileMaker tips, techniques, and news.

By Brendan McBride  Posted on  October 17th, 2018  in  FileMaker, Free Downloads

FileMaker Walmart Integration

Walmart is the largest retailer in the world with $485.9 billion in total revenue in 2017, and reaches over 100 million users a month on Walmart.com. This makes Walmart a useful tool to expand your customer base. And with FileMaker, you can streamline the process of working with Walmart.com by integrating your FileMaker app with Walmart Marketplace.

Becoming a Partner with Walmart

Before you can connect your FileMaker app with Walmart, you must first have an account. The onboarding process for Walmart Marketplace is free; however it requires you to be approved based on a series of questions about your business. After you submit your application, Walmart will review it and will let you know if you qualify to be a partner and they will give you a sellers account. From there, you will be able to start integrating with the Marketplace API.

Getting your Keys to the API

Once you are a Walmart partner, the first step of the integration is to generate and obtain your API keys. Go to the Developer Center and select your account. From here you will be able to navigate to the API Keys page.

FileMaker Walmart Developer CenterFrom the API Keys page, you will see your Client ID and Client Secret (if either of these are empty, or you would like them changed, click the Reset Client Id and Client Secret button). You will then need to copy these to use later. Keep the secret in a safe place as this is essentially your password and should not be shared with anyone else. As of September 27th, 2018, Walmart has upgraded their authentication methods to use a token-based authentication vs the signature-based method. This greatly simplifies the authentication while still maintaining a high level of security, so you will want to make sure you grab the right information.

FileMaker Walmart API Keys

Authentication

Once you have your API information, you will need to authenticate your solution with Walmart Marketplace API. At a high level, in order to authenticate your solution, you will need to get the token by using an Insert from URL with token address and the correct cURL information.

Set Variable [ $url ; Value: "https://marketplace.walmartapis.com/v3/token" ]
Set Variable [ $data ; Value: "grant_type=client_credentials" ]
Set Variable [ $auth ; Value: Base64Encode ( $clientID & ":" & $clientSecret ) ]
Set Variable [ $cURL ; Value: "-X POST" & ¶ &
                "-H \"Accept: application/json\"" & ¶ &
                "-H \"Authorization: Basic " & $auth & "\"" & ¶ &
                "-H \"Content-Type: application/x-www-form-urlencoded\"" & ¶ &
                "-H \"WM_QOS.CORRELATION_ID: " & $randomString & "\"" & ¶ &
                "-H \"WM_SVC.NAME: Walmart Marketplace\"" & ¶ &
                "-H \"WM_SVC.VERSION: 1.0.0\"" & ¶ & 
                "--data @$data" ]
Insert from URL [ $result ; $url ; cURL options: $cURL ; Do not automatically encode URL ]

The result will be a JSON-formatted text containing an access token. You will need to use this token to make other calls. The token only lasts for 15 minutes, so you will need to repeat this process in your code to get a new token.

Making Requests and Parsing the Response

Before you make requests, it is important that you understand JSON and cURL. Once you are comfortable with those, look through the Walmart Marketplace Docs. There you will be able to see all of the functions that you can use, such as pulling, tracking, and acknowledging orders, pulling and updating inventory, and more. The Get Inventory request will pull a item by its SKU and return the inventory information.

Request:

Set Variable [ $url ; Value: "https://marketplace.walmartapis.com/v2/inventory?sku=1234" ]
Set Variable [ $cURL ; Value: "-X GET" & ¶ &
                "-H \"Accept: application/json\"" & ¶ &
                "-H \"Authorization: Basic " & $auth & "\"" & ¶ &
                "-H \"WM_QOS.CORRELATION_ID: " & $randomString & "\"" & ¶ &
                "-H \"WM_SVC.NAME: Walmart Marketplace\"" & ¶ & 
                "-H \"WM_SEC.ACCESS_TOKEN: " & $accessToken & "\"" & ¶ & 
                "-H \"Content-Type: application/x-www-form-urlencoded\"" ]
Insert from URL [ $result ; $url ; cURL options: $cURL ; Do not automatically encode URL ]

Response:

{
 "sku":"1234"
 "quantity":
  {
   "unit": "EACH",
   "amount": "0"
  },
 "fulfillmentLagTime":1
}

I strongly suggest taking a look at our accompanying example file as certain portions of the API can be a bit tricky. For instance, the API does not handle the standard carriage return FileMaker uses for new lines, so you must use char ( 10 ) to denote a new line in order for the Walmart API to handle the request correctly.

Conclusion

Integrating your FileMaker app with Walmart Marketplace will streamline your workflow allowing you to take on more orders with the confidence that you will still make your deadlines. Feel free to contact us if you need further assistance or to discuss getting your Walmart account integrated with FileMaker.

Did you know we are an authorized reseller for FileMaker Licensing?
Contact us to discuss upgrading your FileMaker software.

Download
Download the FileMaker Walmart Marketplace Integration File
Please complete the form below to download your FREE FileMaker file.
FileMaker Experience *
Terms of Use *
OPT-IN: I agree that I am downloading a completely free FileMaker application file with no strings attached. This file is unlocked, and I may use it for my business or organization as I see fit. Because I am downloading a free file, I agree that I should receive occasional marketing. I understand that I can OPT-OUT of these emails at anytime.
Brendan McBride thumbnail
Brendan McBride

Brendan is a certified FileMaker and web developer and is a very friendly, hard-working, and technically-astute engineer ready to solve any problem you throw at him. Brendan went to Purdue, receiving a Bachelors in Computer Science and minored in Economics.

FileMaker 18 Certified Developer
FileMaker 17 Certified Developer
FileMaker 16 Certified Developer
FileMaker 15 Certified Developer
FileMaker 14 Certified Developer
FileMaker 13 Certified Developer
FileMaker 12 Certified Developer
FileMaker 11 Certified Developer
"We were actually able to add more features than we thought would be possible within our budget. We always experienced a ‘can do’ attitude and DB Services was incredibly patient and easy to work with."
Courtney Hartman
Art Director
"The new FileMaker custom website interface is very user-friendly and easy to follow for our clients. In addition, it is much faster than the old Instant Web Publishing (IWP) interface. Thank you and all the others who have helped us out at DB Services. I am very grateful for the excellent service you provide us. Its nice to know we can call you for help if we have an issue."
Wayne Capek
President
"We needed a solution that would simplify the administration of our responsibilities under our contract with the State of Indiana. We have seen a dramatic increase across the state in the number of potential foster and adoptive parents that have begun the preparation and training process. This increase has resulted in a significant opportunity for children available for adoption. That’s a big win for everyone! And it’s all because we can refer potential parents to the proper state contacts efficiently and quickly."
Chris Morrison
Executive Director
"Thank you for all of your expertise and valuable help. I am so grateful to have found DB Services."
Linda Findlay
Owner
"Thank you for our new database system. We transitioned from a carbon copy paper based system to a digital database. The software has saved us time and money. We used to archive all our jobs in cabinets, now we can look up a job in seconds from anywhere. The software allows us to easily email estimates to our customers in pdf format. In a year there was a return on investment just from eliminating the purchasing of our carbon forms."
Todd Cartmel
Owner
"The new system allows us to create and track jobs for customers along with inventory, something we had been doing with separate word and spreadsheet files. Because it’s now so intuitive, new staff members are able to begin using the database immediately without our usual training session and ‘cheat sheets’ for getting around within the file."
Tom Andrews
President