Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ============================
- iki respon sing bisnis kupon
- ============================
- "code": 200,
- "status": true,
- "message": "Success getting coupon tags list",
- "data": [
- {
- "tag": "ahsanok",
- "sample": {
- "id": "a98abc85-d10a-11e8-b287-ed8a739c2c0c",
- "code": "ahsanok-WDP6GZ",
- "type": "BUSINESS",
- "title": "Potongan 80% AHSAN",
- "status": "available",
- "image_file": "a33d1e90-d10a-11e8-b287-ed8a739c2c0c.png",
- "max_usage": 30,
- "max_usage_per_user": 1,
- "platform": "web",
- "tag": "ahsanok",
- "first_order_only": 0,
- "first_user_only": 0,
- "product_type": "all",
- "discount_type": "PRICE_CUT",
- "discount_amount": "100000",
- "start_at": "2018-10-16T06:11:59.000Z",
- "end_at": "2018-12-31T06:11:59.000Z",
- "description": "Kupon ahsan 80%",
- "min_amount": 1,
- "max_amount": 5,
- "country_code": null,
- "created_at": "2018-10-16T06:13:55.000Z",
- "updated_at": "2018-10-16T06:13:55.000Z"
- },
- "stats": {
- "count": 10,
- "claimer_count": "0",
- "order_count": 0
- }
- },
- dan seterusnya
- ==========================
- iki respon sing user kupon
- ==========================
- "code": 200,
- "status": true,
- "message": "Success getting coupon data",
- "data": [
- {
- "id": "3057b660-1774-11e8-9284-07fb71fb3431",
- "discount_amount": 50000,
- "code": "BANGBANG",
- "type": "GENERIC",
- "title": "Discount 80% at Abang Abang Yeah!",
- "status": "available",
- "image_file": null,
- "max_usage": 200,
- "max_usage_per_user": 200,
- "platform": "all",
- "tag": "TESTCOUP",
- "first_order_only": false,
- "first_user_only": false,
- "product_type": "all",
- "discount_type": "PRICE_CUT",
- "start_at": "2018-03-27T09:07:19.000Z",
- "end_at": "2018-06-27T09:07:19.000Z",
- "description": null,
- "min_amount": 0,
- "max_amount": null,
- "country_code": null,
- "created_at": "2018-03-27T09:07:19.000Z",
- "updated_at": "2018-03-27T09:07:19.000Z",
- "coupon_users": [
- {
- "id": "86caece0-59a2-11e8-af10-99bd68807dab",
- "user_id": "6d730960-1133-11e8-b815-ef31569eb8a0",
- "coupon_id": "3057b660-1774-11e8-9284-07fb71fb3431"
- },
- {
- "id": "c6b4ebc0-6ac4-11e8-b327-0704d66888b7",
- "user_id": "ffe56600-84ae-11e8-8014-216d343042ee",
- "coupon_id": "3057b660-1774-11e8-9284-07fb71fb3431"
- },
- {
- "id": "712868a0-5d84-11e8-b322-8b157e658227",
- "user_id": "e7e596d0-10ad-11e8-8bed-776a5cc09ce6",
- "coupon_id": "3057b660-1774-11e8-9284-07fb71fb3431"
- }
- dan seterusnya
Add Comment
Please, Sign In to add comment