本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
invoice_id
as a path parameter.orders.read
- Orders Read OnlyAuthorization: Bearer ********************
curl --location --request GET 'https://echo.apifox.com/anything/orders/invoices/673490471'
{
"status": 200,
"success": true,
"data": {
"id": 1128904162,
"invoice_number": "1",
"uuid": null,
"order_id": 1152394206,
"invoice_reference_id": null,
"type": "Tax Invoice",
"date": "2022-06-30",
"qr_code": null,
"payment_method": "bank",
"sub_total": {
"amount": 130,
"currency": "SAR"
},
"shipping_cost": {
"amount": 23,
"taxable": true,
"currency": "SAR"
},
"cod_cost": {
"amount": 0,
"taxable": true,
"currency": "SAR"
},
"discount": {
"amount": 0,
"currency": "SAR"
},
"tax": {
"percent": 0,
"amount": {
"amount": 0,
"currency": "SAR"
}
},
"total": {
"amount": 153,
"currency": "SAR"
},
"items": [
{
"id": 1670203268,
"product_id": "977135276",
"item_id": 588287185,
"name": "شاحن آنكر 1000",
"quantity": 1,
"type": "product",
"price": {
"amount": 130,
"currency": "SAR"
},
"discount": {
"amount": 0,
"currency": "SAR"
},
"tax": {
"percent": 0,
"amount": {
"amount": 0,
"currency": "SAR"
}
},
"total": {
"amount": 130,
"currency": "SAR"
}
}
]
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升