External API
integer · min: 1 · max: 200stringstring · date-timestring · date-timestringstringstringstring · requiredstring | null
string · requiredstringstring
string · uuid · requiredstringstring · required
List sales orders
GET
https://api.datavisual.ca
/v1/sales-orders
query Parameters
limitDefault: 25
cursorcreated_aftermodified_afterstatusreference_numberexpandComma-separated expansions, e.g. line_items
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
List sales orders › Responses
Sales orders
object[]
next_cursorCreate a sales order
POST
https://api.datavisual.ca
/v1/sales-orders
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Create a sales order › Request Body
object · required
object[] · minItems: 1 · required
po_numbernotesCreate a sales order › Responses
Order accepted
object
Get sales order by ID
GET
https://api.datavisual.ca
/v1/sales-orders/{id}
path Parameters
idquery Parameters
expandComma-separated expansions, e.g. line_items
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get sales order by ID › Responses
Sales order
object

