Sales

Use the REST API to interact with Sales/Invoices

Create a new sale/invoice

post

Create a new sale/invoice

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
datestringRequired

Date the sale was made

Example: 2023-01-01
total_amountstringRequired

Total sale amount

Example: 2023-01-01
contact_namestringRequired

Contact Name

Example: John Smith
contact_emailstringOptional

Contact Email Address

Example: [email protected]
contact_phonestringOptional

Lead Phone Number

Example: 03 1234 5678
contact_mobilestringOptional

Lead Mobile Number

Example: 0411 111 111
segmentstringOptional

Business Segment

Example: New Customers
line_itemsarrayOptional

Line Items (JSON String)

Header parameters
AcceptstringRequired

Setting to application/json is recommended

Example: application/json
Responses
post
/sales

Last updated