Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

For your own scripts and server-to-server integrations. Create a key in the app under Settings > Access > API keys and copy it then, because it is shown once. Send it as Authorization: Bearer <key>. The key acts as the member who made it, in the organization it was made in. A call needs the member's permission and one of the key's scopes, such as inventory:read or sales:write. A key with * has every scope.

Path Parameters

revision
string
required

Body

application/json

An operation of a routing: where in the routing, what it is called, where it is done, how long it takes and how to do it.

name
string
required
Maximum string length: 255
work_center
string
required

An active work center: its id or code.

Maximum string length: 64
setup_minutes
string
required

Minutes to set up, once per build: an exact decimal of zero or more.

Pattern: ^\d{1,20}(\.\d{1,20})?$
run_minutes
string
required

Minutes to run each unit of the BOM's item: an exact decimal of zero or more.

Pattern: ^\d{1,20}(\.\d{1,20})?$
sequence
integer | null

Its place in the routing, unique on the revision. Left out, a new operation goes 10 after the last and a changed one stays where it is.

Required range: 1 <= x <= 99999
instructions
string | null

How to do it, in words. Files go with it separately.

Maximum string length: 10000

Response

RoutingResource

data
RoutingResource · object
required