Skip to main content
PUT
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
operation
string
required

Body

application/json

Who does an operation of a routing: a supplier, the service bought from it and its price, or no supplier to do it in house.

supplier
string | null

An active supplier: its id or code. Left out or null, the operation is done in house.

Maximum string length: 64
service_item
string | null

The service bought from the supplier, a Catalog item of type service: its id or SKU. Needed with a supplier.

Maximum string length: 64
price
string | null

Per base unit of the service: an exact decimal of zero or more. Needed when the supplier's catalog has no price for it; its catalog price is used on the order when it has one.

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

Response

RoutingResource

data
RoutingResource · object
required