バンドルの選択とアイテムの内訳

エンドツーエンドの事前定義されたバンドル購入のフェーズ2は、ユーザーが製品を選択した後に行われます。意図した購入の内訳を提供します。

説明

ユーザーが購入しようとしているバンドルを選択したら、バンドルの内容の明細内訳を表示して、アイテムごとの個別の価格とその説明をユーザーに提供する必要があります。以下の図と情報は、eSuiteからデータを取得し、それを組み合わせて関連データをユーザーに提供する方法のクライアント側の実装を示しています。

前提条件

  • eSuiteHQ内で構成された1つの定義済みバンドルです。 バンドルを作成これを実現する方法については、ドキュメントをご覧ください。

Workflows

 

認証

これらはクライアント側によるAPIのコールであるため、APIにはクライアント側の認証が使用されます。 API認証方法の詳細については、こちらをご覧ください:https://supportstaging.mppglobal.com/technical/esuite-rest-api-support/authenticating/

eSuite認証の前提条件

クライアント側アプリケーションがeSuiteクライアント側APIを呼び出すことができるようにするには、MPP Globalに以下を提供する必要があります:
  • Originsのリスト
eSuite MPP Global内で提供および登録されると、以下が提供されます:
  • Token ID
これらの設定は、環境によって異なるため、UAT環境と本番環境の両方に提供する必要があります。

API Documentation

Details on the APIs used in the above are detailed below.

Get Products

This API retrieves all products available against your client id. By default it will return everything, however, query string parameters are available, allowing you to limit the result set.

An example is shown below

GET https://{restHost}/api/products

Further information on this API can be found here.

Retrieve Cart by Reference

This API endpoint allows you to retrieve a cart (and associated line items) from the eSuite platform

An example is shown below

GET https://{restHost}/api/carts/cartReference

Further information on this API can be found here.