Check all member categories (Membership level)

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

Check all member categories (Membership level)

interface address

hostname/openapi/v1/customerOpenApi/queryAllCustomerCategory

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",

}

parameter name

Is it necessary

Types of

Instructions

appId

Yes

String

KYBIO configured access credentials

Return result

{

"status": "success",

"messages": [],

"data": [

{

"name": "Gold card,"

"discount": 90,

"uid": 1393920057254848127,

"enable": 1,

"isPoint": 1

}

]

}

Field name

Types of

Instructions

Status

String

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

Messages

String[]

Processing result message

errorCode

Int

Business process error code, see error code table

Data

List

Member classification entity

Name

String

Member category name

Discount

BigDecimal

Member Category Discount, discount=90, which means 10% discount, member price = price before discount* discount / 100

Uid

Long

Classification entity unique identifier

Enable

Int

Is this category eligible

isPoint

Int

Is the member in the category eligible to collect points

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