v1形式のSitecore Experience Commerce Postman APIコレクションがPostman v8以降でサポートされない


概要

Sitecore Experience Commerce Postman APIコレクションの一部はv1形式であり、Postman app V8以降ではサポートされていないため、Postmanコレクションの取り込みに失敗する可能性があります。

対策

解決策として、対象となるPostmanコレクションを、以下のようにバージョンv2.1.0に変換してください。

  1. 下記のページにNode.jsをダウンロードし、インストールします。
    https://nodejs.org/en/download/

  2. コマンドプロンプト又はPowershellで下記のコマンドを実行し、インストールを確認します。
    npm -v



  3. Node.jsのインストールを確認した後、コマンドプロンプトまたはPowershellで下記のコマンドを実行し、postman-collection-transformerをインストールします:

    npm install -g postman-collection-transformer
  4. postman-collection-transformerがインストールされたら、コマンドプロンプト又はPowershellで下記のコマンドを実行し、対象となるすべてのpostmanコレクションを変換します:

    postman-collection-transformer convert -i <Postmanコレクションファイルの入力パス> -o <Postmanコレクションファイルの出力パス> -j 1.0.0 -p 2.1.0 -P

    Postman-collection-transformerの詳細については「Converting Postman collections from v1 to v2」を参照してください。