# ショップによる商品画像の一括更新

ショップの管理者は管理画面から商品画像をアップロードし、CSVファイルをインポートすることにより商品画像を一括更新できます。

***

### 商品画像のアップロード

ショップ向け管理画面から、一括更新に使用する商品画像をアップロードします。

{% @supademo/embed demoId="cm3w9z7ff1v7g3vuklqo9rv5q" url="<https://app.supademo.com/demo/cm3w9z7ff1v7g3vuklqo9rv5q>" %}

{% hint style="warning" %}
エクスポート用画像とインポート用画像を分けて管理するために、インポート用画像をアップロードするためのフォルダを新規作成することをおすすめします。
{% endhint %}

***

## CSVファイルの作成

<figure><img src="/files/PCtTZ3u4gOUIrYfHKUF9" alt=""><figcaption></figcaption></figure>

以下のフォーマットでCSVファイルを作成します。

<table><thead><tr><th width="240">項目名</th><th>説明</th></tr></thead><tbody><tr><td>Product code</td><td>商品コード</td></tr><tr><td>Pair type</td><td>画像タイプ :<br><strong>M : メイン画像</strong><br><strong>A : 追加画像</strong></td></tr><tr><td>Thumbnail</td><td>サムネイル画像が保管されているサーバーのパス<br>※ サムネイルは自動で生成されるので通常は指定不要</td></tr><tr><td>Detailed image</td><td>商品画像が保管されているサーバーのパス<br>例 : <em><strong>exim/import/sample.png</strong></em> のように記述</td></tr></tbody></table>

{% hint style="warning" %}
**事前に商品コードの登録が必要です**

商品画像更新用CSVをインポートする前に、更新対象の商品に**商品コード**が設定されている必要があります。
{% endhint %}

<figure><img src="/files/b6z6hnsCcBkv6OuZQ8dP" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
***Detailed image に ディレクトリ名を含めない場合***

Detailed images カラムにディレクトリ（フォルダ）名を含めず、sample.jpg のようにファイル名のみを記述した場合、CSVファイルをインポートする際に指定する「画像用ディレクトリ」に指定したディレクトリに画像を保存されているものと見なしてインポートが行われます。
{% endhint %}

***

### CSVファイルのインポート

管理画面からCSVファイルをインポートすると、商品画像が一括更新されます。

{% @supademo/embed demoId="cm3wc15bp1vc13vukbfoaeg72" url="<https://app.supademo.com/demo/cm3wc15bp1vc13vukbfoaeg72>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual-admin.cs-cart.jp/tips/bulk_update_selller_product_image.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
