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

plan
string
required

Body

application/json

An inspection plan to add or change.

name
string
required
Maximum string length: 120
point
enum<string>
required

receipt, operation or build.

Available options:
receipt,
operation,
build
sampling
enum<string>
required

all, fixed or aql.

Available options:
all,
fixed,
aql
characteristics
object[]
required

What it checks, 1 to 20.

Required array length: 1 - 20 elements
item
string | null

The item it inspects, by id or SKU. A receipt plan names an item, a family, a supplier or a mix; a build plan an item or a family.

Maximum string length: 64
family
string<uuid> | null

The item family it inspects, by id.

supplier
string | null

For a receipt plan, the supplier whose goods it inspects, by id or code.

Maximum string length: 64
work_center
string<uuid> | null

For an operation plan, the work center whose operations it inspects after, by id.

sample_count
integer | null

For a fixed sample, how many units.

Required range: 1 <= x <= 100000
inspection_level
enum<string> | null

For AQL sampling, the MIL-STD-105E inspection level: S-1, S-2, S-3, S-4, I, II or III.

Available options:
S-1,
S-2,
S-3,
S-4,
I,
II,
III
aql
enum<string> | null

For AQL sampling, the AQL as MIL-STD-105E prints it, from 0.010 to 1000, such as 2.5.

Available options:
0.010,
0.015,
0.025,
0.040,
0.065,
0.10,
0.15,
0.25,
0.40,
0.65,
1.0,
1.5,
2.5,
4.0,
6.5,
10,
15,
25,
40,
65,
100,
150,
250,
400,
650,
1000,
null
first_article
boolean | null

Inspect only the first lot from each supplier, or of each BOM revision.

instructions
string | null
Maximum string length: 5000

Response

PlanResource

data
PlanResource · object
required