本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
{
"event": "coupon.applied",
"merchant": 1029864349,
"created_at": "Wed Jul 7 2021 14:50:48 GMT+0300",
"data": {
"cart": {
"id": 0,
"total": {
"amount": 0,
"currency": "string"
},
"subtotal": {
"amount": 0,
"currency": "string"
},
"total_discount": {
"amount": 0,
"currency": "string"
},
"checkout_url": "string",
"age_in_minutes": 0,
"created_at": {
"date": "string",
"timezone_type": 0,
"timezone": "string"
},
"updated_at": {
"date": "string",
"timezone_type": 0,
"timezone": "string"
},
"customer": {
"id": 0,
"name": "string",
"mobile": "string",
"avatar": "string",
"country": "string",
"city": "string"
},
"coupon": {
"id": 0,
"code": "string",
"status": "string",
"type": "string",
"amount": {
"amount": 0,
"currency": "string"
},
"minimum_amount": {
"amount": 0,
"currency": "string"
},
"expiry_date": "string",
"created_at": {
"date": "string",
"timezone_type": 0,
"timezone": "string"
}
},
"items": [
{
"id": 0,
"product_id": 0,
"quantity": 0
}
]
}
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升