AffiliateBilling::createInvoice Method

Create an AffiliateInvoice model object. You can then use AffiliateBilling::addInvoiceItem to add line items to a created invoice.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
data ObjectAffiliateInvoice dataShow Supported Parameters
allow_duplicateBooleanWhether or not to allow duplicate invoices (for the same affiliate, currency, and date range); defaults to false
return_objectBooleanIf true, returns affected object; defaults to true

GET Response Notes

The ID or Affiliate Invoice.

Return response will be in one of the following formats: int, array.

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.