Anonymous
Anonymous

Reputation: 31

Get Data from Shopify using JQuery Ajax

I am building an application where I need to fetch data from my Shopify account using Jquery Ajax. I have gone through documents provided by Shopify, but I have not landed to any solution yet because the documentation provided by Shopify does not make any sense. Please provide solution if you guys have any.

Upvotes: 1

Views: 2519

Answers (1)

maliness
maliness

Reputation: 194

You have this help page : https://help.shopify.com/en/api/reference/customers/customer#

this url is available :

GET /admin/api/2019-04/customers.json

this retrieves a list of customers. The documentation show you how to :

  • Retrieve all customers for a shop GET /admin/api/2019-04/customers.json
  • Retrieve all customers after a specified ID GET /admin/api/2019-04/customers.json?since_id=207119551
  • Retrieve all customers changed after a certain date GET /admin/api/2019-04/customers.json?updated_at_min=2019-04-17 19:42:24
  • Retrieve a list of specific customers GET /admin/api/2019-04/customers.json?ids=207119551,1073339460

You just have to do a GET call.

This link show you how do you have to do : https://guide.freecodecamp.org/jquery/jquery-ajax-get-method/

Upvotes: 1

Related Questions