erirawan

Response_Payload_Kupon

Oct 25th, 2021
889
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.    "status":200,
  3.    "message":"OK",
  4.    "data":[
  5.       {
  6.          "id":"10c79b6d-a66e-456d-9aec-2605a48777e6",
  7.          "applied_type_id":"51642d88-bd5c-4141-acab-4dee4a1710f0",
  8.          "title":"Coupons Khusus SKU tertentu",
  9.          "code":"SKUTERTENTU01",
  10.          "term_conditions":"<p>testing</p>",
  11.          "start_date":"2021-10-11T00:00:00.000Z",
  12.          "end_date":"2022-10-10T00:00:00.000Z",
  13.          "image_url":"https://aop-b2c-api.atlantica.dev/v1/document-service/images/cedfc2d6-8e4b-4425-837b-59937ae7923c+spekta+50.webp",
  14.          "min_amount":"100000",
  15.          "max_amount":"50000000",
  16.          "discount_type":"FIX",
  17.          "discount_type_amount":"20000",
  18.          "status":true,
  19.          "quota":100,
  20.          "created_by":"system",
  21.          "updated_by":null,
  22.          "deleted_by":null,
  23.          "created_at":"2021-10-12T03:26:04.262Z",
  24.          "updated_at":"2021-10-12T03:26:04.155Z",
  25.          "deleted_at":null,
  26.          "discount_type_percentage":null,
  27.          "description":null,
  28.          "short_description":null,
  29.          "name":null,
  30.          "max_usage":5,
  31.          "coupon_discount_id":null,
  32.          "is_all_sku":false,
  33.          "couponsProduct":[
  34.             {
  35.                "id":"a4e4dfb7-f9b5-4042-b9e6-ca6569b9d622",
  36.                "product_type_id":"50016c4d-0161-4e58-b3c4-12ea9933e7a5",
  37.                "coupons_id":"10c79b6d-a66e-456d-9aec-2605a48777e6",
  38.                "created_by":"system",
  39.                "updated_by":null,
  40.                "deleted_by":null,
  41.                "created_at":"2021-10-12T03:26:04.410Z",
  42.                "updated_at":"2021-10-12T03:26:04.155Z",
  43.                "deleted_at":null,
  44.                "productCategory":{
  45.                   "id":"50016c4d-0161-4e58-b3c4-12ea9933e7a5",
  46.                   "name":"Product",
  47.                   "created_by":"Farouq",
  48.                   "updated_by":null,
  49.                   "deleted_by":null,
  50.                   "created_at":"2021-06-14T06:37:54.497Z",
  51.                   "updated_at":"2021-06-14T06:37:54.497Z",
  52.                   "deleted_at":null
  53.                }
  54.             }
  55.          ],
  56.          "couponSku":[
  57.             {
  58.                "id":"5a7fd163-ba18-43cd-a377-1fcf75b9e194",
  59.                "coupon_id":"10c79b6d-a66e-456d-9aec-2605a48777e6",
  60.                "sku":"SD-GSHY-34B19LS",
  61.                "created_by":"system",
  62.                "updated_by":null,
  63.                "deleted_by":null,
  64.                "created_at":"2021-10-12T03:26:04.610Z",
  65.                "updated_at":"2021-10-12T03:26:04.155Z",
  66.                "deleted_at":null
  67.             }
  68.          ]
  69.       }
  70.    ],
  71.    "total_data":5,
  72.    "page":1,
  73.    "total_page":1
  74. }
RAW Paste Data