Scenario
This API is only needed if external system store coupon data, and can record redemption results locally. EZR will update redemption results to till.
Direction
EZR will call external system
Core Logic
EZR will not verify validity of coupons, will only update status.
Request Parameters
Field | Type | Length | Description |
Brand | string | 1~16 | Brand's name |
Code | string | 1~18 | Numbers of coupons |
OrderCode | string | 0~26 | Number of order |
ConsumeTime | string | 1~19 | Time when redemption happens |
ConsumeShop | string | 0~16 | Shop where redemption happens |
OrigSystem | string | 0~16 | Origin system where coupons come from |
Example Request (JSON)
{
"Code": "EZ00001230",
"OrderCode": "0000123001",
"ConsumeTime": "2016-09-28 10:13:30",
}
Example Result (JSON)
{
"Status": true,
"StatusCode": 200,
"Msg": "成功",
"Timestamp": "20150622093101",
"Sign": "6ECC9BF07C69E80F6D8552FF7B2E7A8FCA2CC80E",
"Result": 见业务返回结果示例,
}