Create LocationSchema
Create LocationSchema.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
EARLY-ACCESS
Set to true to access beta operations via /api/v3.
Request
This endpoint expects an object.
description
A human-readable description of the schema. At most 1000 characters.
organizationId
The API ID of the organization this schema belongs to. The organization must exist and be accessible to the caller.
prefix
The prefix used for auto-generating barcodes for inventory items of this schema. Must be unique within the registry and cannot end in a digit.
fieldDefinitions
name
The user-facing name of the schema. Must be non-empty after stripping whitespace, at most 255 characters, and unique within the organization.
systemName
The SQL identifier used as the warehouse table name. If not provided, one is auto-generated from the display name. Must match the pattern [a-z_][a-z0-9_$]*, cannot be a reserved table name, cannot start with ‘bnch$’, and must be unique within the organization.
displayNameDeprecated
Deprecated. Use name instead.
Response
Created
__typename
archiveReason
archived
createdAt
description
A description of the schema.
fieldDefinitions
id
modifiedAt
name
prefix
registry
systemName
A unique, stable identifier for this schema used for programmatic access and integrations.
type
Errors
400
Location Schema Create Request Bad Request Error
403
Location Schema Create Request Forbidden Error
404
Location Schema Create Request Not Found Error
409
Location Schema Create Request Conflict Error
429
Location Schema Create Request Too Many Requests Error
500
Location Schema Create Request Internal Server Error