本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
{
"event": "invoice.created",
"merchant": 0,
"created_at": "string",
"data": {
"id": 0,
"uuid": "string",
"invoice_reference_id": "string",
"order_id": 0,
"type": "string",
"date": "string",
"invoice_number": 0,
"payment_method": "string",
"sub_total": {
"amount": 0,
"currency": "string"
},
"shipping_cost": {
"amount": 0,
"taxable": true,
"currency": "string"
},
"cod_cost": {
"amount": 0,
"taxable": true,
"currency": "string"
},
"discount": {
"amount": 0,
"currency": "string"
},
"tax": {
"percent": 0,
"amount": {
"amount": 0,
"currency": "string"
}
},
"total": {
"amount": 0,
"currency": "string"
},
"shipping_cost_discount": {
"amount": 0,
"currency": "string"
},
"items": [
{
"id": 0,
"item_id": 0,
"product_id": "string",
"name": "string",
"quantity": 0,
"type": "string",
"price": {
"amount": 0,
"currency": "string"
},
"discount": {
"amount": 0,
"currency": "string"
},
"tax": {
"percent": 0,
"amount": {
"amount": 0,
"currency": "string"
}
},
"total": {
"amount": 0,
"currency": "string"
}
}
],
"customer": {
"id": 0,
"first_name": "string",
"last_name": "string",
"mobile": 0,
"mobile_code": "string",
"email": "user@example.com",
"urls": {
"customer": "https://salla.sa/StoreLink",
"admin": "https://s.salla./YourStoreDashboard"
},
"avatar": "string",
"gender": "male",
"birthday": {
"date": "2019-08-24T14:15:22Z",
"timezone_type": 0,
"timezone": "string"
},
"city": "string",
"country": "string",
"country_code": "string",
"currency": "string",
"location": "string",
"updated_at": {
"date": "2019-08-24T14:15:22Z",
"timezone_type": 0,
"timezone": "string"
},
"groups": [
0
]
}
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升