curl --request GET \
--url http:localhost:3000/v2/orders/ \
--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>"
}
]
Get a list of all material orders. Supports filtering, pagination, and sorting.
curl --request GET \
--url http:localhost:3000/v2/orders/ \
--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>"
}
]
1 <= x <= 1000
x >= 0
List of orders
The response is of type Material Order · object[]
.
Was this page helpful?