Offers

Obtain real-time rates/offers available to a Publisher user.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

Both device_ids and email_sha256s should be provided in the request when available.

The Offers API has a rate limit of 5,000 requests per minute.

Response Object

Top-level object

FieldTypeDescription
merchant_offerslistList of rates/offers available to the user.

merchant_offers List

FieldTypeDescription
merchant_idstringBrand organization ID
offerslistList of all Brand rates/offers available to the user.

offers List

FieldTypeDescription
idstringOffer ID
rankintegerRank of each offer
rate_percentstring(optional) Decimal string of offer rate in percent.
rate_fixedstring(optional) Decimal string of offer rate in fixed amount.
currencystring(optional) Three-letter ISO currency code if rate_fixed (if available), as specified in ISO 4217.
display_paramsmap<string>string(optional) A map of template parameters that can be used by the Publisher to render the rate/offer.

display_params Object

FieldTypeDescription
categorystring(optional) A description of the offers details. Commonly includes a comma separated list of included/excluded categories or other general offer labeling information. Intended to be human readable and suitable for end user display.
offer_typestring(optional) Offer type classification. "Default" = A default/fallback rate, used when there aren’t more specific rates. "Category" = an offer for one or more categories of shopping. "Product" = an offer for one or more products/skus, etc. "Exclusion" = used when the offer is 0/0% and denotes as non commissionable.
offer_tagstring(optional) Offer tag indicating if the offer is a promotional rate (i.e. temporarily boosted/featured or marketing, etc.). Long-term increased rates are not typically promotional.
Body Params
string
required

Publisher’s ID for the user, a string between 1 and 255 characters long in the ASCII range [0x21-0x7E]. This should be the same ID that is passed into the Button SDK when configuring user attribution.

device_ids
array of strings

List of device advertising IDs associated with the user. These must be either IDFAs for iOS or GAIDs for Android. Trim any whitespace in device advertising ID prior to passing it to the API. Note: The API accepts at most 10 combined identifiers (email hashes + device IDs).

device_ids
email_sha256s
array of strings

List of SHA256 email hashes (as a 64-character hex string) associated with the user. Downcase and trim any whitespace of the email address prior to hashing. Note: The API accepts at most 10 combined identifiers (email hashes + device IDs).

email_sha256s
string
Defaults to optional

Brand organization ID with which to restrict user offers.

Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Choose an example:
application/json