Shopping Discussion

Using the Walmart Canada API to get inventory counts

  • Last Updated:
  • Aug 20th, 2017 11:04 am
Deal Addict
User avatar
Dec 25, 2012
4094 posts
2372 upvotes
Toronto
Maybe ghost stock? Stolen stock/missing stock, etc.

Their entire system is pretty bad but this at least gives us an idea if it's even worth going to a store for an item or not.
Newbie
May 15, 2017
92 posts
31 upvotes
vintazh wrote:
May 19th, 2017 12:07 am
I just tried this. It works! Just use blank values on everything except UPC and csrfToken.
On an unrelated note, do you guys have any idea why some stores have inventories of 1 and 2 but show "OutOfStock" as status? Others are out of stock as well but inventories of 0, which makes sense.
No clue now.

Some 2s are showing as available, while other 2s say OOS..
Deal Fanatic
Jan 15, 2006
7694 posts
1813 upvotes
Richmond Hill
Keep in mind that although some stores may show on-hands that it might be sitting in the back waiting for a RA. Walmart does not separate sellable items from non sellable.
Newbie
Jul 21, 2017
2 posts
I tried this and I just get 403 unauthorized. Did they already lock it down?
[OP]
Newbie
Apr 15, 2017
19 posts
22 upvotes
random11x wrote:
Jul 22nd, 2017 10:53 am
I tried this and I just get 403 unauthorized. Did they already lock it down?
Forgot to update. You now need to add &origin=pip to the URL.
Newbie
Aug 9, 2017
1 posts
vintazh wrote:
Jul 22nd, 2017 8:53 pm
Forgot to update. You now need to add &origin=pip to the URL.
Is there another update to the availability URL? And have you improved on the method to check in-store stock?
Newbie
Dec 10, 2013
24 posts
3 upvotes
Way too complicated for my brain. Thanks for offering the info
Newbie
Jan 30, 2016
51 posts
20 upvotes
I just gave this a try and I got - 403 Forbidden when I clicked the Send button.
Deal Addict
User avatar
Oct 5, 2007
3989 posts
749 upvotes
Toronto
i did everything perfectly

getting error

<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>

You don't have permission to access "http&#58;&#47;&#47;www&#46;walmart&#46;ca&#47;ws&#47;en&#47;products&#47;availability" on this server.<P>
Reference&#32;&#35;18&#46;f8d3e743&#46;1502800777&#46;1c19568
</BODY>
</HTML>

what gives?
Newbie
Jan 30, 2016
51 posts
20 upvotes
ez_86 wrote:
Aug 15th, 2017 8:40 am
i did everything perfectly

getting error

<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>

You don't have permission to access "http&#58;&#47;&#47;www&#46;walmart&#46;ca&#47;ws&#47;en&#47;products&#47;availability" on this server.<P>
Reference&#32;&#35;18&#46;f8d3e743&#46;1502800777&#46;1c19568
</BODY>
</HTML>

what gives?
+1
Member
Jul 15, 2003
307 posts
18 upvotes
Any update? I also got the 403 Forbidden when I clicked the Send button. :(

Top