# 2 Settings
# 1 Settings
# 1.1 Get Settings(GET)
Account settings include profile, API quota limits, general API QPS limits, sandbox account, etc.
# URL
https://developers.cjdropshipping.com/api2.0/v1/setting/get
# CURL
curl --location --request GET 'https://developers.cjdropshipping.com/api2.0/v1/setting/get' \
--header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
# Return
success
{
"code": 200,
"result": true,
"message": "Success",
"data": {
"openId": 1,
"openName": "121 2322",
"openEmail": "v0pjsw5t@linshiyouxiang.net",
"setting": {
"quotaLimits": [
{
"quotaUrl": "/api2.0/v1/setting/account/get",
"quotaLimit": 74,
"quotaType": 0
}
],
"qpsLimit": 100
},
"callback": {
"product": {
"type": "ENABLE",
"urls": ["https://your-domain.com/api2.0/"]
},"order": {
"type": "CANCEL",
"urls": []
}
},
"root": "GENERAL",
"isSandbox": false
},
"requestId": "ea5896b0-273d-4b49-8c54-ad8f025a49b8"
}
| Field | Definition | Type | Length | Note |
|---|---|---|---|---|
| openId | Account ID | string | 200 | |
| openName | Account name | string | 200 | |
| openEmail | Account Email | string | 200 | |
| setting | Settings | list | 200 | |
| quotaLimits | Quota limits | list | Applicable on specific URLs | |
| quotaUrl | Quota URL | string | 200 | |
| quotaLimit | Quota limit | int | 20 | |
| quotaType | Quota Type | byte | 4 | 0-total,1-per year,2-per quarter,3-per month,4-per day,5-per hour |
| qpsLimit | QPS limit | int | 20 | account Queries per second |
| root | Root access | string | 200 | root:NO_PERMISSION - not authorized |
| GENERAL - general account | ||||
| VIP - VIP account | ||||
| ADMIN - administrator | ||||
| isSandbox | (Whether) Sandbox account | byte | 4 |
error
{
"code": 1601000,
"result": false,
"message": "User not find",
"data": null,
"requestId": "a18c9793-7c99-42f9-970b-790eecdceba2"
}
| Field | Definition | Type | Length | Note |
|---|---|---|---|---|
| code | error code | int | 20 | Reference error code |
| result | Whether or not the return is normal | boolean | 1 | |
| message | return message | string | 200 | |
| data | return data | object | interface data return | |
| requestId | requestId | string | 48 | Flag request for logging errors |
# 2 API Call Logs
# 2.1 Query API Call Logs (POST)
Returns the calls your account made to this open platform, newest first: which endpoint, when, the HTTP status, how long it took and, for failed calls, the error code and message. Use it to investigate failures by requestId or to find out why you were throttled (1600200). 20 points per call. Rate limit: the per-user QPS of your account level applies (1–6 requests/second, see Access Frequency Restrictions); exceeding it returns HTTP 429 with code 1600200.
Calls rejected before reaching the endpoint — rate limited, insufficient points, account frozen — are recorded too. Calls with an invalid or expired access token cannot be attributed to an account and do not appear. Logs are written asynchronously, so a call may take a short while to show up.
For security, request parameters, request headers, response bodies and client IPs are never returned.
# URL
https://developers.cjdropshipping.com/api2.0/v1/apiCallLog/queryPage
# CURL
curl --location --request POST 'https://developers.cjdropshipping.com/api2.0/v1/apiCallLog/queryPage' \
--header 'Content-Type: application/json' \
--header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--data-raw '{
"startTime": 1790812800000,
"endTime": 1790899199999,
"apiName": "/shopping/order/list",
"pageNum": 1,
"pageSize": 20
}'
| Parameter | Definition | Type | Required | Length | Note |
|---|---|---|---|---|---|
| startTime | From (inclusive) | long | Y | Epoch milliseconds | |
| endTime | To (inclusive) | long | Y | Epoch milliseconds; not earlier than startTime, at most 7 days after it | |
| apiName | Endpoint path | string | N | 100 | e.g. /shopping/order/list or /api2.0/v1/shopping/order/list (the prefix is optional). Matched as a path phrase, so a shorter fragment such as /order/list also matches other paths that contain it |
| pageNum | Page number | int | N | Default 1 | |
| pageSize | Records per page | int | N | Default 10, max 50. pageNum × pageSize must not exceed 10000; narrow the time range instead of paging deeper |
# Return
success
{
"code": 200,
"result": true,
"message": "Success",
"data": {
"pageNum": 1,
"pageSize": 20,
"total": 2,
"list": [
{
"requestId": "3f2a1b0c-9d8e-4f7a-b6c5-d4e3f2a1b0c9",
"logTime": 1790860000000,
"apiName": "/api2.0/v1/shopping/order/list",
"httpStatus": 429,
"success": false,
"costTime": 12,
"errorCode": 1600200,
"errorMessage": "Too Many Requests"
},
{
"requestId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"logTime": 1790859990000,
"apiName": "/api2.0/v1/shopping/order/list",
"httpStatus": 200,
"success": true,
"costTime": 356,
"errorCode": null,
"errorMessage": null
}
]
},
"requestId": "6b5a4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d"
}
| Field | Definition | Type | Note |
|---|---|---|---|
| requestId | requestId of that call | string | The value returned in that call's response; quote it to your agent |
| logTime | Time of the call | long | Epoch milliseconds |
| apiName | Endpoint path | string | Full path including /api2.0/v1 |
| httpStatus | HTTP status | int | 429 for throttled calls, 401 / 403 for authorization failures; most business errors still have HTTP 200, so check success / errorCode |
| success | Whether the call succeeded | boolean | true when the response code was 200; null when the stored response could not be read |
| costTime | Duration | long | Milliseconds |
| errorCode | Response code of a failed call | int | null for successful calls. See error codes |
| errorMessage | Response message of a failed call | string | null for successful calls, or when the stored response was too long to read the message |
error
{
"code": 1600300,
"result": false,
"message": "The time range between startTime and endTime cannot exceed 7 days",
"data": null,
"requestId": "6b5a4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d"
}
| Code | Meaning | What to do |
|---|---|---|
| 1600300 | startTime / endTime missing, reversed or more than 7 days apart; pageSize over 50; pageNum × pageSize over 10000 | Fix the request |
| 1600000 | The log service failed. The result is never silently returned as an empty page in this case | Retry later |
| Field | Definition | Type | Length | Note |
|---|---|---|---|---|
| code | error code | int | 20 | Reference error code |
| result | Whether or not the return is normal | boolean | 1 | |
| message | return message | string | 200 | |
| data | return data | object | interface data return | |
| requestId | requestId | string | 48 | Flag request for logging errors |