POST https://{handle}.myshopline.com/admin/openapi/v20250601/query/customer/list.json
Request Headers
  • Authorization string required
    Token in standard bearer format
    Example:
    Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Request Body
  • level_codes array
    Grade codes
    Example: ``
  • member_flag boolean
    For members , false or not : non-members , true : members
  • page integer required
    Pages
  • query_param string
    Search range includes mobile , mailbox , customer name
  • since_id string
    The starting position of the data to query (customer ID value)
  • size integer required
    Page size
  • sort_listobject[]
    Sorting parameters
  • sort_by string
    AvailableScore : number of points ( member insert list ) inviteMemberNumber : number of invites ( list of member inserts )
  • sort_type integer
    Sort by : 0 : desc , 1 : asc
  • store_id string required
    store ID
Response

Response Headers
  • traceId
    traceId
Response Body
  • dataobject
    Response parameters
  • customer_listobject[]
    Customer list
  • available_score long
    Points
  • buyer_id string
    User ID
  • create_at long
    Creation time
  • email string
    Mailbox
  • gift_card_listobject[]
    List of gift cards
  • gift_card_account string
    Gift card number
  • gift_card_expired_time long
    Expiration date
  • gift_card_rest_amount long
    Balance
  • gold_account string
    Shopping gold card number
  • gold_available_amount long
    Shopping gold balance
  • invite_member_number integer
    Number of invites
  • level_code string
    Grade coding
  • level_effective_time long
    Class effective time
  • level_expired_time long
    Level expiration time
  • level_name string
    Class name
  • user_name string
    User name
  • weight integer
    Grade weights
  • page integer
    Pages
  • size integer
    Page size
  • total integer
    Total number
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601

ParamOptions

header required

Body

required
{
  "level_codes": [
    ""
  ],
  "member_flag": false,
  "page": 0,
  "query_param": "",
  "since_id": "",
  "size": 0,
  "sort_list": [
    {
      "sort_by": "",
      "sort_type": 0
    }
  ],
  "store_id": ""
}

Language

curl --request POST \
--url https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601/query/customer/list.json \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw' \
--header 'accept: application/json' \
--header 'content-type: application/json'
Examples
Member list-query success
Was this article helpful to you?