本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
orders.read
- Orders Read OnlyAuthorization: Bearer ********************
curl --location --request GET 'https://echo.apifox.com/anything/orders/invoices'
{
"status": 200,
"success": true,
"data": [
{
"id": 1479538730,
"order_id": 1557892161,
"type": "Credit Note",
"sub_total": {
"amount": "1000.00",
"currency": "SAR"
},
"shipping_cost": {
"amount": "10.00",
"currency": "SAR"
},
"cod_cost": {
"amount": "0.00",
"currency": "SAR"
},
"discount": {
"amount": "0.00",
"currency": "SAR"
},
"tax": {
"percent": "15.00",
"amount": {
"amount": "151.50",
"currency": "SAR"
}
},
"total": {
"amount": 1161.5,
"currency": "SAR"
},
"date": "2021-12-03"
},
{
"id": 1692688589,
"order_id": 1557892161,
"type": "Tax Invoice",
"sub_total": {
"amount": "29.00",
"currency": "SAR"
},
"shipping_cost": {
"amount": "10.00",
"currency": "SAR"
},
"cod_cost": {
"amount": "0.00",
"currency": "SAR"
},
"discount": {
"amount": "0.00",
"currency": "SAR"
},
"tax": {
"percent": "15.00",
"amount": {
"amount": "5.85",
"currency": "SAR"
}
},
"total": {
"amount": 44.85,
"currency": "SAR"
},
"date": "2021-12-03"
},
{
"id": 1219192926,
"order_id": 1557892161,
"type": "Tax Invoice",
"sub_total": {
"amount": "850.00",
"currency": "SAR"
},
"shipping_cost": {
"amount": "25.00",
"currency": "SAR"
},
"cod_cost": {
"amount": "10.00",
"currency": "SAR"
},
"discount": {
"amount": "0.00",
"currency": "SAR"
},
"tax": {
"percent": "15.00",
"amount": {
"amount": "132.75",
"currency": "SAR"
}
},
"total": {
"amount": 1017.75,
"currency": "SAR"
},
"date": "2021-12-04"
}
],
"pagination": {
"count": 3,
"total": 3,
"perPage": 3,
"currentPage": 1,
"totalPages": 1,
"links": {
"next": null
}
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升