OfferDetail

Provides detailed information for people who can preview and edit an offer. See the Offer API Calls.

Extends

Offer

Attributes

distributor_id
String: the profile ID of the cash distributor for this offer.
has_custom_distribution
Boolean: true if the offer has customized cash distribution settings.
manage_url
String: the URL for managing the offer. Use this URL when you want to provide an offer editing link, but use the urls or urls_detail attribute when you want to provide a link for purchasing the offer.
max_purchases
Integer: the overall maximum number of purchases allowed for the offer. May be null.
max_purchases_per_wallet
Integer: the number of purchases allowed per wallet, subject to the max_purchases limit. May be null.
merchant_id
String: the profile ID of the offer merchant.
purchase_count
Integer: The number of purchases of this offer that have been confirmed.
urls
The list of URLs where people can purchase the offer. Offers may have different URLs for different distribution channels. The last URL in this list is the numeric offer URL intended for editing and management.
urls_detail

A list of details about the offer URLs. Each item in the list is an object containing these attributes:

  • url
  • page_id: a string that identifies the offer URL. Applies to embedded offer pages only.
  • outputs: a list of campaign event targets, each containing campaign_id and channel attributes.

Used In