药房 - 自营商城(V3.0) API
  1. 订单
药房 - 自营商城(V3.0) API
  • 商城侧 - 后台
    • 用户
      • 用户等级
        • 导入商品数据
        • 添加/修改会员等级
        • 获取等级会员信息
      • 用户登录
      • 获取用户信息
      • 编辑用户信息
      • 获取会员等级记录
    • 商品
      • 商品导入
        • 佣金导入
        • 会员价导入
      • 商品审核
        • 获取商品审核列表
        • 导入商品审核表
        • 导出商品审核
        • 重新审核
        • 更新
      • 新建或修改商品
      • 获取商品详细信息
      • 获取商品列表
      • 导出商品规格信息
      • 弹窗-商品列表
    • 设置
      • 同城配送
        • 获取配送记录
      • 获取全局设置
      • 订单设置
      • 获取订单设置 
    • 营销
      • 秒杀活动
        • 保存秒杀活动
        • 获取秒杀活动列表
        • 获取秒杀详情
        • 获取秒杀商品列表
      • 抽奖活动
        • 导出中奖记录
      • 拼团
        • 保存拼团活动
        • 获取拼团详情
        • 拼团活动参与人列表
        • 拼团活动订单
      • 砍价
        • 保存砍价
        • 砍价活动详情
        • 砍价商品列表
        • 砍价统计活动参与人
        • 砍价活动订单
        • 砍价列表
    • 订单
      • 售后订单
        • 导出售后订单数据
        • 获取售后订单列表
        • 售后订单筛选类型/状态参数
        • 售后订单详情
      • 订单发送货
      • 订单核销
      • 重新推送
      • 订单售后退款
      • 获取订单详情
      • 补齐订单佣金流水
      • 导出订单
    • 分销
      • 一级分销员列表
      • 分销头部统计
    • 回调
      • UU、达达回调
    • 供应商
      • 订单
        • 售后订单
          • 售后订单筛选类型/状态参数
          • 售后订单列表
          • 售后订单详情
        • 获取订单详情
    • 门店
      • 订单
        • 获取订单详情
        • 订单列表
      • 财务
        • 门店流水
        • 门店流水导出
        • 门店流水检索条件
      • 不同产品的适配门店列表
      • 获取店铺列表
      • 获取门店分类
      • 门店列表
    • 系统
      • 获取Erp日志
      • 获取小程序设置
    • 财务
      • 提现列表导出
  • 商城侧 - 门店
    • 用户
      • 获取用户列表
      • 检索用户列表
    • 订单
      • 售后订单
        • 导出售后订单数据
        • 订单售后
        • 售后订单筛选类型/状态参数
        • 售后订单列表
      • 获取订单详情
      • 付费会员订单
      • 导出订单
      • 获取配送员列表
      • 批量自动发货
      • 批量手动发货
    • 财务
      • 门店流水检索条件
      • 门店流水
    • 获取店铺配置
      GET
    • 获取店铺配置
      GET
  • 商城侧 - 收银台
    • 获取活动商品统计
      GET
    • 获取活动商品列表
      GET
    • 获取用户列表
      GET
  • 商城侧 - 供应商
    • 订单
      • 售后订单
        • 售后订单筛选类型/状态参数
        • 获取售后订单列表
        • 同意退款
        • 同意退货
      • 获取订单详情
    • 获取配置
      GET
  • 商城侧 - 客服
    • 订单
      • 订单列表
        GET
      • 同意退款
        PUT
      • 订单详情
        GET
  1. 订单

订单详情

GET
/api/order/detail/{order_id}

请求参数

Authorization
在 header 添加参数
Authori-Zation
示例:
Authori-Zation: ********************
Path 参数
order_id
string 
订单ID
必需

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/order/detail/' \
--header 'Authori-Zation;'

返回响应

🟢200成功
application/json
Body
status
integer 
必需
msg
string 
必需
data
object 
必需
id
integer 
必需
type
integer 
必需
pid
integer 
必需
order_id
string 
必需
supplier_id
integer 
必需
store_id
integer 
必需
trade_no
string 
必需
uid
integer 
必需
real_name
string 
必需
user_phone
string 
必需
user_address
string 
必需
user_location
string 
必需
cart_id
array[string]
必需
activity_id
integer 
必需
activity_append
string 
必需
freight_price
string 
必需
total_num
integer 
必需
total_price
integer 
必需
total_postage
string 
必需
pay_price
string 
必需
pay_postage
string 
必需
deduction_price
string 
必需
coupon_id
integer 
必需
coupon_price
string 
必需
promotions_price
string 
必需
first_order_price
string 
必需
change_price
string 
必需
paid
integer 
必需
pay_time
integer 
必需
pay_type
string 
必需
add_time
integer 
必需
status
integer 
必需
refund_status
integer 
必需
refund_state
integer 
必需
refund_type
integer 
必需
refund_express
string 
必需
refund_reason_wap_img
null 
必需
refund_reason_wap_explain
string 
必需
refund_reason_time
integer 
必需
refund_reason_wap
string 
必需
refund_reason
string 
必需
refund_price
string 
必需
delivery_name
string 
必需
delivery_code
string 
必需
delivery_type
string 
必需
delivery_id
string 
必需
fictitious_content
string 
必需
delivery_uid
integer 
必需
gain_integral
string 
必需
use_integral
string 
必需
back_integral
string 
必需
spread_uid
integer 
必需
spread_two_uid
integer 
必需
one_brokerage
string 
必需
two_brokerage
string 
必需
mark
string 
必需
is_del
integer 
必需
unique
string 
必需
remark
string 
必需
mer_id
integer 
必需
is_mer_check
integer 
必需
pink_id
integer 
必需
cost
string 
必需
verify_code
string 
必需
staff_id
integer 
必需
shipping_type
integer 
必需
clerk_id
integer 
必需
is_channel
integer 
必需
is_remind
integer 
必需
is_system_del
integer 
必需
channel_type
string 
必需
province
string 
必需
express_dump
string 
必需
kuaidi_label
string 
必需
product_type
integer 
必需
virtual_info
string 
必需
custom_form
array[string]
必需
promotions_give
object 
必需
give_integral
integer 
必需
give_coupon
array[string]
必需
erp_id
integer 
必需
erp_order_id
string 
必需
subsidiary_info_item
object 
必需
invoice
null 
必需
split
array[string]
必需
_verify_code
string 
必需
add_time_y
string 
必需
add_time_h
string 
必需
system_store
boolean 
必需
refunded_price
integer 
必需
refund_explain
string 
必需
mapKey
string 
必需
yue_pay_status
integer 
必需
pay_weixin_open
integer 
必需
ali_pay_status
boolean 
必需
cartInfo
array [object {44}] 
必需
stop_time
integer 
必需
_status
object 
必需
_pay_time
string 
必需
_add_time
string 
必需
status_pic
string 
必需
offlinePayStatus
integer 
必需
spread_nickname
string 
必需
latitude
string 
必需
longitude
string 
必需
store_name
string 
店铺名称
必需
vip_true_price
string 
必需
promotions_detail
array[string]
必需
postage_price
integer 
必需
member_price
integer 
必需
routine_contact_type
string 
必需
invoice_func
boolean 
必需
special_invoice
boolean 
必需
refund_cartInfo
array[string]
必需
refund_total_num
integer 
必需
refund_pay_price
string 
必需
is_apply_refund
boolean 
必需
is_batch_refund
boolean 
必需
pinkStatus
null 
必需
order_log
object 
必需
write_times
integer 
必需
write_off
integer 
必需
write_day
string 
必需
is_delivery_order
boolean 
必需
refund_order_id
string 
售后订单ID
必需
示例
{
    "status": 200,
    "msg": "ok",
    "data": {
        "id": 1773,
        "type": 0,
        "pid": 0,
        "order_id": "wx438667546799898624",
        "supplier_id": 1,
        "store_id": 0,
        "trade_no": "",
        "uid": 154,
        "real_name": "cx",
        "user_phone": "13225696584",
        "user_address": "广东省 汕头市 金平区 石炮台街道 金平区艺都大剧院(金砂路店)",
        "user_location": "116.704895 23.365803",
        "cart_id": [
            "154438667529548726272"
        ],
        "activity_id": 0,
        "activity_append": "",
        "freight_price": "0.00",
        "total_num": 1,
        "total_price": 100,
        "total_postage": "0.00",
        "pay_price": "100.00",
        "pay_postage": "0.00",
        "deduction_price": "0.00",
        "coupon_id": 0,
        "coupon_price": "0.00",
        "promotions_price": "0.00",
        "first_order_price": "0.00",
        "change_price": "0.00",
        "paid": 1,
        "pay_time": 1695872895,
        "pay_type": "yue",
        "add_time": 1695872893,
        "status": 3,
        "refund_status": 0,
        "refund_state": 0,
        "refund_type": 0,
        "refund_express": "",
        "refund_reason_wap_img": null,
        "refund_reason_wap_explain": "",
        "refund_reason_time": 0,
        "refund_reason_wap": "",
        "refund_reason": "",
        "refund_price": "0.00",
        "delivery_name": "Feeling1",
        "delivery_code": "",
        "delivery_type": "send",
        "delivery_id": "15766600461",
        "fictitious_content": "",
        "delivery_uid": 6,
        "gain_integral": "0.00",
        "use_integral": "0.00",
        "back_integral": "0.00",
        "spread_uid": 154,
        "spread_two_uid": 0,
        "one_brokerage": "20.00",
        "two_brokerage": "0.00",
        "mark": "",
        "is_del": 0,
        "unique": "1ab60743393e3526ec15e7556c7ec161",
        "remark": "",
        "mer_id": 0,
        "is_mer_check": 0,
        "pink_id": 0,
        "cost": "50.00",
        "verify_code": "169634186164",
        "staff_id": 0,
        "shipping_type": 1,
        "clerk_id": 0,
        "is_channel": 2,
        "is_remind": 0,
        "is_system_del": 0,
        "channel_type": "h5",
        "province": "",
        "express_dump": "",
        "kuaidi_label": "",
        "product_type": 0,
        "virtual_info": "",
        "custom_form": [],
        "promotions_give": {
            "give_integral": 0,
            "give_coupon": [],
            "give_product": [],
            "promotions": []
        },
        "give_integral": 0,
        "give_coupon": [],
        "erp_id": 0,
        "erp_order_id": "",
        "subsidiary_info_item": {
            "yq_purchaser_id": 0
        },
        "invoice": null,
        "split": [],
        "_verify_code": "1696 3418 6164",
        "add_time_y": "2023-09-28",
        "add_time_h": "11:48:13",
        "system_store": false,
        "refunded_price": 0,
        "refund_explain": "",
        "mapKey": "ZEYBZ-7FWKX-FOD4X-TWW4C-6NCDS-DOFOP",
        "yue_pay_status": 1,
        "pay_weixin_open": 1,
        "ali_pay_status": true,
        "cartInfo": [
            {
                "id": "154438667529548726272",
                "type": 0,
                "store_id": 0,
                "tourist_uid": "",
                "product_type": 0,
                "activity_id": 0,
                "discount_product_id": 0,
                "product_id": 38775,
                "product_attr_unique": "959c4798",
                "cart_num": 1,
                "productInfo": {
                    "id": 38775,
                    "pid": 0,
                    "type": 2,
                    "product_type": 0,
                    "relation_id": 1,
                    "mer_id": 0,
                    "image": "http://test.mall.86yfw.com/uploads/attach/2023/08/20230831/c3d5148728d26fc485e220b8cc145907.png",
                    "recommend_image": "",
                    "slider_image": [
                        "http://test.mall.86yfw.com/uploads/attach/2023/08/20230831/c3d5148728d26fc485e220b8cc145907.png"
                    ],
                    "store_name": "售后订单测试",
                    "store_info": "",
                    "keyword": "",
                    "bar_code": "",
                    "cate_id": "209",
                    "price": "100.00",
                    "vip_price": "0.00",
                    "ot_price": "0.00",
                    "postage": "0.00",
                    "delivery_type": [
                        "1",
                        "3",
                        "2"
                    ],
                    "freight": 1,
                    "unit_name": "件",
                    "sort": 0,
                    "sales": 8,
                    "stock": 92,
                    "is_show": 1,
                    "is_hot": 0,
                    "is_benefit": 0,
                    "is_best": 0,
                    "is_new": 0,
                    "add_time": 1694079946,
                    "is_postage": 0,
                    "is_verify": 1,
                    "is_del": 0,
                    "mer_use": 0,
                    "give_integral": "0.00",
                    "cost": "50.00",
                    "is_seckill": 0,
                    "is_bargain": 0,
                    "is_good": 0,
                    "is_sub": 0,
                    "is_vip": 0,
                    "ficti": 0,
                    "browse": 0,
                    "code_path": "",
                    "soure_link": "",
                    "video_link": "",
                    "temp_id": 0,
                    "spec_type": 0,
                    "activity": "0,1,2,3",
                    "spu": "9751575173336",
                    "label_id": [],
                    "command_word": "",
                    "recommend_list": "",
                    "brand_id": 335,
                    "brand_com": "335",
                    "code": "CC112",
                    "is_vip_product": 0,
                    "is_presale_product": 0,
                    "presale_start_time": 0,
                    "presale_end_time": 0,
                    "presale_day": 1,
                    "auto_on_time": 0,
                    "auto_off_time": 0,
                    "custom_form": [],
                    "system_form_id": 0,
                    "applicable_type": 1,
                    "applicable_store_id": [],
                    "is_support_refund": 1,
                    "store_label_id": [],
                    "ensure_id": [],
                    "specs": [],
                    "specs_id": 0,
                    "is_limit": 0,
                    "limit_type": 0,
                    "limit_num": 0,
                    "refusal": "",
                    "is_police": 0,
                    "is_sold": 0,
                    "is_brokerage_ladder": 0,
                    "drug_attribute_item": null,
                    "standard_code": "",
                    "v_drug_ident": null,
                    "attrInfo": {
                        "id": 39491,
                        "type": 0,
                        "product_id": 38775,
                        "product_type": 0,
                        "suk": "默认",
                        "stock": 92,
                        "sum_stock": 92,
                        "sales": 8,
                        "price": 100,
                        "integral": 0,
                        "image": "http://test.mall.86yfw.com/uploads/attach/2023/08/20230831/c3d5148728d26fc485e220b8cc145907.png",
                        "unique": "959c4798",
                        "cost": "50.00",
                        "bar_code": "",
                        "ot_price": "0.00",
                        "vip_price": "0.00",
                        "weight": "1.00",
                        "volume": "2.00",
                        "brokerage": "0.00",
                        "brokerage_two": "0.00",
                        "quota": 0,
                        "quota_show": 0,
                        "code": "",
                        "disk_info": "",
                        "write_times": 0,
                        "write_valid": 1,
                        "write_days": 1,
                        "write_start": 0,
                        "write_end": 0,
                        "brokerage_ladder_rule": {
                            "first_buy": [
                                {
                                    "one_rebate": 0,
                                    "two_rebate": 0,
                                    "number": 1
                                }
                            ],
                            "repeat_buy": {
                                "one_rebate": 0,
                                "two_rebate": 0,
                                "number": 0
                            }
                        }
                    },
                    "express_delivery": true,
                    "store_mention": true,
                    "store_delivery": true
                },
                "attrInfo": {
                    "id": 39491,
                    "type": 0,
                    "product_id": 38775,
                    "product_type": 0,
                    "suk": "默认",
                    "stock": 92,
                    "sum_stock": 92,
                    "sales": 8,
                    "price": 100,
                    "integral": 0,
                    "image": "http://test.mall.86yfw.com/uploads/attach/2023/08/20230831/c3d5148728d26fc485e220b8cc145907.png",
                    "unique": "959c4798",
                    "cost": "50.00",
                    "bar_code": "",
                    "ot_price": "0.00",
                    "vip_price": "0.00",
                    "weight": "1.00",
                    "volume": "2.00",
                    "brokerage": "0.00",
                    "brokerage_two": "0.00",
                    "quota": 0,
                    "quota_show": 0,
                    "code": "",
                    "disk_info": "",
                    "write_times": 0,
                    "write_valid": 1,
                    "write_days": 1,
                    "write_start": 0,
                    "write_end": 0,
                    "brokerage_ladder_rule": {
                        "first_buy": [
                            {
                                "one_rebate": 0,
                                "two_rebate": 0,
                                "number": 1
                            }
                        ],
                        "repeat_buy": {
                            "one_rebate": 0,
                            "two_rebate": 0,
                            "number": 0
                        }
                    }
                },
                "sum_price": 100,
                "truePrice": 100,
                "trueStock": 92,
                "costPrice": "50.00",
                "is_gift": 0,
                "attrStatus": true,
                "vip_truePrice": 0,
                "branch_stock": 92,
                "branch_sales": 8,
                "price_type": "level",
                "is_valid": 1,
                "postage_price": 0,
                "use_integral": 0,
                "integral_price": 0,
                "first_order_price": 0,
                "one_brokerage": "20.00",
                "two_brokerage": "5.00",
                "sum_true_price": "100.00",
                "is_writeoff": 0,
                "surplus_num": 1,
                "refund_num": 0,
                "write_times": 1,
                "write_surplus_times": 1,
                "write_start": 0,
                "write_end": 0,
                "write_off": "0",
                "supplier_id": 1,
                "is_support_refund": 1,
                "promotions_id": "",
                "unique": "fd7c0fe44885720acaf707d8d5616d03",
                "is_reply": 1,
                "vip_sum_truePrice": "0.00"
            }
        ],
        "stop_time": 1695876493,
        "_status": {
            "_type": 4,
            "_title": "交易完成",
            "_msg": "交易完成,感谢您的支持",
            "_class": "state-ytk",
            "_payType": "余额支付",
            "_deliveryType": "商家配送"
        },
        "_pay_time": "2023-09-28 11:48:15",
        "_add_time": "2023-09-28 11:48:13",
        "status_pic": "http://test.mall.86yfw.com/uploads/system/order_complete.gif",
        "offlinePayStatus": 2,
        "spread_nickname": "",
        "latitude": "23.365803",
        "longitude": "116.704895",
        "store_name": "供应商1",
        "vip_true_price": "0.00",
        "promotions_detail": [],
        "postage_price": 0,
        "member_price": 0,
        "routine_contact_type": "0",
        "invoice_func": true,
        "special_invoice": true,
        "refund_cartInfo": [],
        "refund_total_num": 1,
        "refund_pay_price": "100.00",
        "is_apply_refund": true,
        "is_batch_refund": false,
        "pinkStatus": null,
        "order_log": {
            "create": "2023-09-28",
            "pay": "2023-09-28",
            "delivery": "",
            "take": "2023-09-28",
            "complete": "2023-10-10"
        },
        "write_times": 0,
        "write_off": 0,
        "write_day": "",
        "is_delivery_order": false
    }
}
上一页
同意退款
Built with