Bulk create item types

Creates multiple item types in one request. All-or-nothing: if any entry is invalid the entire request fails with 400; if any name duplicates an existing type in the collection the entire request fails with 409.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
length between 36 and 36

Unique identifier for the workspace

string
required
length ≤ 128

Name of the collection

Body Params

List of item type definitions to create together. The request succeeds or fails as a whole.

Non-empty list of item types to create in one request. All-or-nothing: if any entry is invalid the entire request fails with HTTP 400; if any name duplicates an existing type in the collection the entire request fails with HTTP 409.

BulkCreateItemTypesRequest

Request body for creating a single item type. Requires name and item_class.

string
required
length between 1 and 16
^[a-z][a-z0-9_]{0,15}$

Immutable public identifier used in External item-type-scoped API paths. Unique within a collection. Must start with a lowercase letter and contain only lowercase letters, digits and underscores, at most 16 characters (^[a-z][a-z0-9_]{0,15}$). Names starting with 'br_' are reserved.

string
enum
required

Classification of the item type. Required on create. Immutable after creation. Use product for catalog product types; use custom for user-defined types.

Allowed:
string
length between 1 and 128

Human-readable name for display in UI. Optional; when omitted defaults to name.

length between 0 and 1024

Optional detailed description of the collection's purpose and contents

relationships
array of strings, unique
length ≤ 1
Defaults to []

Parent-child relationships for product item types. Only variant is supported. Custom item types always return an empty array and cannot set relationships on create.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

© Bloomreach, Inc. All rights reserved.