- Overview
- Authentication
- Libraries
- Methods
- Contacts
- Import file
- Bulk Import
- Contact import current status
- Contact import history
- Subscriptions
- Attributes
- Lists
- Subscribers
- Subscription forms
- Mails
- Drafts
- Send
- Sent
- Scheduled
- Auto-responder mails
- Templates
- HTML
- Block
- Auto-responders
- Profile
- Address
- Senders
- Reports
- Bounces
- Clicks
- Links
- Opens
- Opens aggregated
- Have not opened
- Most active customers
- Unsubscriptions
- Invoices
- Notifications
Lists
The list object is a collection of invoices.
GET /invoices/
Responds with a list of invoices, like usual we provide next
, prev
, count
and the results
.
Possible url parameters are:
- page:
<int>
Example:
{
"count": 10,
"next": null,
"previous": null,
"results": [
{
"id": 29,
"url": "http://api.getanewsletter.com/v3/invoices/29/",
"invoice_number": 1,
"due_date": "2014-06-20T10:57:29Z",
"total_amount": "1185.00",
"download_url": "http://api.getanewsletter.com/v3/invoices/29/download/",
"payment": "Not Paid",
"note": null,
"balance": "1185.00",
"currency": "SEK"
},
...
]
}
GET /invoices/<id>/
Responds with an invoice.
Example:
GET '/invoices/29/
{
"id": 29,
"url": "http://api.getanewsletter.com/v3/invoices/29/",
"invoice_number": 1,
"due_date": "2014-06-20T10:57:29Z",
"total_amount": "1185.00",
"download_url": "http://api.getanewsletter.com/v3/invoices/29/download/",
"payment": "Not Paid",
"note": null,
"balance": "1185.00",
"currency": "SEK"
}