Jump to: POST Response Notes | API Call Builder
Creates an AffiliateInvoice model object. You can then use AffiliateBilling::addInvoiceItem to add line items to a created invoice.
| Name | Type | Description |
|---|---|---|
| NetworkId | Url | Network ID |
| NetworkToken | String | Network token |
| Target | String | This calls action target |
| Method | String | This calls action method |
| data | Object | AffiliateInvoice dataShow Supported Parameters |
| allow_duplicate | Boolean | Whether or not to allow duplicate invoices (for the same affiliate, currency, and date range); defaults to false |
| return_object | Boolean | If 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.