Hi Shopify Experts,
Can someone help me with the installation of the API?
I am looking to integrate a third party REST API that handles the printing and shipping of my customers items.
I am trying to understand how to set up the connection between Print API and my Shopify Store.
This is what I have figured out so far:
1) I need to connect the Shopify API with the Print API
2) I can create a custom app in Shopify via Partners or private App
3) Something with webhooks?
I don't understand how and where I need to actually put my code. Is it only webhooks, do I need to put the API .php code somewhere in my Shopify Code? How does this work?
Also I don't even know how to authenticate a custom app even when I have read the turtorials.
My main language is Dutch so it is difficult for me to understand some parts.
Hope someone can give me some more detailed information, I am eager to learn/implement this.
Since it is just for you or a single client, I suggest to use a private app instead of custom app so you don't need to deal with OAuth in terms of authentication.
Please describe the flow you are hoping to accomplish (what happens in Shopify => print API)?
Thanks for replying!
I want to intergrate an API that sends orders to the company I am working with so they can immediately start the printing production.
I got alot of code which I need to install but don't know how to install even when I red alot of turtorials on the shopify forms.
Also I got API keys from the documentaire itself.
An Private app is also good for me I just want the API to be working 😉
OK I gotcha. Yes, in that case the easiest is probably webhooks. This is the process I would do:
Because you are using webhooks, depending on what you are doing you may not necessarily even need to do any additional auth in terms of the Shopify API since all of the order details are included in the webhook's payload.
Thank you so much!
This is what they say:
Your website, plugin or app can communicate with our REST API by sending HTTP requests. This means you can use Print API from any programming language. In our documentation we provide working code samples in PHP, C# and plain HTTP.
So if I understand correctly I have to use the HTTP code?
This is an example for an order:
To create an order, you must POST the order details to the API. We recommend supplying JSON data, but XML is also supported. Make sure your Content-Type and Accept HTTP headers are set correctly.
Just to be sure, when I follow your steps it will work? 🙂
Thanks again for putting your time into helping me!
I have not that many knowledge about Api's. So maybe with these screenshots I can clear things up for you what I need to do.
Also I don't know if I need to have some kind of code program to edit the code or whatever.
Basically the only knowledge I have right now is the things that are in the screenshots.
The first thing I have to do is to authenticate the API or something:
Maybe this can help you understand more of what I need to do?
You are asking a lot, but I will try to help because I was also once a beginner learning about APIs and OAuth2. Here is what I would do:
Once you have that working, you will have figured out how to authenticate manually and send requests manually. Now, you will want to figure out how to do this programmatically with the Shopify order data after an order is created.
Essentially, you want the code in your script file to handle the request from Shopify each time and programmatically:
Hi I'm having a similar problem with integrating my ERP and Shopify. Is it possible for me to hire you in order to make this work?. Thanks!
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022