/api/v1/customer/coupons/{storeId}

GET

/api/v1/customer/coupons/{storeId}

This API method will grab a list of valid Coupons of specific storeID.

Sample Request body

Nothing required

Sample Response

{
  "status": true,
  "items": [
    {
      "id": "LZWBJx0PmYkEwjGdr2vO",
      "account_id": "l6yYk1WOeo7e2b78dD4j",
      "customer_id": "LZWBJx0PmYkEwjGdr2vO",
      "campaign_coupon_id": "nK8oWGj0zxqELP1A53ak",
      "expected_end_date": "2019-01-01 00:00:00",
      "creation_method": "TriggeredSale",
      "created_at": "2019-01-22 05:49:15",
      "updated_at": null,
      "deleted_at": null,
      "store_name": "Bobs Tires",
      "campaign_id": "Ol2GJkRbElpEA53xM8B1",
      "name": "Free Dollar Off",
      "coupon_barcode": 500003000033,
      "type": "Dollar_Off",
      "value": "1.25",
      "header_lines": [
        "Get Free Dollar Off",
        "From All Products"
      ],
      "text_lines": [
        "Subject to rules and reg",
        "Not all items apply"
      ],
      "can_expire": 0,
      "expiration_type": "Never_Expires",
      "expiration": "",
      "once_per_sale": 1,
      "expiration_date": null,
      "campaign_coupon_created": "2019-01-22 11:04:12",
      "total_count": 1,
      "usage_count": 0,
      "remaining_count": 1,
      "store_image": "http://controlcenter.ftx/stores/l6yYk1WOeo7e2b78dD4j/chain-logo"
    }
  ]
}