Search for member based on member no.

Created by Weebo Support, Modified on Thu, 16 Jun, 2022 at 11:46 PM by Weebo Support

Search for member based on member no.

Interface address

hostname/openapi/v1/customerOpenApi/queryByNumber

Request header

User-Agent: openApi

Content-Type: application/json; charset=utf-8

Accept-encoding: gzip,deflate

Time-stamp: 1437528688233

Data-signature: BF706E6AC693BA3B1BABD32E6713431D

Request method

POST

Request body

{

   "appId": "abcdefghijklmn",

   "customerNum": "8008010001"

}

parameter name

Is it necessary

Type

Instructions

appId

Yes

String

KYBIO configured access credentials

customerNum

Yes

String

Member No

Return result

{

   "status": "success",

   "messages": [],

   "errorCode":null

   "data": {

         "customerUid": 813951242628553689,

         "categoryName": "Gold Card,"

         "number": " Cashier",

         "name": "OpenApi creation",

         "point": 0,

         "discount": 60,

         "balance": 0,

         "phone": "17759205640",

         "birthday": "2015-09-15 00:00:00",

         "qq": "673874555",

         "email": "test@gmail.com",

         "address": "63 Ubi Road 1, Oxley Bizhub #02-45",

         "remarks": "Remarks",

         "createdDate": "2015-09-15 00:00:00",

         "onAccount": 0,

         "enable": 1,

         "password": "abcdefg",

         "expiryDate": "2015-09-15 00:00:00"

         "createStoreAppIdOrAccount": "mylin0"

   }

}

Field name

Types of

Instructions

Status

String

Whether the request is processed correctly, show success or error, case-insensitive

Messages

String[]

Processing result message

errorCode

Int

Business process error code, see error code table

customerUid

Long

The unique credentials of the member in the KYBIO system

categoryName

String

Member's category name

Number

String

Member No

Name

String

Member's name

Point

BigDecimal

Member's current points

Discount

BigDecimal

Discounts for members, 60 represents 60%

Balance

BigDecimal

Member's current balance

Phone

String

Member's contact number

Birthday

String

Member's birthday

Qq

String

QQ number

Email

String

Member's email

Address

String

Member's address

Remarks

String

Remarks

createdDate

String

Date the member account was created

onAccount

Int

Whether to allow credit, 1 means allow

Enable

Int

-1: Delete; 0: Disable; 1: Available;

Password

String

Choose encryptToMd5String(String content) to process

expiryDate

String

Expiry Date

createStoreAppIdOrAccount

String

Shop/Account that created member account

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article