Api Model:AffiliateInvoice
From HasOffers
Required Parameters
- id
- Values: (int)
- affiliate_id - Id of affiliate.
- Values: (int)
- start_date - Start date.
- Values: (date)
- end_date - End date.
- Values: (date)
- status
- Values: active, deleted
Other Optional Parameters
- memo - Text displayed with invoice to both network and affiliate.
- Values: (string)
- notes - Text displayed with invoice only for network.
- Values: (string)
- is_paid - Flag set if invoice has been paid.
- Values: 0, 1
- receipt_id - Id of receipt used to pay invoice
- Values: (int)
- currency - 3 letter Currency code.
- Values: (string)
Additional Return Parameters
Read only parameters return with each object.
- datetime - Date / time object was created.
- Values: (timestamp)
- amount - Total invoice amount. Computed from summing amount from all associated in invoice items.
- Values: (int)
- impressions - Total number of invoice impressions. Computed from summing impressions from all associated in invoice items.
- Values: (int)
- clicks - Total number of clicks. Computed from summing clicks from all associated in invoice items.
- Values: (int)
- conversions - Total number of invoice conversions. Computed from summing conversions from all associated in invoice items.
- Values: (int)
- revenue - Total invoice revenue. Computed from summing revenue from all associated in invoice items.
- Values: (int)
- sale_amount - Total sale amount. Computed from summing sale_amount from all associated in invoice items.
- Values: (int)
Email this page to a friend or co-worker