Stores

Modify store items

Applies bulk item operations to a specific store.

patch/stores/{store_id}/items

Request

  • Base URL
    https://api.metorial.com
  • Auth
    HTTP bearer

Path parameters

store_idstring required

Unique identifier of the store.

Headers

Metorial-Versionstring
Example:2025-01-01

Pin the dated API version for this request, e.g. 2025-01-01. Defaults to the version configured for the environment.

Request body

Response

Successful response

object'list(store.item)' required

String representing the object's type

Example response

{
  "items": [
    {
      "file": {
        "id": "fil_9jKlMnPqRsTuVwXy",
        "file_name": "company-logo.png",
        "file_size": 245760,
        "file_type": "image/png",
        "title": "Company Logo",
        "purpose": "organization_logo",
        "created_by": {
          "organization_actor": {
            "id": "omem_5fGhJkLmNpQrStUv",
            "organization_id": "org_7hNkPqRsTuVwXyZa",
            "name": "Alex Chen",
            "email": "alex.chen@acme.com",
            "image_url": "https://avatar-cdn.metorial.com/aimg_1234567890",
            "member": {
              "id": "ome_7hNkPqRsTuVwXyZa"
            },
            "teams": [
              {
                "id": "tm_3eFgHjKlMnPqRsTu",
                "name": "Engineering",
                "slug": "engineering",
                "assignment_id": "tmas_8jKlMnPqRsTuVwXy"
              }
            ]
          }
        }
      },
      "document": {
        "created_by": {
          "organization_actor": {
            "id": "omem_5fGhJkLmNpQrStUv",
            "organization_id": "org_7hNkPqRsTuVwXyZa",
            "name": "Alex Chen",
            "email": "alex.chen@acme.com",
            "image_url": "https://avatar-cdn.metorial.com/aimg_1234567890",
            "member": {
              "id": "ome_7hNkPqRsTuVwXyZa"
            },
            "teams": [
              {
                "id": "tm_3eFgHjKlMnPqRsTu",
                "name": "Engineering",
                "slug": "engineering",
                "assignment_id": "tmas_8jKlMnPqRsTuVwXy"
              }
            ]
          }
        }
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.