Skip to main content
POST
Create a draft assembly order

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Body

application/json
rfq_id
integer
required

ID of the finished product (SKU) to assemble

bom_id
integer
required

ID of a BOM attached to the finished product

warehouse_id
integer
required

ID of the warehouse (a top-level location)

quantity
number
required

Quantity to assemble. Must be greater than 0.

Required range: x > 0
location_id
integer | null

Destination bin in the warehouse. Defaults to the product's default bin, then the warehouse's default receiving bin.

warehouse_group_id
integer | null

Warehouse group to source components from; must contain the warehouse. Defaults to the tenant's default warehouse group when it contains the warehouse, otherwise the warehouse's first group.

uom_id
integer | null

One of the product's units of measure. Defaults to the product's purchase unit, then its base unit.

lot_id
integer | null

Finished-goods lot. Required for a lot-tracked product when the tenant requires finished-goods lots.

Response

The created draft assembly order

data
object

An assembly order. Disassembly orders are not returned by these endpoints.