daily pastebin goal
51%
SHARE
TWEET

gilas0001

synthx Oct 17th, 2018 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ============================
  2. iki respon sing bisnis kupon
  3. ============================
  4.     "code": 200,
  5.     "status": true,
  6.     "message": "Success getting coupon tags list",
  7.     "data": [
  8.         {
  9.             "tag": "ahsanok",
  10.             "sample": {
  11.                 "id": "a98abc85-d10a-11e8-b287-ed8a739c2c0c",
  12.                 "code": "ahsanok-WDP6GZ",
  13.                 "type": "BUSINESS",
  14.                 "title": "Potongan 80% AHSAN",
  15.                 "status": "available",
  16.                 "image_file": "a33d1e90-d10a-11e8-b287-ed8a739c2c0c.png",
  17.                 "max_usage": 30,
  18.                 "max_usage_per_user": 1,
  19.                 "platform": "web",
  20.                 "tag": "ahsanok",
  21.                 "first_order_only": 0,
  22.                 "first_user_only": 0,
  23.                 "product_type": "all",
  24.                 "discount_type": "PRICE_CUT",
  25.                 "discount_amount": "100000",
  26.                 "start_at": "2018-10-16T06:11:59.000Z",
  27.                 "end_at": "2018-12-31T06:11:59.000Z",
  28.                 "description": "Kupon ahsan 80%",
  29.                 "min_amount": 1,
  30.                 "max_amount": 5,
  31.                 "country_code": null,
  32.                 "created_at": "2018-10-16T06:13:55.000Z",
  33.                 "updated_at": "2018-10-16T06:13:55.000Z"
  34.             },
  35.             "stats": {
  36.                 "count": 10,
  37.                 "claimer_count": "0",
  38.                 "order_count": 0
  39.             }
  40.         },
  41.  
  42. dan seterusnya
  43.  
  44. ==========================
  45. iki respon sing user kupon
  46. ==========================
  47.  
  48.     "code": 200,
  49.     "status": true,
  50.     "message": "Success getting coupon data",
  51.     "data": [
  52.         {
  53.             "id": "3057b660-1774-11e8-9284-07fb71fb3431",
  54.             "discount_amount": 50000,
  55.             "code": "BANGBANG",
  56.             "type": "GENERIC",
  57.             "title": "Discount 80% at Abang Abang Yeah!",
  58.             "status": "available",
  59.             "image_file": null,
  60.             "max_usage": 200,
  61.             "max_usage_per_user": 200,
  62.             "platform": "all",
  63.             "tag": "TESTCOUP",
  64.             "first_order_only": false,
  65.             "first_user_only": false,
  66.             "product_type": "all",
  67.             "discount_type": "PRICE_CUT",
  68.             "start_at": "2018-03-27T09:07:19.000Z",
  69.             "end_at": "2018-06-27T09:07:19.000Z",
  70.             "description": null,
  71.             "min_amount": 0,
  72.             "max_amount": null,
  73.             "country_code": null,
  74.             "created_at": "2018-03-27T09:07:19.000Z",
  75.             "updated_at": "2018-03-27T09:07:19.000Z",
  76.             "coupon_users": [
  77.                 {
  78.                     "id": "86caece0-59a2-11e8-af10-99bd68807dab",
  79.                     "user_id": "6d730960-1133-11e8-b815-ef31569eb8a0",
  80.                     "coupon_id": "3057b660-1774-11e8-9284-07fb71fb3431"
  81.                 },
  82.                 {
  83.                     "id": "c6b4ebc0-6ac4-11e8-b327-0704d66888b7",
  84.                     "user_id": "ffe56600-84ae-11e8-8014-216d343042ee",
  85.                     "coupon_id": "3057b660-1774-11e8-9284-07fb71fb3431"
  86.                 },
  87.                 {
  88.                     "id": "712868a0-5d84-11e8-b322-8b157e658227",
  89.                     "user_id": "e7e596d0-10ad-11e8-8bed-776a5cc09ce6",
  90.                     "coupon_id": "3057b660-1774-11e8-9284-07fb71fb3431"
  91.                 }
  92.  
  93. dan seterusnya
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top