---
updatedAt: 2026-05-18T14:43:51.000Z
agentTools:
  siteIndex: https://documentation.bloomreach.com/llms.txt
  projectIndex: https://documentation.bloomreach.com/data-hub/llms.txt
---

# Update items

Processes staged record changes into items for a specific item type. This operation is used when auto-publishing is disabled to explicitly control when record changes are published as items. This is an asynchronous operation that returns a job reference for tracking.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Bloomreach Item Collections API",
    "description": "API for Bloomreach Item Collections",
    "version": "1.0.0",
    "license": {
      "name": "unlisted",
      "identifier": "unlisted"
    },
    "contact": {
      "email": "support@bloomreach.com",
      "name": "Bloomreach",
      "url": "https://www.bloomreach.com/docs/item-collections"
    }
  },
  "servers": [
    {
      "url": "https://api.bloomreach.com",
      "description": "Server description"
    }
  ],
  "security": [
    {
      "basicAuth": []
    }
  ],
  "tags": [
    {
      "name": "Items",
      "description": "Operations with processed and validated items"
    }
  ],
  "paths": {
    "/api/cde/v1/workspaces/{workspace_id}/item-collections/{collection_name}/item-types/{item_type}/items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/workspace_id"
        },
        {
          "$ref": "#/components/parameters/collection_name"
        },
        {
          "$ref": "#/components/parameters/item_type"
        }
      ],
      "post": {
        "tags": [
          "Items"
        ],
        "summary": "Update items",
        "description": "Processes staged record changes into items for a specific item type. This operation is used when auto-publishing is disabled to explicitly control when record changes are published as items. This is an asynchronous operation that returns a job reference for tracking.",
        "operationId": "update_items",
        "parameters": [
          {
            "$ref": "#/components/parameters/family"
          },
          {
            "$ref": "#/components/parameters/on_success_trigger"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/EmptyJsonRequestBody"
        },
        "responses": {
          "202": {
            "description": "Successfully acknowledged the update items request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "$ref": "#/components/schemas/ResponseSuccessIndicator"
                    },
                    "data": {
                      "$ref": "#/components/schemas/Job"
                    },
                    "details": {
                      "$ref": "#/components/schemas/Details"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/ResponseMeta"
                    }
                  },
                  "required": [
                    "success",
                    "data",
                    "details",
                    "meta"
                  ]
                },
                "examples": {
                  "standard": {
                    "$ref": "#/components/examples/UpdateItemsStandardResponse"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ErrorResponse"
          },
          "401": {
            "$ref": "#/components/responses/ErrorResponse"
          },
          "403": {
            "$ref": "#/components/responses/ErrorResponse"
          },
          "404": {
            "$ref": "#/components/responses/ErrorResponse"
          },
          "429": {
            "$ref": "#/components/responses/RateLimitedResponse"
          },
          "500": {
            "$ref": "#/components/responses/ErrorResponse"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "Basic Authentication using API credentials. The credentials should be Base64-encoded in the format 'username:password' where username is the API group key name and password is the API group key secret."
      }
    },
    "parameters": {
      "workspace_id": {
        "name": "workspace_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid",
          "minLength": 36,
          "maxLength": 36,
          "title": "Workspace ID"
        },
        "description": "Unique identifier for the workspace",
        "example": "9700b29a-b475-4958-be43-38a03c5c741f"
      },
      "collection_name": {
        "name": "collection_name",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "string",
          "maxLength": 128,
          "title": "Collection Name"
        },
        "description": "Name of the collection",
        "example": "en_us"
      },
      "item_type": {
        "name": "item_type",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "string",
          "minLength": 1,
          "maxLength": 64,
          "title": "Item Type"
        },
        "description": "Type of the item. Currently only 'product' is supported.",
        "example": "product"
      },
      "family": {
        "name": "family",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "format": "string",
          "maxLength": 64,
          "default": "main"
        },
        "description": "The attribute family to include alongside system families. Defaults to 'main' if not specified.",
        "examples": {
          "main_family": {
            "summary": "Main family (default)",
            "description": "Include attributes from the main family",
            "value": "main"
          },
          "custom_family": {
            "summary": "Custom family example",
            "description": "Include attributes from a custom family like 'vendor' or 'marketing'",
            "value": "vendor"
          }
        }
      },
      "on_success_trigger": {
        "name": "on_success_trigger",
        "in": "query",
        "description": "Specifies actions to perform on successful completion of the operation. This parameter can be repeated to specify multiple triggers. These override any configured settings for the specific on success actions. For configuration updates, supported values include 'update-items' and 'update-destination-items'. For update-records jobs, supported values include 'update-items' and 'update-destination-items'. For update-items jobs, supported values include 'update-destination-items'. This is an open enumeration that may be extended with additional values.",
        "required": false,
        "explode": true,
        "schema": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "string",
            "maxLength": 64
          },
          "maxItems": 10,
          "examples": [
            [
              "update-items"
            ],
            [
              "update-items",
              "update-destination-items"
            ],
            [
              "update-destination-items"
            ]
          ]
        },
        "examples": {
          "update_items_only": {
            "summary": "Trigger items update only",
            "description": "Used with update-records to update items after record changes",
            "value": [
              "update-items"
            ]
          },
          "update_items_and_destinations": {
            "summary": "Trigger items update and destination sync",
            "description": "Used with update-records to update items and sync to destinations",
            "value": [
              "update-items",
              "update-destination-items"
            ]
          },
          "update_destinations_only": {
            "summary": "Trigger destination sync only",
            "description": "Used with update-items to sync items to destinations",
            "value": [
              "update-destination-items"
            ]
          }
        }
      }
    },
    "schemas": {
      "StandardPageLimit": {
        "type": "integer",
        "format": "int32",
        "maximum": 100,
        "minimum": 1,
        "default": 20,
        "title": "Standard Page Limit",
        "description": "Standard maximum number of items to return in a page, reusable across multiple endpoints"
      },
      "ResourcePath": {
        "type": "string",
        "format": "string",
        "maxLength": 2048,
        "title": "Resource Path",
        "description": "Fully qualified resource path following a hierarchical structure that uniquely identifies the resource and its position in the resource hierarchy",
        "examples": [
          "/bloomreach/organization/org_123/instances/cvy/workspaces/ws_456/item-collections/en_us",
          "/bloomreach/organization/org_123/instances/cvy/workspaces/ws_456/item-collections/en_us/item-types/product/families/main/records/rec123",
          "/bloomreach/organization/org_123/instances/cvy/workspaces/ws_456/item-collections/en_us/item-types/product/items/itm456"
        ]
      },
      "ResourceParent": {
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "format": "string",
            "title": "Parent ID",
            "description": "Core identifier for the parent resource. This may be a system-generated identifier (for example a workspace ID) or a named identifier value (for example an item collection name).",
            "example": "9700b29a-b475-4958-be43-38a03c5c741f"
          },
          "scope": {
            "type": "string",
            "format": "string",
            "maxLength": 64,
            "title": "Parent Scope",
            "description": "Scope of the parent resource (core types: workspace, item-collection, but extensible)",
            "examples": [
              "workspace",
              "item-collection"
            ]
          }
        },
        "type": "object",
        "required": [
          "id",
          "scope"
        ],
        "description": "Reference to a parent resource",
        "examples": [
          {
            "id": "9700b29a-b475-4958-be43-38a03c5c741f",
            "scope": "workspace"
          },
          {
            "id": "en_us",
            "scope": "item-collection"
          }
        ]
      },
      "Actor": {
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "format": "string",
            "title": "Actor ID",
            "description": "Unique identifier for the actor",
            "examples": [
              "user123",
              "api456",
              "system789"
            ]
          },
          "type": {
            "type": "string",
            "format": "string",
            "maxLength": 64,
            "title": "Actor Type",
            "description": "Type of actor (core types: api, user, system, but extensible)",
            "examples": [
              "api",
              "user",
              "system",
              "integration",
              "service"
            ]
          },
          "display_name": {
            "type": "string",
            "maxLength": 128,
            "minLength": 1,
            "format": "string",
            "title": "Actor Display Name",
            "description": "Human-readable name of the actor for display in UI",
            "examples": [
              "John Smith",
              "External API Client",
              "System Process"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ],
        "required": [
          "id",
          "type",
          "display_name"
        ],
        "title": "Actor",
        "description": "Represents an entity that performed an action",
        "examples": [
          {
            "id": "api456",
            "type": "api",
            "display_name": "External API Client"
          },
          {
            "id": "user123",
            "type": "user",
            "display_name": "John Smith"
          },
          {
            "id": "system789",
            "type": "system",
            "display_name": "System Process"
          },
          null
        ]
      },
      "ResourceMeta": {
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time",
            "maxLength": 64,
            "title": "Created At",
            "description": "Timestamp when the resource was created",
            "examples": [
              "2025-03-12T23:15:01.123456Z"
            ]
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "maxLength": 64,
            "title": "Updated At",
            "description": "Timestamp when the resource was last updated",
            "examples": [
              "2025-03-12T23:15:01.123456Z",
              null
            ]
          },
          "created_by": {
            "$ref": "#/components/schemas/Actor",
            "description": "Actor who created the resource",
            "summary": "Reference to the actor who created the resource"
          },
          "updated_by": {
            "$ref": "#/components/schemas/Actor",
            "description": "Actor who last updated the resource",
            "summary": "Reference to the actor who last updated the resource"
          }
        },
        "type": "object",
        "required": [
          "created_at",
          "updated_at",
          "created_by",
          "updated_by"
        ],
        "title": "Resource-Level Metadata",
        "description": "Resource lifecycle metadata containing creation, update, and actor information",
        "examples": [
          {
            "created_at": "2025-03-12T23:15:01.123456Z",
            "updated_at": "2025-03-12T23:15:01.123456Z",
            "created_by": {
              "id": "api456",
              "type": "api",
              "display_name": "External API Client"
            },
            "updated_by": {
              "id": "api456",
              "type": "api",
              "display_name": "External API Client"
            }
          },
          {
            "created_at": "2025-03-12T23:15:01.123456Z",
            "updated_at": "2025-03-13T10:45:23.789012Z",
            "created_by": {
              "id": "user123",
              "type": "user",
              "display_name": "John Smith"
            },
            "updated_by": {
              "id": "system789",
              "type": "system",
              "display_name": "System Process"
            }
          }
        ]
      },
      "Detail": {
        "properties": {
          "type": {
            "type": "string",
            "format": "string",
            "maxLength": 128,
            "title": "Detail Type",
            "description": "Unique error identifier prefixed with bloomreach/datahub/<general_classification>/<specific-error-short-name>",
            "examples": [
              "bloomreach/datahub/validation/invalid-format",
              "bloomreach/datahub/security/insufficient-permissions",
              "bloomreach/datahub/validation/missing-required-field"
            ]
          },
          "title": {
            "type": "string",
            "maxLength": 128,
            "format": "string",
            "title": "Detail Title",
            "description": "Short human-readable description of the issue",
            "examples": [
              "Invalid Format",
              "Resource Not Found",
              "Insufficient Permissions",
              "Missing Required Field"
            ]
          },
          "detail": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4096,
                "format": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail Message",
            "description": "Optional detailed explanation of the issue with specifics",
            "examples": [
              "Field 'name' must match pattern '^[a-z0-9_-]+$'",
              "Collection with ID '123' not found",
              "The 'name' field is required but was not provided in the request"
            ]
          },
          "severity": {
            "type": "string",
            "format": "string",
            "maxLength": 32,
            "title": "Detail Severity",
            "description": "Severity level of the detail",
            "examples": [
              "info",
              "warning",
              "error"
            ]
          },
          "status_code": {
            "type": "integer",
            "format": "int32",
            "minimum": 100,
            "maximum": 599,
            "title": "HTTP Status Code",
            "description": "HTTP status code associated with this detail",
            "examples": [
              400,
              401,
              403,
              404,
              422,
              500
            ]
          }
        },
        "type": "object",
        "required": [
          "type",
          "title",
          "severity",
          "status_code"
        ],
        "title": "Detail",
        "description": "Detail object following RFC 9457 format"
      },
      "Details": {
        "items": {
          "$ref": "#/components/schemas/Detail"
        },
        "type": "array",
        "maxItems": 100,
        "title": "Detail Messages",
        "description": "Error/warning/info details following RFC 9457 format",
        "example": []
      },
      "ResponseMeta": {
        "type": "object",
        "title": "Response-Level Metadata",
        "description": "Response envelope metadata containing pagination and response-level information",
        "properties": {
          "limit": {
            "$ref": "#/components/schemas/StandardPageLimit",
            "description": "The effective page size used for this response"
          },
          "next": {
            "type": "string",
            "maxLength": 2048,
            "format": "uri",
            "description": "URL to retrieve the next page of results, if available"
          },
          "prev": {
            "type": "string",
            "maxLength": 2048,
            "format": "uri",
            "description": "URL to retrieve the previous page of results, if available"
          }
        },
        "example": {}
      },
      "ResponseSuccessIndicator": {
        "type": "boolean",
        "title": "Success Flag",
        "description": "Indicates whether the operation was successful",
        "default": true,
        "examples": [
          true,
          false
        ]
      },
      "ResourceReference": {
        "type": "object",
        "description": "Reference to a resource",
        "properties": {
          "type": {
            "type": "string",
            "format": "string",
            "maxLength": 64,
            "description": "Type of the resource",
            "example": "item-collection"
          },
          "id": {
            "type": "string",
            "format": "string",
            "minLength": 1,
            "maxLength": 128,
            "description": "Identifier of the resource. The exact format depends on the resource type.",
            "example": "en_us"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "examples": [
          {
            "type": "item-collection",
            "id": "en_us"
          },
          {
            "type": "workspace",
            "id": "9700b29a-b475-4958-be43-38a03c5c741f"
          }
        ]
      },
      "Job": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "maxLength": 36,
            "title": "Job ID",
            "description": "Unique identifier for the job",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          "resource_path": {
            "$ref": "#/components/schemas/ResourcePath"
          },
          "parent": {
            "$ref": "#/components/schemas/ResourceParent",
            "description": "Parent resource of the job"
          },
          "resource": {
            "$ref": "#/components/schemas/ResourceReference",
            "description": "The resource that originated the job (if applicable)"
          },
          "target_resource": {
            "$ref": "#/components/schemas/ResourceReference",
            "description": "The resource the job operates against (if applicable)"
          },
          "type": {
            "type": "string",
            "format": "string",
            "maxLength": 128,
            "title": "Job Type",
            "description": "The type of job, which specifies the operation and expected behavior",
            "example": "item-collections/records-update"
          },
          "source": {
            "type": "string",
            "format": "string",
            "maxLength": 32,
            "title": "Job Source",
            "description": "Origin of the job (api: API call, ui: UI trigger, job: triggered by another job)",
            "example": "api"
          },
          "arguments": {
            "type": "object",
            "title": "Job Arguments",
            "description": "Immutable arguments provided when the job was created",
            "maxProperties": 32,
            "example": {
              "on_success_triggers": [
                "update-items"
              ]
            }
          },
          "properties": {
            "type": "object",
            "title": "Job Properties",
            "description": "Runtime properties and configuration specific to this job type",
            "maxProperties": 128,
            "example": {
              "update_mode": "full",
              "on_success_triggers": [
                "update-items",
                "update-destination-items"
              ]
            }
          },
          "state": {
            "type": "string",
            "format": "string",
            "maxLength": 32,
            "title": "Job State",
            "description": "Current execution state of the job (common values: pending, running, success, fail, skipped, canceled)",
            "example": "pending"
          },
          "stats": {
            "type": "object",
            "title": "Job Statistics",
            "description": "Metrics about job execution and results",
            "maxProperties": 128,
            "example": {}
          },
          "details": {
            "$ref": "#/components/schemas/Details",
            "description": "Information, warnings, or errors that occurred during job processing"
          },
          "status_code": {
            "type": "integer",
            "format": "int32",
            "minimum": 100,
            "maximum": 599,
            "title": "Status Code",
            "description": "Numeric status code of the job:\n* 101 - pending: Job currently pending\n* 102 - processing: Job currently in progress\n* 200 - success: Job completed successfully\n* 210 - success_with_warnings: Job completed successfully, but there are warnings\n* 305 - noop: No job action performed\n* 310 - skipped: Job was not needed due to other conditions\n* 400 - bad_job: Invalid job definition or input data\n* 440 - pre_condition: Failure due to pre-condition check\n* 450 - post_condition: Failure due to post-condition check\n* 500 - internal_error: An issue was encountered, job should be retried\n* 550 - fatal: Fatal error occurred, job should not be retried",
            "example": 101
          },
          "runnable_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "maxLength": 64,
            "title": "Runnable At",
            "description": "Timestamp when the job becomes eligible for processing. This is null when the job is created and may remain null depending on the job lifecycle state.",
            "example": null
          },
          "started_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "maxLength": 64,
            "title": "Started At",
            "description": "Timestamp when job execution began. This is null when the job is created and may remain null until processing starts or for lifecycle states that never begin execution.",
            "example": null
          },
          "completed_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "maxLength": 64,
            "title": "Completed At",
            "description": "Timestamp when job execution finished. This is null when the job is created and may remain null until processing completes or for lifecycle states that never complete.",
            "example": null
          },
          "meta": {
            "$ref": "#/components/schemas/ResourceMeta",
            "description": "Standard resource metadata"
          }
        },
        "required": [
          "id",
          "resource_path",
          "parent",
          "type",
          "source",
          "state",
          "status_code",
          "properties",
          "details",
          "meta",
          "runnable_at"
        ],
        "description": "Represents an asynchronous job in the system",
        "examples": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "resource_path": "/bloomreach/organization/org_123/instances/cvy/workspaces/9700b29a-b475-4958-be43-38a03c5c741f/jobs/123e4567-e89b-12d3-a456-426614174000",
            "parent": {
              "id": "9700b29a-b475-4958-be43-38a03c5c741f",
              "scope": "workspace"
            },
            "resource": {
              "type": "item-collection",
              "id": "en_us"
            },
            "target_resource": {
              "type": "item-collection",
              "id": "en_us"
            },
            "type": "item-collections/records-update",
            "source": "api",
            "arguments": {
              "on_success_triggers": [
                "update-items"
              ]
            },
            "properties": {
              "update_mode": "full",
              "patch_format": "json",
              "on_success_triggers": [
                "update-items",
                "update-destination-items"
              ]
            },
            "state": "pending",
            "stats": {
              "patch_bytes": 1248,
              "patch_operations_total": 8
            },
            "details": [],
            "status_code": 101,
            "runnable_at": null,
            "started_at": null,
            "completed_at": null,
            "meta": {
              "created_at": "2025-03-11T14:22:33.123456Z",
              "created_by": {
                "display_name": "External API Client",
                "id": "api456",
                "type": "api"
              },
              "updated_at": "2025-03-11T14:22:33.123456Z",
              "updated_by": {
                "display_name": "External API Client",
                "id": "api456",
                "type": "api"
              }
            }
          }
        ]
      }
    },
    "responses": {
      "ErrorResponse": {
        "description": "Standard error response format for normal application-level failures. In rare edge cases, such as malformed HTTP requests rejected before normal request handling completes, the API may return a more generic fallback error payload.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object"
            },
            "example": {}
          }
        }
      },
      "RateLimitedResponse": {
        "description": "Response format for rate limiting errors (429)",
        "headers": {
          "Retry-After": {
            "$ref": "#/components/headers/Retry-After"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "type": "object"
            },
            "example": {}
          }
        }
      }
    },
    "headers": {
      "Retry-After": {
        "description": "The time in seconds to wait before making another request after receiving a 429 response",
        "schema": {
          "type": "integer",
          "format": "int32",
          "minimum": 1,
          "maximum": 86400
        }
      }
    },
    "examples": {
      "UpdateItemsStandardResponse": {
        "summary": "Update Items Standard Response",
        "description": "Response when triggering an update items operation",
        "value": {
          "success": true,
          "data": {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "resource_path": "/bloomreach/organization/org_123/instances/cvy/workspaces/ws_456/jobs/123e4567-e89b-12d3-a456-426614174000",
            "parent": {
              "id": "9700b29a-b475-4958-be43-38a03c5c741f",
              "scope": "workspace"
            },
            "resource": {
              "type": "item-collection",
              "id": "en_us"
            },
            "target_resource": {
              "type": "item-collection",
              "id": "en_us"
            },
            "type": "item-collections/items-update",
            "source": "api",
            "arguments": {
              "family": "main",
              "on_success_triggers": [
                "update-destination-items"
              ]
            },
            "properties": {
              "family": "main",
              "on_success_triggers": [
                "update-destination-items"
              ],
              "oldest_records_job_id": "abc12345-e89b-12d3-a456-426614174000",
              "latest_records_job_id": "def67890-e89b-12d3-a456-426614174000",
              "records_jobs_count": 5
            },
            "state": "pending",
            "stats": {},
            "details": [],
            "status_code": 101,
            "runnable_at": null,
            "started_at": null,
            "completed_at": null,
            "meta": {
              "created_at": "2025-03-23T09:45:25.123456Z",
              "created_by": {
                "display_name": "External API Client",
                "id": "api456",
                "type": "api"
              },
              "updated_at": "2025-03-23T09:45:25.123456Z",
              "updated_by": {
                "display_name": "External API Client",
                "id": "api456",
                "type": "api"
              }
            }
          },
          "details": [],
          "meta": {}
        }
      }
    },
    "requestBodies": {
      "EmptyJsonRequestBody": {
        "description": "Empty request body as no additional parameters are required.",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {}
            },
            "example": {}
          }
        }
      }
    }
  }
}
```