Repricing Class
Order Management の注文の価格変更に関する機能を実行します。
名前空間
Repricing のメソッド
Repricing のメソッドは次のとおりです。すべてのメソッドが静的です。
productDetails(webstoreId, skuOrProductId, effectiveAccountId, currencyCode, locale)
API バージョン
55.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ProductDetailsOutputRepresentation productDetails(String webstoreId, String skuOrProductId, String effectiveAccountId, String currencyCode, String locale)
パラメーター
- webstoreId
- 型: String
- Web ストアの ID。
- skuOrProductId
- 型: String
- 商品の SKU または ID。
- effectiveAccountId
- 型: String
- 有効な取引先 ID。B2B ストアで必要です。他のストアの場合は null を渡します。
- currencyCode
- 型: String
- ISO 通貨コード。null を渡すと、ストアのデフォルト値が使用されます。
- locale
- 型: String
- ロケール。null を渡すと、ストアのデフォルト値が使用されます。
- excludeAttributeSetInfo
- 型: String
- 商品の属性セット情報を返すかどうかを示します。
searchProducts(webstoreId, searchTerm, pageParam, pageSize, effectiveAccountId, facets)
Web ストアの商品を検索します。
API バージョン
59.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ProductSearchOutputRepresentation searchProducts(String webstoreId, String searchTerm, Integer pageParam, Integer pageSize, String effectiveAccountId, String facets)
パラメーター
- webstoreId
- 型: String
- WebStore の ID。
- searchTerm
- 型: String
- 検索で使用される期間。
- pageParam
- 型: Integer
- 返される検索結果ページの最大数。値を指定しない場合、デフォルトは 1 です。
- pageSize
- 型: Integer
- ページあたりの項目数。有効な値は 1 ~ 100 です。値を指定しない場合、デフォルトサイズは 20 です。
- effectiveAccountId
- 型: String
- 要求が行われた取引先の ID。指定しない場合、デフォルトで、コンテキストユーザーの accountID になります。
- facets
- 型: String
- 検索を絞り込むファセット名のリスト。たとえば、["size_medium", "color_red"] は WyJzaXplX21lZGl1bSIsICJjb2xvcl9yZWQiXQ== にエンコードされます。