Create express
gecko [master]
https://shopapi.geckodistribution.com
gecko [master]
https://shopapi.geckodistribution.com
POST
/api/open/express/create
Request
Header Params
version
string
required
Default:
{{shop_openapi_version}}
token
string
required
Default:
{{shop_openapi_token}}
Body Params application/json
cleartype
enum<integer>
required
Allowed values:
12
Example:
2
receiverid
integer <long>
required
Example:
2586869657122645
shipList
array[object (OpenExpressShipAo) {4}]
required
orderno
string
required
Example:
170831460624854
shipid
enum<integer> <int32>
required
Allowed values:
131015
Example:
3
categoryen
string
required
Example:
My Shoes
declareList
array[object (OpenDeclareAo) {2}]
required
Example
{
"cleartype": 1,
"receiverid": 2586869657122645,
"shipList": [
{
"orderno": "170831460624854",
"shipid": 1,
"categoryen": "My Shoes",
"declareList": [
{
"skuid": "string",
"declareprice": 0
}
]
}
]
}
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 'https://shopapi.geckodistribution.com/api/open/express/create' \
--header 'version;' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"cleartype": 1,
"receiverid": 2586869657122645,
"shipList": [
{
"orderno": "170831460624854",
"shipid": 1,
"categoryen": "My Shoes",
"declareList": [
{
"skuid": "string",
"declareprice": 0
}
]
}
]
}'
Responses
🟢200Success
application/json
Body
status
enum<string>
required
Allowed values:
0500
Example:
0
message
string
required
Example:
Operation successful.
data
object | null
optional
resultList
array[object (OpenExpressCreateResultVo) {5}]
optional
Example
{
"status": "0",
"message": "Operation successful.",
"data": {
"resultList": [
{
"success": 1,
"error": "Express creation failed!",
"shipid": 1,
"orders": [
"170831460624854"
],
"expressList": {
"expressnumber": "BUFZA1040030101YQ",
"ordernoList": [
"155350094536371"
]
}
}
]
}
}
🟢200Failure