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.4/sales/orders
Authentication required
Access level company
Response JSON / XML
Class Business entity

List orders

Url https://api.profit365.eu/1.4/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.4/sales/orders/1

Get order

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

Create new order

Url https://api.profit365.eu/1.4/sales/orders
Method POST
Content The invoice data
Example https://api.profit365.eu/1.4/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.4/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.4/sales/orders/3dbb4b12-3ad9-4e1b-be7a-3af036032fd1