Add items to shopping cart using API

Get help with using AutoHotkey and its commands and hotkeys
grimboto
Posts: 48
Joined: 09 Jul 2014, 19:20

Add items to shopping cart using API

25 Nov 2020, 16:33

Hey I stock the bar at my local cricket club and order a lot of alcohol from an online store and looking to fast track the ordering process.

I'm trying to add items into the cart directly using the api from the website. I'm not sure how to go about logging in and then adding the item to my specific cart.

The website I am using is -- https://www.danmurphys.com.au/

If anyone could demonstrate how to add the following Item to my cart -- https://www.danmurphys.com.au/product/DM_13470/carlton-draught-cans-375ml

It would be greatly apricated and I should be able to work out everything else from there.

Thanks Grimboto
BoBo
Posts: 4147
Joined: 13 May 2014, 17:15

Re: Add items to shopping cart using API

25 Nov 2020, 17:47

Do your cashier system provide an inventory function? That way you could do some math (bootle content vs number of orders) to order new stuff in advance.
You could create your very own special keyboard (deck) with buttons for every item you have in stock (using an Android smartphone/tablet). Once you press one of its buttons it’ll trigger a script that will make the order :arrow: Matric
What browser are you using? Please provide a link to that shops API-reference. Good luck :)

BTW, what about to use its iOS/Android app for ordering?? :think:
User avatar
Chunjee
Posts: 754
Joined: 18 Apr 2014, 19:05
GitHub: Chunjee

Re: Add items to shopping cart using API

26 Nov 2020, 02:31

I don't have permission to access https://api.danmurphys.com.au/swagger-ui/index.html

AHK can usually interface with http APIs so it's likely possible.


Maybe a good starting spot: https://www.autohotkey.com/boards/viewtopic.php?t=40151

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, brunohimalaya, Google [Bot], JackbobEvolved, malcev, martin536, proactivematter, TAC109 and 51 guests