Invoice v2
All endpoints related to Invoices v2
Supported Endpoints
getAllInvoices()
: Returns a list of all the listings created.getInvoice(id)
: Retrieves a listing by the entered ID.getOrderDeliverables(id)
: Creates a listing and returns the created listing.createInvoice(fields)
: Updates a listing by the entered ID.issueReplacement(id, fields)
: Deletes a listing by the entered ID.createPayment(id)
: Generates a payment session for the given order.
Invoices v2
getAllInvoices()
getAllInvoices()
limit
integer
❌
Limit the number of invoices returned
page
integer
❌
The page number you are attempting to access.
getInvoice()
getInvoice()
id
string
✔️
ID of an invoice
getOrderDeliverables()
getOrderDeliverables()
id
string
✔️
ID of an invoices
createInvoice()
createInvoice()
fields
object
✔️
Product's field
issueReplacement()
issueReplacement()
id
string
✔️
ID of the order you want to issue a replacement
fields
array
❌
The listings that should be replaced. If no listings are provided, all listings will be replaced.
createPayment()
createPayment()
id
string
✔️
Generates a payment session for the given ORDER ID.
Last updated