List Customers

GET {{baseUrl}}/customers?page=1&keyword=ad ipsum incididunt in

You can list all customers related to your store directly from this endpoint. Also, it allows you to filter them using a keyword, the endpoint would retrieve any customer matches this keyword in their data whether in their mobile number or email or name.

Request Params

KeyDatatypeRequiredDescription
pagenumberThe Pagination page number
keywordstring<br>- customer.mobile

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:200,&quot;success&quot;:true,&quot;data&quot;:[{&quot;id&quot;:2075683582,&quot;first_name&quot;:&quot;Ahmed&quot;,&quot;last_name&quot;:&quot;Ali&quot;,&quot;mobile&quot;:777777777,&quot;mobile_code&quot;:&quot;967&quot;,&quot;email&quot;:&quot;ahmedali@test.test&quot;,&quot;urls&quot;:{&quot;customer&quot;:&quot;https://shtara.com/profile&quot;,&quot;admin&quot;:&quot;https://shtara.com/profiley&quot;},&quot;avatar&quot;:&quot;https://i.ibb.co/jyqRQfQ/avatar-male.webp&quot;,&quot;gender&quot;:&quot;male&quot;,&quot;city&quot;:&quot;Riyadh&quot;,&quot;country&quot;:&quot;السعودية&quot;,&quot;location&quot;:&quot;null&quot;,&quot;updated_at&quot;:{&quot;date&quot;:&quot;2020-04-02 22:43:26.000000&quot;,&quot;timezone_type&quot;:3,&quot;timezone&quot;:&quot;Asia/Riyadh&quot;}},{&quot;id&quot;:2075683581,&quot;first_name&quot;:&quot;Ali&quot;,&quot;last_name&quot;:&quot;Ahmed&quot;,&quot;mobile&quot;:777777777,&quot;mobile_code&quot;:&quot;967&quot;,&quot;email&quot;:&quot;aliahmed@test.test&quot;,&quot;avatar&quot;:&quot;https://i.ibb.co/jyqRQfQ/avatar-male.webp&quot;,&quot;gender&quot;:&quot;male&quot;,&quot;city&quot;:&quot;Riyadh&quot;,&quot;country&quot;:&quot;السعودية&quot;,&quot;location&quot;:&quot;null&quot;,&quot;updated_at&quot;:{&quot;date&quot;:&quot;2020-04-02 22:43:26.000000&quot;,&quot;timezone_type&quot;:3,&quot;timezone&quot;:&quot;Asia/Riyadh&quot;}}],&quot;pagination&quot;:{&quot;count&quot;:2,&quot;total&quot;:2,&quot;perPage&quot;:15,&quot;currentPage&quot;:1,&quot;totalPages&quot;:1,&quot;links&quot;:[]}}