Skip to main content
PUT
Upsert multiple BOM lines

Authorizations

X-API-Key
string
header
required

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

Query Parameters

update
string[]
required

Columns to overwrite when the row already exists. Repeat the parameter for each column: a single comma-separated value is read as one column name and fails at the database. Without the parameter the request is rejected with 400.

Body

application/json
itemId
string<uuid>
required
id
string<uuid>

Optional client-supplied ID.

isArchived
boolean
name
string
identifier
string
routeDeliverableId
string<uuid> | null
orderDeliverableId
string<uuid> | null
projectId
string<uuid> | null
mode
enum<string>
Available options:
ratio,
total
scaling
enum<string>
Available options:
per_unit,
per_order
outputPerUnit
number | null
Required range: x > 0
quantity
number | null
Required range: x > 0
quantityActual
number
unitMeasureId
string<uuid> | null
poNumber
string | null
subOrderRef
string | null
source
enum<string>
Available options:
manual,
import,
route_template,
adhoc
sortOrder
number
notes
string | null
metadata
object

Response

Successful response.

values
object[]