- Inbound order API
- API service controller
- Outbound order API
- Sku API
- Return order API
inboundSubmit
POST
/inbound/submit
Request
Body Params application/json
appKey
string
required
accessToken
string
required
timestamp
integer
required
Request timestamp:The timestamp is in UNIX time format (seconds) and must be a 10-digit integer.
The valid range for the input timestamp is:
current_time - 300 seconds <= input_time <= current_time + 300 seconds.
sign
string
required
Sort Parameters:
Sort all request parameters (including both public and business parameters) in ascending ASCII order by their first letter.
If two parameters share the same first letter, use the second letter for secondary sorting, and so on, proceeding left to right.
Concatenate Key-Value Pairs:
After sorting, concatenate the parameters into a single string in the order of key1value1key2value2...keyNvalueN.
No separators are included between key-value pairs.
Add app_secret:
Append the app_secret at both the beginning and end of the concatenated string to form the final signature string.
Generate MD5 Hash:
Encrypt the final signature string using the MD5 algorithm. Convert the resulting MD5 hash to uppercase to obtain the sign value.
This method ensures a consistent and secure signature generation process.
applyAsnNo
string
optional
Example
{
"appKey": "string",
"accessToken": "string",
"timestamp": 0,
"sign": "string",
"applyAsnNo": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/inbound/submit' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "string",
"accessToken": "string",
"timestamp": 0,
"sign": "string",
"applyAsnNo": "string"
}'
Responses
🟢200Success
application/json
Body
操作消息提醒
key
object
optional
Example
{
"": {}
}