1. RunSignup
  2. API
  3. Methods
  4. Get Coupons

Get Coupons

Call this API method to get coupons for a race.

URL

https://runsignup.com/rest/race/:race_id/coupons

HTTP Method

GET

Standard Parameters

Parameter HTTP Method Default Description Datatype
api_key GET API Key string
api_secret GET API Secret string
tmp_key GET Temporary API Key from login API call. This should NOT be used in combination with API Key. string
tmp_secret GET Temporary API Secret from login API call. This should NOT be used in combination with API Secret. string
rsu_api_key GET API v2 key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
sp_api_key GET Super partner API key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
X-RSU-API-SECRET HTTP Header API v2 or super partner secret. string
format GET xml Format of response. The default if not sent is `xml`, but `json` is preferred. format

Parameters

Parameter HTTP Method Default Description Datatype
race_id
Required
GET ID of race. uint
page GET 1 Page number to get. uint
results_per_page GET 50 Number of results per page. uint
request_format xml Format of request. The default if not sent is `xml`, but `json` is preferred. format

Search

Parameter HTTP Method Default Description Datatype
coupon_code GET Search by coupon code. string
currently_available_only GET Only include coupons that are currently available based on date. bool
created_since GET Searchs for coupons created since the given date. date
created_on_or_before GET Searchs for coupons created on or before the given date. date

If you continue to use this site, you consent to use all cookies. We use cookies to offer you a better browsing experience. Read how we use cookies and how you can control them by visiting our Privacy Policy.

If you continue to use this site, you consent to use all cookies.