Skip to main content
GET
/
transport-orders
Typescript (SDK)
import { Idalia } from "idalia";

const idalia = new Idalia({
  apiKeyAuth: process.env["IDALIA_API_KEY_AUTH"] ?? "",
});

async function run() {
  const result = await idalia.transportOrders.get();

  console.log(result);
}

run();
[
  {
    "id": "<string>",
    "createdAt": "<string>",
    "workspaceId": "<string>",
    "name": "<string>",
    "updatedAt": "<string>",
    "createdBy": "<string>",
    "reference": "<string>",
    "number": "<string>",
    "notes": "<string>",
    "statusId": "<string>",
    "projectId": "<string>",
    "purchaseOrderId": "<string>",
    "allocationOrderId": "<string>"
  }
]

Response

Returns an array of transport order objects

id
string
required

ID of the transport order

createdAt
string
required

Datetime the transport order was created

workspaceId
string
required

ID of the workspace the transport order belongs to

name
string
required

Name of the transport order

updatedAt
string | null

Datetime the transport order was last updated

createdBy
string | null

ID of the user who created the transport order

reference
string | null

Reference code of the transport order

number
string | null

Transport order number

notes
string | null

Notes

statusId
string | null

ID of the transport order status

projectId
string | null

ID of the project

purchaseOrderId
string | null

ID of the purchase order

allocationOrderId
string | null

ID of the allocation order