AffiliateBilling::createInvoice Method

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

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

POST Response Notes

Returns the ID of the newly created affiliate invoice as an integer, or returns the affiliate invoice object if return_object is "true"

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact [email protected] for technical support.