FROM CACHE - en_header

GET Requests to External Endpoints

Triston
New Member
4 0 0

Hi All,

 

Seeking a bit of assistance.

 

I use manychat for my chatbot platform

 

What I am trying to accomplish:

 

1 - A customer asks from within manychat for the status of their order

2 - Manychat sends a request to shopify for the information

3 - Shopify returns the request information to Manychat

 

I've gotten as far as:

 

1 - I already have the shopify api api key and password

2 - This is what I have as my endpoint URL - this is where I am having the issue I believe. I am gettin a "Request Failed, Invalid URL":

https://myapikey:myapipassword@mystoreusername.myshopify.com/admin/api/2019-04/orders.json

3 - I have tried with headers and without headers

 

Unable to figure out how to retrieve this information

Reply 1 (1)
Alex
Shopify Staff
Shopify Staff
1561 81 324

Is this replicable in an HTTP client like Postman or curl?

 

As an alternative, you could try setting a basic auth header:

 

Authorization: Basic YXBpX2tleTphcGlfc2VjcmV0

 

Where the credentials are provided as a base64 encoded version of api_key:api_password. Then you can remove that basic auth from your URL.

Alex | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog