# Detail of discount coupon Detail of discount coupon within the e-shop. Endpoint: GET /api/discount-coupons/{code} Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Path parameters: - `code` (string, required) discount coupon code Example: "ABCDEF12" ## Header parameters: - `Content-Type` (string, required) ## Response 200 fields (application/json): - `data` (object, required) - `data.coupon` (object, required) - `data.coupon.code` (string, required) code of discount coupon - `data.coupon.creationTime` (string,null, required) date and time, when the discount coupon was created - `data.coupon.discountType` (string, required) type of discount. Percentual () or absolute discount () Enum: "percentual", "fixed" - `data.coupon.amount` (string,null, required) amount of absolute discount (default eshop VAT rate is used) - `data.coupon.ratio` (any, required) amount of percentual discount - `data.coupon.minPrice` (string,null, required) minimum price of order (default eshop VAT rate is used) - `data.coupon.currency` (string,null, required) currency of fixed discount. - `data.coupon.template` (string, required) template used for the discount coupon creation. - `data.coupon.shippingPrice` (string,null, required) how the transport prices are calculated: according to the cart before discounts (beforeDiscount), according to the displayed value of the cart (cart), or free (free) Enum: "cart", "free", "beforeDiscount", null - `data.coupon.validFrom` (string,null, required) starting date of coupon validity - `data.coupon.validTo` (string,null, required) ending date of coupon validity - `data.coupon.reusable` (boolean, required) Is the discount coupon reusable? - `data.coupon.usedCount` (integer, required) number of times the discount coupon has been used - `data.coupon.remark` (string,null, required) remark for the discount coupon. - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced ## Response 404 fields (application/json): - `data` (object,null) - `errors` (array,null) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced