Find Jobs
Hire Freelancers

Fix VBA Shopify API Update Function

$10-30 USD

Completed
Posted over 7 years ago

$10-30 USD

Paid on delivery
Looking for a VBA / HTTPS guru who can troubleshoot our simple function which aims to update a product on Shopify using JSON. We already have this feature working in PHP so we know we have correct credential, url values. This is what we have so far, the open method triggers an error "Invalid procedure call or argument". Public Function sfyExec() Dim sAPI_KEY As String Dim sPASSWORD As String Dim sSTORE_URL As String Dim sTargetURL As String Dim sTESTPRODUCTNUMBER As String Dim sData As String Dim HTTPReq As Object sAPI_KEY = "xxxxxxxx" sPASSWORD = "xxxxxxx" sSTORE_URL = "xxxxxxx" sTESTPRODUCTNUMBER = "xxxxxxxx" sTargetURL = "https://" & sAPI_KEY & ":" & sPASSWORD & "@" & sSTORE_URL & "/admin/products/" & sTESTPRODUCTNUMBER & ".json" sData = "{product: {""id"": 5961033925, ""body_html"": ""<h1>...penguin...</h1>""}}" Set HTTPReq = CreateObject("WinHttp.WinHttpRequest.5.1") [login to view URL](4) = 13056 ' The actual value for [login to view URL](WinHttpRequestOption_SslErrorIgnoreFlags) that I have set to 13056 (hexadecimal 0x3300) is an addition of all switches found at the WinHttpRequestOption documentation at WinHttpRequestOption_SslErrorIgnoreFlags. [login to view URL] "PUT", TargetURL, False [login to view URL] sAPI_KEY, sPASSWORD, 0 [login to view URL] "Content-Type", "application/json" [login to view URL] "Accept", "application/json" [login to view URL] (sData) MsgBox ([login to view URL]) End Function
Project ID: 12525678

About the project

3 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, I have a lot of experience with VBA and Excel and I believe I could help you with this one. Please contact me for more information.
$35 USD in 1 day
5.0 (21 reviews)
4.1
4.1
3 freelancers are bidding on average $32 USD for this job
User Avatar
I'm PHP and VBA expert with many completed projects that's why I'm sure you'll be impressed with my work. I can help you if you show me working PHP script and let me run it couple of times (may be I'll not need to run it). Thanks. Roman
$35 USD in 0 day
5.0 (270 reviews)
7.0
7.0
User Avatar
I have a large experience in vba and knowledges about json. You can try with me and i think i can do it
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Solihull, United Kingdom
4.9
31
Payment method verified
Member since Sep 26, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.