- 在线客服
- 商家移动端
- 商城
- 说明
- 登录注册
- 首页相关
- 购物车
- 商品
- 店铺
- 会员
- 内容
- 用户地址
- 分销
- 订单
- 订单发票
- 营销
- 售后
- 商家
- 平台设置
- 文件上传
- 商家设置
- 充值
- 广告
- 微信
- 通知
- 短信
- 二维码
- 积分商城
- 种草社区
- 直播
- 用户注销
订单发票详情
GET
/api/order/invoice
请求参数
Query 参数
id
integer
订单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/invoice'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
必需
order_sn
string
订单编号
shop_id
integer
必需
order_amount
string
订单实付金额
order_status
integer
必需
create_time
string
必需
shop
object
店铺信息
order_goods
array [object {13}]
订单商品信息
invoice
object
发票信息
order_status_text
string
订单状态描述
示例
{
"code": 1,
"show": 0,
"msg": "获取成功",
"data": {
"id": 13,
"order_sn": "202204111749192168",
"shop_id": 1,
"order_amount": "10.00",
"order_status": 0,
"create_time": "2022-04-11 17:49:19",
"shop": {
"id": 1,
"name": "商家一",
"type_desc": "入驻商家",
"logo": "http://www.likeshopb2b2c.localhost/uploads/images/20210624004057b79706903.png",
"mobile": "13104997899"
},
"order_goods": [
{
"id": 11,
"order_id": 13,
"goods_id": 20,
"item_id": 54,
"goods_name": "虚拟商品1",
"goods_price": "20.00",
"spec_value": "默认",
"image": "http://www.likeshopb2b2c.localhost/uploads/images/1111.png",
"goods_num": 1,
"is_comment": 0,
"refund_status": 0,
"commission_ratio": null,
"total_pay_price": "10.00"
}
],
"invoice": {
"id": 1,
"shop_id": 1,
"user_id": 118,
"order_id": 13,
"type": 0,
"header_type": 1,
"name": "发票名称",
"duty_number": "456457",
"email": "123@qq.com",
"mobile": "",
"address": "",
"bank": "",
"bank_account": "",
"invoice_amount": null,
"invoice_number": "",
"status": 0,
"create_time": "2022-04-11 17:49:19",
"status_text": "未开票",
"type_text": "电子普通发票",
"header_type_text": "企业"
},
"order_status_text": "待付款"
}
}
修改于 2022-07-28 06:20:21