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

build
string
required
operation
string
required

Body

application/json

How an operation of a build finished: how many came out good, how many were scrapped and, when any were, why.

good_quantity
string
required

How many came out good, in the item's base unit: an exact decimal of zero or more. The next operation takes at most this many.

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

How many were scrapped: an exact decimal of zero or more, 0 when left out. Good and scrapped together are at most what the operation could take.

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

Why they were scrapped, needed when any were.

Maximum string length: 1000
checks
object[] | null

The checks recorded as it finished. A failed check is kept and does not stop it.

Maximum array length: 50

Response

BuildResource

data
BuildResource · object
required