Skip to main content
POST
Create one or more trucks

Authorizations

X-API-Key
string
header
required

Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.

Body

application/json
name
string
required
id
string<uuid>

Optional client-supplied ID.

isArchived
boolean
identifier
string
code
string | null
type
enum<string>
Available options:
tractor,
box_truck,
flatbed_truck,
stake_truck,
pickup,
van,
other
status
enum<string>
Available options:
active,
inactive
maxPayloadLb
integer | null
emptyWeightLb
integer | null
deckLengthFt
number | null
deckWidthFt
number | null
maxHeightFt
number | null
notes
string | null
metadata
object

Response

Successful response.

value
object
required