v1

latestOpenAPI 3.1.02026-07-24170121.2 MB

Retrieve a Coupon

This API provides details about a coupon.

get/v1/discounts/{coupon_id}

Path parameters

coupon_idstring required

coupon_id here represents the ID of a specific coupon whose information needs to be retrieved.

Response

200

Example response

{
  "data": {
    "object": "Discount",
    "discount_id": "dc_75d302b4",
    "amount_off": 10,
    "duration": "repeating",
    "status": "active",
    "name": "testers",
    "created_at": 1724584599,
    "updated_at": 1724584599,
    "id": "WzA1lYjlWMWYDg5M"
  }
}