Skip to main content
POST
Create a stage

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

Station name, for example Welding.

shopId
string<uuid>
required

Department the station belongs to.

maxOrderCapacity
integer
required

How many orders the station can hold at once. Zero or greater.

Required range: x >= 0
id
string<uuid>

Unique id. Generated on create unless you supply one.

description
string | null

What happens at this station.

costCode
string | null

Cost code. Trimmed on write, and an empty string is rejected: send a non-empty string or null.

Stored as a plain string. It is not validated against the cost code list, and renaming an entry in that list does not change this value.

isArchived
boolean
default:false

Archived stations are hidden from list results unless you ask for them.

createdAt
string<date-time>

When the record was created.

updatedAt
string<date-time>

When the record last changed.

Response

The created stage. An array request returns values instead of value.

value
object
required

A reusable shop station, scoped to one department.