Create a PartStockChange for a Work Order by its external reference (ERP Reference)

Creates a new part stock change entry (e.g. planned, reserved, or taken) for the Work Order identified by its external reference (ERP reference). Returns 409 if multiple Work Orders share the same external reference.

Path Params
string
required

The Work Order's external reference (ERP reference). Must be URL encoded.

Body Params
string
required

The part number

string
required

The storage asset number

number
required

The change amount

string

Optional comment for the stock change

string
enum
Defaults to planned

The type of stock change action. Defaults to planned.

Allowed:
Responses

400

Bad Request

403

Forbidden

404

Not Found

409

More than one Work Order with the same external reference (ERP reference) was found

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json