1.1 Description
path | http://www.your_website_domain.com/FeiEditor/api_v1/shop/customers |
method | GET/POST |
illustrate | Obtain a product list based on query conditions. |
1.2 parameters
name | must | type | describe |
filter[] | no | array | filter. Click here for how to use . |
filter[limit] | no | int | The number of items returned by a query, the default is 10. The valid range is 1 to 1000. |
page | no | int | The 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": "" } } ] } |