Skip to content

Get a Coupon

Endpoint: https://api.youcan.shop/coupons/{id}

Method: GET

Required Scopes

  • read-coupons

Response

[200] Ok

json
{
    "id": "2e62a766-af79-49b1-b57b-0a2fdbaeec65",
    "code": "code03323",
    "description": "coupoun 02 from api updated",
    "value": 5,
    "type": 1,
    "type_text": "percentage",
    "start_date": 1619308800,
    "end_date": 1619395200,
    "max_usage": 55,
    "status": "Expired"
}