Ever Connect
v1.4.0中文·EN·한국어Sign inRequest access
Auth

Exchange for an access token: client_credentials (client_id = channel code, client_secret = secret) or password (username = OMS login account, password = OMS password) → Bearer access_token

POST/api/v1/auth/tokenNo token

Request body (JSON)

FieldTypeDescription
grant_typestringOAuth2 grant type: client_credentials (channel code + secret) or password (OMS account + password). May be omitted: if username is given it is treated as password, otherwise client_credentials.
client_idstringChannel code (the OAuth2 client_id), issued by your account manager; for the client_credentials grant. Use sandbox to try things out.
max length 32 · format ^[A-Za-z0-9_-]+$
client_secretstringChannel secret (the OAuth2 client_secret); for the client_credentials grant. Use sandbox to try things out (the sandbox returns demo data and never touches real stock).
max length 256
usernamestringYour OMS website login account (password grant), e.g. 100470admin; we recommend a dedicated sub-account for system integration. Use sandbox to try things out.
max length 64
passwordstringYour OMS login password (password grant). Only handled at token exchange — the gateway never stores or logs it. Use sandbox to try things out.
max length 256

Response

The envelope is decided by the HTTP status alone: 2xx with { data: … } (lists also carry page / page_size / has_more or total_count); 4xx / 5xx with { error: { code, message, hint, request_id, doc_url } }.