Skip to main content
POST
Return unused stock from a job, to the store it came from.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Return unused stock from a job, to the store it came from.

A job may draw one part from more than one store, so the return is split across them by what each gave this job, most recent first, and each share rejoins its store at the cost it left at. No more can be returned than was issued and has not already come back.

p_part_id
string<uuid>
required
p_quantity
number<numeric>
required
p_work_order_id
string<uuid>
required
p_client_operation_id
string<uuid>
p_device_id
string<uuid>
p_reason_code
string<text>

Response

200

OK