Create Handling Class
Creates a Warehouse-scoped Handling Class. When code is omitted or blank, ShipStream
generates one from the name. Classification is scheduled after the save commits. Add
fields=conditions,conditions_readable to include canonical conditions in the created
resource.
Authorizations
Query Parameters
Select fields of the HandlingClass object. See the
selecting fields page for more information.
Specify fields of the HandlingClass object to include in the response.
all, name, code, sort_order, warehouses, conditions, referenced_product_profiles, conditions_readable, matched_count, classification, created_at, updated_at Specify fields of the referenced Warehouse objects to include under included.Warehouse. type and id are always returned. See the selecting fields page for more information.
Specify additional fields of the Warehouse object to be included in the response.
basic, all, id, name, is_active, abbreviation Specify fields of the referenced ProductProfile objects to include under included.ProductProfile. type and id are always returned. See the selecting fields page for more information.
Specify fields of an included ProductProfile object.
basic, all, name, code, conditions, conditions_readable, matched_count, classification, created_at, updated_at Body
A one-level OR-of-AND condition tree. The server accepts the {"and": [...]} shorthand
for a single group and always returns the canonical {"or": [{"and": [...]}]} form.
OpenAPI validates the structural envelope. ShipStream remains authoritative for available
Product fields, field/operator compatibility, option values, measurement units, raw CEL
validity, normalization, the limit of 64 condition rows across all groups, and the
65,535-byte compiled-expression limit. Editor clients can
load the applicable Product field catalogue from
GET /api/global/v1/inventory/product-profiles/condition-fields or
GET /api/global/v1/inventory/handling-classes/condition-fields.
- Option 1
- Option 2
Response
Handling Class created and Warehouse classification scheduled.
A Warehouse-scoped Product classification used by Slotting and Replenishment. Classification
is asynchronous: after conditions or Warehouse assignments change, poll the resource until
classification.status is up_to_date. Product changes flow through a separate asynchronous
changelog and may not appear immediately in materialized classification.