POST api/MemBer/coupon_code

取得票券兌換碼/使用票券

Request Information

Parameters

NameDescriptionAdditional information
req

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "credential": {
    "member_access_token": "sample string 1",
    "device_uuid": "sample string 2"
  },
  "my_coupon_id": "sample string 1",
  "redeem_code": "sample string 2",
  "channel": 3
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "rcrm": {
    "RC": "sample string 1",
    "RM": "sample string 2"
  },
  "results": {
    "redeem_code": "sample string 1",
    "my_coupon_info": {
      "id": "sample string 1",
      "brand_id": "sample string 2",
      "title": "sample string 3",
      "coupon_countdown_time": {
        "day": "sample string 1",
        "hour": "sample string 2",
        "minute": "sample string 3",
        "second": "sample string 4"
      },
      "feature_detail_image": {
        "url": "sample string 1",
        "width": 2,
        "height": 3
      },
      "feature_code_image": {
        "url": "sample string 1",
        "width": 2,
        "height": 3
      },
      "feature_image_small": {
        "url": "sample string 1",
        "width": 2,
        "height": 3
      },
      "redeem_start_date": "sample string 4",
      "redeem_end_date": "sample string 5",
      "coupon_states_name": "sample string 6",
      "coupon_states_time_title": "sample string 7",
      "coupon_states_time": "sample string 8",
      "content": "sample string 9",
      "redeem_type": 10,
      "coupon_states": 11,
      "manually_redeemed": true
    },
    "coupon_extra_info": {
      "redeem_code": "sample string 1",
      "type": "sample string 2",
      "min_consume": "sample string 3",
      "max_coupon": 4,
      "sketch": "sample string 5",
      "discount_amount": 6,
      "commodity_promotion": [
        {
          "commodity_no": "sample string 1",
          "promotion_amount": 2
        },
        {
          "commodity_no": "sample string 1",
          "promotion_amount": 2
        },
        {
          "commodity_no": "sample string 1",
          "promotion_amount": 2
        }
      ]
    }
  }
}