Skip to main content
POST
Record work order material scrap

Authorizations

Authorization
string
header
required

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

Path Parameters

workOrderId
integer
required

ID of the work order.

Body

application/json
component_sku_id
integer
required

SKU of the component being scrapped.

quantity_scrapped
number
required

Quantity of the component scrapped. Must be at least 0.0001.

Required range: x >= 0.0001
work_order_step_requirement_id
integer | null

Optional work order step requirement the scrap is attributed to.

scrap_reason
string | null

Optional reason for the scrap.

notes
string | null

Optional free-form notes.

Response

Created

data
object