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

workCenter
string
required

Body

application/json

What a work center is: its code and name, where it is, its hours by day of the week and its rates per hour.

code
string
required

Unique among the organization's work centers, whatever its case, such as SAW-1.

Maximum string length: 32
name
string
required
Maximum string length: 255
location
string
required

The id of the active stock location it is at.

Maximum string length: 64
hours
object
required

The hours it is available on each day of the week.

labor_rate
string
required

What an hour of labor costs there, in the organization's currency: an exact decimal of zero or more.

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

What an hour of overhead costs there, in the organization's currency: an exact decimal of zero or more.

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

Response

WorkCenterResource

data
WorkCenterResource · object
required