Skip to main content

Get Orders

GET /v2/order

Retrieves a paginated list of orders for the authenticated tenant. Each item includes current status, pricing breakdowns, key dates, related account details, and assigned sales contact.

Query Parameters

  • ~filter[status] - Parameter for ~filter[status]
  • ~filter[tenant] - Parameter for ~filter[tenant]
  • ~filter[from] - Parameter for ~filter[from]
  • ~filter[to] - Parameter for ~filter[to]
  • ~search - Parameter for ~search
  • ~sort - Parameter for ~sort
  • ~page - Parameter for ~page
  • ~perPage - Parameter for ~perPage
  • ~view - Parameter for ~view

Request Example

GET /v2/order

Response Example

{
"orders": [
{
"_id": "order-id-1",
"id": "order-id-1",
"status": "accepted",
"state": "open",
"offering": {
"name": "Example Offering",
"description": "{\"blocks\":[{\"key\":\"1\",\"text\":\"Overview:\",\"type\":\"unstyled\"}],\"entityMap\":{}}",
"image": "https://example.com/image.png"
},
"edition": {
"name": "Standard"
},
"parent": {
"account": {
"tenant": "tenant-id-parent-1"
}
},
"tenant": "tenant-id-1",
"account": "account-id-1",
"account_details": {
"status": { "active": true },
"address": {
"postal": {
"line2": "",
"street": "Example Street 1",
"zip": "0001",
"city": "Example City",
"country": "NO",
"state": "",
"editable": true,
"_id": "address-id-1"
},
"delivery": {
"line2": "",
"street": "Example Street 1",
"zip": "0001",
"city": "Example City",
"country": "NO",
"state": "",
"editable": true,
"_id": "address-id-2"
},
"official": {
"line2": "",
"street": "Example Street 1",
"zip": "0001",
"city": "Example City",
"country": "NO",
"state": "",
"editable": true,
"_id": "address-id-3"
},
"invoice": {
"line2": "",
"street": "Example Street 1",
"zip": "0001",
"city": "Example City",
"country": "NO",
"state": "",
"editable": true,
"_id": "address-id-4"
},
"visit": {
"line2": "",
"street": "Example Street 1",
"zip": "0001",
"city": "Example City",
"country": "NO",
"state": "",
"editable": true,
"_id": "address-id-5"
}
},
"email": { "default": "user@example.com" },
"metadata": { "last_login": "2025-06-20T07:59:10.167Z" },
"_id": "account-id-1",
"type": "customer",
"comment": "",
"number": "123456789",
"country": "NO",
"name": "Example Account",
"bankaccount": [],
"accountmanager": "user-id-1",
"contacts": [],
"integrations": [],
"primaryuser": "user-id-2",
"tenant": "tenant-id-1",
"created": "2025-06-19T23:12:09.486Z",
"updated": "2025-06-20T07:59:10.175Z",
"__v": 0,
"partnerLevel": null,
"id": "account-id-1"
},
"currency": {
"type": "NOK",
"rate": 1
},
"price": {
"full": 2339.71,
"discount": 467.94,
"subtotal": 1871.77,
"total": 1871.77,
"cost": 1732,
"_id": "price-id-1",
"mrr": 0,
"monthlyDiscountPrice": 0,
"monthlyCostPrice": 0,
"monthlyPrice": 0,
"billingDiscountPrice": 0,
"billingCostPrice": 0,
"billingPrice": 0,
"agreementDiscountPrice": 467.94,
"agreementCostPrice": 1732,
"agreementPrice": 1871.77,
"dueDiscountPrice": 467.94,
"dueCostPrice": 1732,
"duePrice": 1871.77,
"oneTimeDiscountPrice": 467.94,
"oneTimeCostPrice": 1732,
"oneTimePrice": 1871.77
},
"sales_contact": {
"id": "user-id-1",
"firstname": "Alex",
"lastname": "Doe",
"email": "user@example.com",
"phone": "4700000000"
},
"number": "00000001",
"date": {
"delivery": "2025-06-20T08:27:58.763Z",
"order": "2025-06-20T08:27:58.763Z",
"start": "2025-06-20T08:27:58.763Z",
"end": "2026-06-20T08:28:56.693Z",
"confirmation": "2025-06-20T08:28:56.693Z"
},
"created": "2025-06-20T08:27:58.763Z",
"updated": "2025-06-20T08:28:56.736Z",
"order_date": "2025-06-20T08:27:58.763Z",
"delivery_date": "2025-06-20T08:27:58.763Z",
"start_date": null,
"end_date": null
}
],
"metadata": {
"total": 31
}
}