LogoLogo
REST APIWebhooksHelp Center →
  • Introduction
  • JavaScript API
    • Overview
  • REST API
    • Overview
    • Campaigns
      • The campaign object
      • List campaigns
      • Create campaign
      • Retrieve campaign
      • Update campaign
    • Affiliates
      • The affiliate object
      • List affiliates
      • Create affiliate
      • Retrieve affiliate
      • Update affiliate
      • Magic Link (SSO)
    • Affiliate Links
      • The affiliate link object
      • List affiliate links
      • Create affiliate link
      • Retrieve affiliate link
      • Update affiliate link
    • Affiliate Coupons
      • The affiliate coupon object
      • List affiliate coupons
      • Create affiliate coupon
      • Retrieve affiliate coupon
    • Referrals
      • The referral object
      • List referrals
    • Commissions
      • The commission object
      • List commissions
      • Retrieve commission
      • Update commission
      • Delete commission
    • Payouts
      • The payout object
      • List payouts
      • Retrieve a payout
      • Mark a payout as paid
  • Webhooks
    • Overview
    • Endpoints
    • Requests
    • Event types
    • Signed webhooks
  • Links
    • Help Center
    • Sign up
    • Login
    • Learn more about Rewardful
Powered by GitBook
On this page
  • Request
  • Example
  • Response

Was this helpful?

Export as PDF
  1. REST API
  2. Affiliate Coupons

Retrieve affiliate coupon

Retrieves the details of an existing affiliate coupon.

PreviousCreate affiliate couponNextReferrals

Last updated 9 months ago

Was this helpful?

Request

Method
URL

GET

https://api.getrewardful.com/v1/affiliate_coupons/:id

Example

curl https://api.getrewardful.com/v1/affiliate_coupons/d0ed8392-8880-4f39-8715-60230f9eceab \
  -u YOUR_API_SECRET:

Response

Response code
Body

200

An (JSON)

Not Found

Response code
Body

404

JSON error object

{  "error": "Affiliate coupon not found: " }

Authentication failure

Response code
Body

401

Description of the authentication failure.

{  "error": "Invalid API Secret." }
affiliate coupon object