Access Restful api's

Access Restful api's

Paul_Davis
Shopify Partner
46 1 33

Hi all.  So I have a little task I want to achieve and looking for input before I start.

 

Objective :

 

I want to be able to run a command line bash script to make a curl request to get all my unfulfilled orders.

 

From the response json data I want to be able to grab the data for each order.

 

In my script I then use this data in producing the product.

Question :

 

How do I access the restful api's for account information without creating an app.  Now when calling 

xxx.myshopify.com/admin/api/2021-10/orders/count.json?fulfillment_status=unfulfilled

In the browser where I am logged into shopify I get the response.  However when running in another browser I am not logged into shoplift I get user login prompt to access api.  This would suggest I should be able to make the call with just username and password rather than auth token.

I need this to be as simple as possible and like I said if I can access these endpoints with 

Replies 0 (0)