Shop Homepage Featured Products
https://api.sandbase.ai/v1/api/shop-app/homepage-featured-productsRetrieves featured products from the shop.app homepage feed (the product shelves shown to an anonymous visitor, such as trending stores, deals and category shelves) in a single upstream request.
- 料金
- $0.03USD / 回
- メソッド
- POST
- レスポンス
- JSON
- パラメータ
- 必須 0 件 · 任意 0 件
プレイグラウンド
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
API README
Shop Homepage Featured Products API
Retrieves featured products from the shop.app homepage feed (the product shelves shown to an anonymous visitor, such as trending stores, deals and category shelves) in a single upstream request.
Request
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "shop-app/homepage-featured-products"}'
The result is returned in outputs[0].data.
Parameters
| Name | Type | Required | Description |
|---|
Pricing
Flat $0.03 per call. Failed calls are not charged.
開発を始める
最初のリクエストを送信
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/shop-app/homepage-featured-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. 認証
SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
3. パラメータ
このAPIのパラメータスキーマは公開されていません。
4. レスポンス
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
関連 APIs
| API | 価格 | レスポンス |
|---|---|---|
Shop | $0.03 / 回 | JSON |
Shop | $0.03 / 回 | JSON |
Shop | $0.03 / 回 | JSON |
Shop | $0.03 / 回 | JSON |
Shop | $0.03 / 回 | JSON |
Shop | $0.03 / 回 | JSON |
質問
FAQ
Shop Homepage Featured Products API はどのように使いますか?
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/shop-app/homepage-featured-products に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
Shop Homepage Featured Products API の料金はいくらですか?
1回あたり $0.03、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
Shop Homepage Featured Products API はどのパラメータを受け付けますか?
Shop Homepage Featured Products は入力パラメータを取りません。空の JSON ボディを送信してください。
Shop Homepage Featured Products API は何を返しますか?
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。
Shop の開発者アカウントまたは API key は必要ですか?
いいえ。Shop Homepage Featured Products は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Shop の API アクセスを別途申請する必要はありません。
