Patch item type

Updates display_name, description, and relationships for an existing item type. Only fields present in the request body are changed. name and item_class cannot be changed; requests that include either field are rejected. relationships may only be sent for item types with item_class product.

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

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

Item type name within the collection. On item-type resource routes (GET, PATCH, DELETE /item-types/{item_type}) and item-type-scoped data routes (/item-types/{item_type}/records, /items, /configurations, etc.), the name must match a configured item type; otherwise HTTP 404 is returned with type item-type-not-found. Legacy collection-scoped configuration routes that imply product without an item_type path segment do not return item-type-not-found; they resolve product implicitly and may return configuration-not-found instead. When custom item types are disabled, only product is accepted on data routes; other syntactically valid names return HTTP 400 with type item-type-unsupported.

Body Params

Item type fields to update. Only display_name, description, and relationships may be sent.

Partial update for an existing item type. Only fields present in the request body are changed. display_name, description, and relationships may be updated. name and item_class cannot be changed. relationships may only be sent for item types with item_class product; requests that include relationships for custom item types are rejected.

length between 1 and 256

Human-readable name for the collection

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.