Using the API outside of integrated apps?

Shopify Partner
3 0 0

Hey all,

 

I have built a custom program for use at work, but I would like have it use Shopify's API through something like libcurl to download and edit orders(capture payments, mark as fulfilled, and add tracking numbers). Does anyone have any idea what the full GET or POST requests would look like? I could probably experiment and scour the docs for this information, but I figure someone might know already and I didn't find it right away.

 

Thanks in advance!

     Jeremy

0 Likes
Shopify Partner
3 0 0

Actually, I think I might have found it.

 

If I go to the Apps section of my store, go into the private apps portion, and click "create a private app" it appears to generate an API key and a password.

 

It also lists this as the format:

https://apikey:password@hostname/admin/resource.json

 

Can I just enter this in (with the key, password, and hostname) and just make requests from my program?

 

 

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
591 0 44

Yes.

1 Like
Shopify Partner
3 0 0

Awesome. Thanks!

0 Likes