青商城-APP
  1. 订单信息
青商城-APP
  • 用户登录
    • 微信APP授权登录
      POST
    • 验证码
      POST
    • 用户注册
      POST
    • 刷新token
      POST
    • 手机号登录
      POST
    • 密码登录
      POST
    • 图片验证码
      GET
  • 用户信息
    • 更新用户信息
      POST
    • 更新用户密码
      POST
    • 注销
      POST
    • 绑定手机号
      POST
    • 用户个人信息
      GET
  • 用户模块-收货地址
    • 修改
      POST
    • 分页
      POST
    • 查询
      POST
    • 删除
      POST
    • 新增
      POST
    • 信息
      GET
    • 默认地址
      GET
  • 订单信息
    • 支付宝APP支付
      POST
    • 修改
      POST
    • 退款
      POST
    • 分页
      POST
    • 创建订单
      POST
    • 取消订单
      POST
    • 用户订单统计
      GET
    • 物流信息
      GET
    • 信息
      GET
    • 确认收货
      GET
  • 优惠券用户
    • 领取优惠券
    • 分页
    • 查询
    • 信息
  • 优惠券信息
    • 分页
  • 轮播图
    • 查询
  • 商品类型
    • 查询
  • 规格
    • 查询
  • 搜索关键词
    • 查询
  • 商品信息
    • 分页
    • 信息
  • 商品评价
    • 提交评论
    • 分页
  • 字典信息
    • 获得字典数据
  • 客服会话
    • 客服聊天
    • 创建会话
    • 会话详情
  • 客服消息
    • 标记消息为已读
    • 分页
    • 未读消息数
  • 应用通用
    • 文件上传
    • 文件上传模式
    • 参数配置
    • 实体信息与路径
  • 套餐
    • 查询
  • 意见反馈
    • 提交意见反馈
    • 分页
    • 信息
  • 举报投诉
    • 提交投诉举报
    • 分页
    • 信息
  • 页面
    • 获取商品详情页面数据
    • 获取确认订单页面数据
    • 获取首页数据
  1. 订单信息

修改

POST
https://mall.dusksnow.top/app/order/info/update
根据ID修改

请求参数

Header 参数

Body 参数application/json

示例
{
    "id": 0,
    "createTime": "2019-08-24T14:15:22Z",
    "updateTime": "2019-08-24T14:15:22Z",
    "userId": 0,
    "title": "string",
    "payType": 0,
    "payTime": "2019-08-24T14:15:22Z",
    "orderNum": "string",
    "status": 0,
    "price": 0,
    "discountPrice": 0,
    "discountSource": {
        "type": 0,
        "objectId": 0,
        "info": {}
    },
    "address": {
        "id": 0,
        "createTime": "2019-08-24T14:15:22Z",
        "updateTime": "2019-08-24T14:15:22Z",
        "userId": 0,
        "contact": "string",
        "phone": "string",
        "province": "string",
        "city": "string",
        "district": "string",
        "address": "string",
        "isDefault": true
    },
    "logistics": {
        "company": "string",
        "num": "string"
    },
    "refund": {
        "orderNum": "string",
        "amount": 0,
        "realAmount": 0,
        "status": 0,
        "applyTime": "2019-08-24T14:15:22Z",
        "time": "2019-08-24T14:15:22Z",
        "reason": "string",
        "refuseReason": "string"
    },
    "refundStatus": 0,
    "refundApplyTime": "2019-08-24T14:15:22Z",
    "remark": "string",
    "closeRemark": "string",
    "invoice": 0,
    "wxType": 0,
    "goodsList": [
        {
            "id": 0,
            "createTime": "2019-08-24T14:15:22Z",
            "updateTime": "2019-08-24T14:15:22Z",
            "orderId": 0,
            "goodsId": 0,
            "price": 0,
            "discountPrice": 0,
            "count": 0,
            "remark": "string",
            "goodsInfo": {
                "id": 0,
                "createTime": "2019-08-24T14:15:22Z",
                "updateTime": "2019-08-24T14:15:22Z",
                "typeId": 0,
                "title": "string",
                "subTitle": "string",
                "mainPic": "string",
                "pics": [
                    "string"
                ],
                "price": 0,
                "sold": 0,
                "content": "string",
                "status": 0,
                "sortNum": 0,
                "specs": [
                    {
                        "id": 0,
                        "createTime": "2019-08-24T14:15:22Z",
                        "updateTime": "2019-08-24T14:15:22Z",
                        "goodsId": 0,
                        "name": "string",
                        "price": 0,
                        "stock": 0,
                        "sortNum": 0,
                        "images": [
                            "string"
                        ]
                    }
                ]
            },
            "spec": {
                "id": 0,
                "createTime": "2019-08-24T14:15:22Z",
                "updateTime": "2019-08-24T14:15:22Z",
                "goodsId": 0,
                "name": "string",
                "price": 0,
                "stock": 0,
                "sortNum": 0,
                "images": [
                    "string"
                ]
            },
            "isComment": 0
        }
    ]
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mall.dusksnow.top/app/order/info/update' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": 0,
    "createTime": "2019-08-24T14:15:22Z",
    "updateTime": "2019-08-24T14:15:22Z",
    "userId": 0,
    "title": "string",
    "payType": 0,
    "payTime": "2019-08-24T14:15:22Z",
    "orderNum": "string",
    "status": 0,
    "price": 0,
    "discountPrice": 0,
    "discountSource": {
        "type": 0,
        "objectId": 0,
        "info": {}
    },
    "address": {
        "id": 0,
        "createTime": "2019-08-24T14:15:22Z",
        "updateTime": "2019-08-24T14:15:22Z",
        "userId": 0,
        "contact": "string",
        "phone": "string",
        "province": "string",
        "city": "string",
        "district": "string",
        "address": "string",
        "isDefault": true
    },
    "logistics": {
        "company": "string",
        "num": "string"
    },
    "refund": {
        "orderNum": "string",
        "amount": 0,
        "realAmount": 0,
        "status": 0,
        "applyTime": "2019-08-24T14:15:22Z",
        "time": "2019-08-24T14:15:22Z",
        "reason": "string",
        "refuseReason": "string"
    },
    "refundStatus": 0,
    "refundApplyTime": "2019-08-24T14:15:22Z",
    "remark": "string",
    "closeRemark": "string",
    "invoice": 0,
    "wxType": 0,
    "goodsList": [
        {
            "id": 0,
            "createTime": "2019-08-24T14:15:22Z",
            "updateTime": "2019-08-24T14:15:22Z",
            "orderId": 0,
            "goodsId": 0,
            "price": 0,
            "discountPrice": 0,
            "count": 0,
            "remark": "string",
            "goodsInfo": {
                "id": 0,
                "createTime": "2019-08-24T14:15:22Z",
                "updateTime": "2019-08-24T14:15:22Z",
                "typeId": 0,
                "title": "string",
                "subTitle": "string",
                "mainPic": "string",
                "pics": [
                    "string"
                ],
                "price": 0,
                "sold": 0,
                "content": "string",
                "status": 0,
                "sortNum": 0,
                "specs": [
                    {
                        "id": 0,
                        "createTime": "2019-08-24T14:15:22Z",
                        "updateTime": "2019-08-24T14:15:22Z",
                        "goodsId": 0,
                        "name": "string",
                        "price": 0,
                        "stock": 0,
                        "sortNum": 0,
                        "images": [
                            "string"
                        ]
                    }
                ]
            },
            "spec": {
                "id": 0,
                "createTime": "2019-08-24T14:15:22Z",
                "updateTime": "2019-08-24T14:15:22Z",
                "goodsId": 0,
                "name": "string",
                "price": 0,
                "stock": 0,
                "sortNum": 0,
                "images": [
                    "string"
                ]
            },
            "isComment": 0
        }
    ]
}'

返回响应

🟢200成功
*/*
OK
Body

示例
{
    "empty": true,
    "property1": {},
    "property2": {}
}
修改于 2025-04-05 02:04:01
上一页
支付宝APP支付
下一页
退款
Built with