Skip to main content
POST
Create Slot Type

Authorizations

Authorization
string
header
required

Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.

Query Parameters

fields
enum<string>[]

Specify additional fields of the SlotType object to be included in the response.

Available options:
basic,
all,
name,
is_pickable,
sort_order,
patterns,
is_fixed_capacity,
slot_dimensions,
weight_capacity,
created_at,
updated_at

Body

application/json
name
string
required

The descriptive name of the slot type.

Maximum string length: 45
Example:

"Pickable Pallets"

is_pickable
boolean

Whether locations of this type are easy to pick from. Defaults to true.

Example:

true

sort_order
integer

The order in which this slot type's auto-assign patterns are tested, lowest first; among slot types sharing a sort order the newest is tested first. Defaults to 65535 (the maximum) so a new slot type is tested after every explicitly ordered type, but ahead of any older type also left at the maximum — including the built-in match-all Default type.

Required range: 0 <= x <= 65535
Example:

10

patterns
SlotTypePattern · object[]

Label patterns that automatically assign this slot type to matching locations. Stored in a canonical order rather than the submitted one.

is_fixed_capacity
boolean

Whether slots of this type hold a fixed, known amount. Defaults to false.

Example:

true

slot_dimensions
DimensionsWHDNonNegative · object | null

Interior dimensions that describe physical extents, so none of them may be negative. All three axes are supplied together; send null rather than a partial object to clear them.

weight_capacity
WeightNonNegative · object | null

A weight that describes a capacity or an allowance rather than a measurement, and so cannot be negative. Send null rather than an object without a value to clear a stored weight.

Response

Slot type created.

resource
SlotType · object

The SlotType object allows locations with common attributes or purposes to be easily distinguishable. The slot type also determines if a location is pickable or not which may affect whether or not the location can be reserved for shipments when creating a batch.

A slot type may additionally declare a fixed physical capacity, which drives slot capacity and utilization calculations, and a list of label patterns that auto-assign the type to matching locations.