Connect OA
This API is used to connect OA
Note:
For APIs used for Partner, the API key is:
<shop_key>
. The base_url information of the Partner.
Request:
Response:
Request body structure
code
string
Code returned in redirect_url when performing OA authorization for the app
id
int64
OA ID
state
integer
State returned in redirect_url when performing OA authorization for the app
Return data attribute structure
app_id
int64
Application ID
avatar
string
Link to OA cover photo
connection_id
int64
Connection ID
connection_method
string
Connection method
direct
description
string
Describe
is_verified
boolean
True
: OA verified
False
: OA not verified
name
string
OA Name
id
int64
OA ID
owner_id
int64
Shop owner ID on eTelecom system
shop_id
int64
Shop ID on eTelecom system
status
string
Status
P
: Connected
N
: Disconnected
current_quality
string
OA's ZNS notification delivery quality in the last 48 hours.
HIGH - Good quality level
MEDIUM - Medium quality level
LOW - Low quality level
UNDEFINED - OA quality level not determined (in case OA did not send any ZNS notification within the evaluation timeframe)
last_week_quality
string
OA's ZNS notification sending quality in the last 7 days.
Return values:
HIGH - Good quality level
MEDIUM - Medium quality level
LOW - Low quality level
UNDEFINED - OA quality level not determined (in case OA did not send any ZNS notification within the evaluation timeframe)
daily_quota
int
Number of ZNS OA notifications sent in 1 day.
remaining_quota
int
Number of ZNS OA notifications sent in the remaining day.
expires_at
string<date-time>
Refresh token expiration time
updated_at
string<date-time>
Update date
created_at
string<date-time>
Date created
Last updated