Sales
Use the REST API to interact with Sales/Invoices
Create a new sale/invoice
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
datestringRequiredExample:
Date the sale was made
2023-01-01total_amountstringRequiredExample:
Total sale amount
2023-01-01contact_namestringRequiredExample:
Contact Name
John Smithcontact_phonestringOptionalExample:
Lead Phone Number
03 1234 5678contact_mobilestringOptionalExample:
Lead Mobile Number
0411 111 111segmentstringOptionalExample:
Business Segment
New Customersline_itemsarrayOptional
Line Items (JSON String)
Header parameters
AcceptstringRequiredExample:
Setting to application/json is recommended
application/jsonResponses
201
Sale created successfully
application/json
400
Invalid input
post
/salesLast updated