API Endpoints #
Account #
GET v1/user #
https://tw.supplier.yahoo.com/api/spa/v1/user
取得供應商使用者資訊。僅會回傳目前登入使用者之資訊。
Parameters
Parameter Name | Type | Required | Note |
---|---|---|---|
fields | String | N | Options:
|
Output
- HTTP Status Code: 200 (OK)
- Object: User
Error
HTTP Status Code | Error Code | Description |
---|---|---|
400 | Invalid input | |
400 | 40000005 | Contains illegal character(s) |
401 | 40100001 | Missing or bad authentication |
401 | 40100002 | Invalid cookie |
401 | 40100003 | Missing or bad authentication |
401 | 40100004 | Check wssid failed |
401 | 40100006 | Cookie has expired |
404 | 40404000 | User not found |
500 | 50000006 | Internal server error |
500 | 50000020 | Internal server error |