Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

What am I missing? Regarding third party API integration to warehouse system

What am I missing? Regarding third party API integration to warehouse system

edvinuddfalk
Visitor
2 0 0

Hello,

I've been trying to figure this one out for at least a week now and can't seem to get forward on my problem. If I could get any kind of assistance or guidance I'd be very grateful.

 

I'm working with implementing stores into warehouse systems. This means I'm implementing Shopify stores among other e-commerce systems and have been doing this for a while. We integrate the stores in order to get data from the stores into the warehouse where the products are situated which allows us to get order data and customer data.

 

Now for the latest customer I'm trying to integrate into this system I've been having some troubles. It's been a while since I did this last time and the last time I integrated a customer was before the API pages in Shopify was changed.

 

So this is what I've done so far:

 

  1. I've created a Custom app
  2. I've assigned all necessary rights for Admin API
    Skärmavbild 2022-11-16 kl. 21.56.19.png
  3. I've installed the Custom app
  4. I've used the API key and the API secret key 
  5. I've added the API keys and the Shopify admin URL to the fields where this is usually done in the warehouse system
    Skärmavbild 2022-11-16 kl. 21.51.42.png

 

When I've added the keys and configured the integration in the warehouse system I click "Create connection" but every time I'm getting an error. Depending on what values I add I get different errors and I've tried things like using the Admin API key instead of the API key for the Key field, I've then tried using the Admin API key for the API secret key field instead. Same result, always errors.

 

I talked to a person working with the warehouse system integrations and he said when looking at other setups he could see that all of them had a API secret key that started with 'shppa_'. Hence I tried using the Admin API key instead of the API secret key for the Secret field but that's proven to be a buzz too.

 

So to my question - Am I missing something? Did I miss some kind of configuration in order for the warehouse system to properly make use of the API keys?

 

I've read about access tokens. Is that something I need to create here? It just seems way too technically advanced in order to make a simple API call using API keys.

 

Thanks for any guidance and will gladly answer any questions!

 

Desperate,

Edvin

Replies 3 (3)

ShopifyDevSup
Shopify Staff
1453 239 535

Hey @edvinuddfalk - customs apps should have an API access token (beginning with  the sh prefix) generated once they're installed on the store via the admin. The token is only shown once for security reasons, but once you click the install button in the custom app section of the admin it would show you the token immediately. 

I can't say for sure how this specific warehouse integration system is set up and what credentials it requires, but Shopify does require apps to make authorized requests using an authorization token. There's a bit more on this here. Hope this helps! 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

edvinuddfalk
Visitor
2 0 0

Thank lord for your reply!

 

Even if this isn't something I'm able to make myself it gives such guidance for me to take it further with a Shopify developer. Currently talking to a Shopify expert via your service. Will let him know this!

 

Thanks again!

SRosenthal1234
Visitor
1 0 0

Did you have any luck with this? I am currently trying to link a third party app we use that provides promotional products and integrate them into our Shopify website but cannot find a solution.