Sales orders

The Sales proforma invoices API is a background functionality of a web client at Profit365 > Sales > Proforma invoices.

Content:

Resource information

Url https://api.profit365.eu/1.6/sales/orders
Authentication required
Access level company
Response JSON / XML
Class Business entity

List orders

Url https://api.profit365.eu/1.6/sales/orders/{page}
Method GET
Params
{page} optional A page number of result set. Default page number is 1 and default page size is 50.
Example https://api.profit365.eu/1.6/sales/orders/1

Get order

Url https://api.profit365.eu/1.6/sales/orders/{id}
Method GET
Params
{ID} required  ID of the invoice. Type: GUID
Example https://api.profit365.eu/1.6/sales/orders/{id}

Create new order

Url https://api.profit365.eu/1.6/sales/orders
Method POST
Content The invoice data
Example https://api.profit365.eu/1.6/sales/orders/

Update order

An existing order can be updated, if its business state allows such operation. When updating an invoice, submit all the data, not just fields that have changed.

Url https://api.profit365.eu/1.6/sales/orders/{id}
Method PUT
Params
{ID} required A ID of the invoice. Type: GUID
Content An updated invoice data.
Example https://api.profit365.eu/1.6/sales/orders/1782b558-0418-420c-ab1d-74b28c055667