Sort Orders Statuses
Develop Env
https://echo.apifox.com/anything
Develop Env
https://echo.apifox.com/anything
POST
https://echo.apifox.com/anything
Order Status
Last modified:2025-02-20 07:53:20
Maintainer:Not configured
Scopes
orders.read_write
- Orders Read & WriteRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Body Params application/json
array of:
status_id
integer
required
sort
integer
required
Example
[
{
"status_id": 12345,
"sort": 2
},
{
"status_id": 654321,
"sort": 1
},
{
"status_id": 98765,
"sort": 4
}
]
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://echo.apifox.com/anything/orders/statuses/sort' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"status_id": 12345,
"sort": 2
},
{
"status_id": 654321,
"sort": 1
},
{
"status_id": 98765,
"sort": 4
}
]'
Responses
🟢200Success
application/json
Body
status
number
optional
success
boolean
optional
data
object
optional
message
string
optional
code
number
optional
Example
{
"status": 200,
"success": true,
"data": {
"message": "The entities has been updated successfully",
"code": 200
}
}
🟠422Error Validation
🟠401Unauthorized

扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

