Update a routing

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Database ID of the resource

Body Params

Partial update for a routing.

If operations is omitted, existing operations remain unchanged.
If operations is provided, send the complete operation set: existing operations with their operation_id, plus any new operations without operation_id.
Existing operations omitted from the submitted array are deleted.

string

A unique number to identify the routing.

string

Name of the routing.

boms
array of integers

IDs of BOMs that are suitable for this routing.

boms
number

A cost of starting the operation that does not depend on the quantity of finished products.

number

Additional cost of each finished product.

number

A quantity of finished products that are produced simultaneously. Required when variable_cost is provided.

operations
array of objects

Array of routing operations.

If you update existing routing, you should provide either all operations
(both updated and not updated with their operation IDs) or no operations
(existing operations will remain).

If you provide operations, then each operation that has existing
operation ID will be updated, operations without operation ID will be
created and old operations that were not found by ID among provided ones
will be deleted.

operations
Responses
202

Routing updated

404

Resource not found

429

Rate limited - another request is running

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