Customer list
POST https://{handle}.myshopline.com/admin/openapi/v20250601/query/customer/list.json
Request Headers
- Authorization string requiredToken in standard bearer formatExample:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Request Body
- level_codes arrayGrade codesExample: ``
- member_flag booleanFor members , false or not : non-members , true : members
- page integer requiredPages
- query_param stringSearch range includes mobile , mailbox , customer name
- since_id stringThe starting position of the data to query (customer ID value)
- size integer requiredPage size
sort_listobject[]
Sorting parameterssort_by stringAvailableScore : number of points ( member insert list ) inviteMemberNumber : number of invites ( list of member inserts )sort_type integerSort by : 0 : desc , 1 : asc- store_id string requiredstore ID
Response
- 200
Response Headers
traceId
traceId
Response Body
dataobject
Response parameterscustomer_listobject[]
Customer listavailable_score longPointsbuyer_id stringUser IDcreate_at longCreation timeemail stringMailboxgift_card_listobject[]
List of gift cardsgift_card_account stringGift card numbergift_card_expired_time longExpiration dategift_card_rest_amount longBalancegold_account stringShopping gold card numbergold_available_amount longShopping gold balanceinvite_member_number integerNumber of inviteslevel_code stringGrade codinglevel_effective_time longClass effective timelevel_expired_time longLevel expiration timelevel_name stringClass nameuser_name stringUser nameweight integerGrade weightspage integerPagessize integerPage sizetotal integerTotal number
API Explorer
Debugger
Examples
Was this article helpful to you?