Skip to main content
POST
Add an item to a work order: a description and a quantity, not linked to parts or stock.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Add an item to a work order: a description and a quantity, not linked to parts or stock. The caller chooses the new item's id, so an item added offline can be corrected before it syncs; adding the same id to the same job again returns the item unchanged. Refuses a finished job.

p_description
string<text>
required
p_item_id
string<uuid>
required
p_work_order_id
string<uuid>
required
p_quantity
number<numeric>

Response

200

OK