GET
/
orders
/
{id}
Get order by ID
curl --request GET \
  --url http:localhost:3000/v2/orders/{id} \
  --header 'x-API-Key: <api-key>'
{
  "_id": "<string>",
  "number": 123,
  "companyId": "<string>",
  "status": {
    "status": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "lastModifiedAt": "2023-11-07T05:31:56Z",
    "lastModifiedBy": "<string>"
  },
  "chatId": "<string>",
  "items": [
    {}
  ],
  "customOrder": true,
  "comment": "<string>",
  "userId": "<string>",
  "objectId": "<string>",
  "completed": true,
  "approvedBy": "<string>",
  "objectManagerId": "<string>",
  "invoiceId": "<string>"
}

Authorizations

x-API-Key
string
header
required

Path Parameters

id
string<objectid>
required

Order ID

Response

200
application/json

Order retrieved successfully

A material order for articles and supplies, linked to a user and object. Base class for all entities that can have a chat associated with them. Base class for all entities in the system, providing common properties and methods.