cURL
curl --request GET \ --url https://api.fungies.io/v0/discounts/{discountId} \ --header 'x-fngs-public-key: <api-key>'
{ "status": "<string>", "data": { "discount": { "object": "discount", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "code", "name": null, "amount": "<string>", "amountType": "fixed", "discountCode": null, "validFrom": null, "validUntil": null, "purchaseLimit": null, "timesUsed": 0, "status": "active", "includesAllOffers": false, "currency": "AFN" } } }
Retrieve detailed information about a specific discount by its ID.
GET /v0/discounts/:discountId Parameter
GET /v0/discounts/:discountId Positive response
"success"
Show child attributes