1.1 Description

 
pathhttp://www.your_website_domain.com/FeiEditor/api_v1/shop/customers
methodGET/POST
illustrateObtain a product list based on query conditions.
  

1.2 parameters

 
namemusttypedescribe
filter[]noarrayfilter. Click here for how to use .
filter[limit]nointThe number of items returned by a query, the default is 10. The valid range is 1 to 1000.
pagenointThe number of pages currently queried, used in conjunction with filter[limit]. Used to implement paging queries.
  

1.3 return result

 
correct result
Return format: JSON
{
  "customers": [
    {
      "id": 1,
      "created_at": "2017-10-10T18:00:00Z",
      "email": "demo@api.com",
      "first_name": "Demo",
      " last_name": "User",
      "username": "demouser01",
      "last_order_id": 123,
      "last_order_date": "2017-10-10T18:00:00Z",
      "orders_count": 10,
      "total_spent": "1034.58" ,
      "avatar_url": "",
      "billing_address": {
        "first_name": "",
        "last_name": "",
        "company": "",
        "address_1": "",
        "address_2": "",
        "city": "",
        "state": "",
        "postcode": "",
        "country": "",
        "email": "",
        "phone": ""
      },
      "shipping_address": {
        "first_name": "",
        "last_name": "",
        "company   " : "",
        "address_1": "",
        "address_2": "",
        "city": "",
        "state": "",
        "postcode": "",
        "country": ""
      } }
    ] }