---
title: "SourceItems (Magento)"
description: "\u30BD\u30FC\u30B9\u30A2\u30A4\u30C6\u30E0"
language: ja
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ja/datamodels/magento/Magento.Inventory.SourceItems
original: https://documentation.invantive.eu/en/datamodels/magento/Magento.Inventory.SourceItems
updated: 2026-12-04T09:23:11Z
license: https://documentation.invantive.eu/ja/
---

# SourceItems: Magento ソースアイテム

`read only` `REST`

- カタログ：`Magento`
- スキーマ: `Inventory`
- 主キー：`sku`
- ラベル: ソースアイテム

SourceItems を SearchCriteria で検索 このオブジェクトには数量、ステータスなどの追加データが含まれるため（例: 追加フィールドで検索可能）、SourceItems を直接扱うためにこのメソッドが必要です

データの取得のみ可能です。

## 概要

SourceItems を SearchCriteria で検索 このオブジェクトには数量、ステータスなどの追加データが含まれるため（例: 追加フィールドで検索可能）、SourceItems を直接扱うためにこのメソッドが必要です

## APIソース

- エンドポイント: `/V1/inventory/source-items`
- 作戦名：`get /V1/inventory/source-items`

## 性能特性

| 特徴 | 値 |
|---|---:|
| 平均アクセス遅延（ms） | 43 |
| 全件スキャンの毎分行数 | 114,833 |
| ポイントクエリの毎分行数 | 1,384 |
| 書き込みの毎分行数 | 599 |

結果はクライアント側でキャッシュすることができます。

## パラメータ

| 名前 | データ型 | 必須 | デフォルト | ドキュメント |
|---|---|:---:|---|---|
| `searchCriteria[currentPage]` | `` | [ ] |  | 現在のページ。 |
| `searchCriteria[filterGroups][0][filters][0][conditionType]` | `` | [ ] |  | 条件の種類 |
| `searchCriteria[filterGroups][0][filters][0][field]` | `` | [ ] |  | フィールド |
| `searchCriteria[filterGroups][0][filters][0][value]` | `` | [ ] |  | 値 |
| `searchCriteria[pageSize]` | `` | [ ] |  | ページサイズ。 |
| `searchCriteria[sortOrders][0][direction]` | `` | [ ] |  | 並べ替えの方向。 |
| `searchCriteria[sortOrders][0][field]` | `` | [ ] |  | 並べ替えのフィールド。 |

## 表の列

テーブル `SourceItems` の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `extension_attributes` | `varchar2` | 拡張属性 | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `quantity` | `decimal` | 数量 | [ ] | プラットフォーム上のフィルター、書き込み可能、`quantity` | ソースアイテムの数量 |
| `sku` | `varchar2` | SKU | [ ] | プラットフォーム上のフィルター、書き込み可能、`sku` | ソースアイテムの SKU |
| `source_code` | `varchar2` | ソースコード | [ ] | プラットフォーム上のフィルター、書き込み可能、`source_code` | ソースコード |
| `status` | `int64` | ステータス | [ ] | プラットフォーム上のフィルター、書き込み可能、`status` | ソースアイテムのステータス (self::STATUS_* のいずれか) |

## Queryの例

```sql
select sim.sku
,      sim.source_code
,      sim.quantity
from   Magento.Inventory.SourceItems sim
where  sim.status = 1
and    sim.quantity < 5
```
