Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Shop Merchant Products

Dokumentacja API
https://api.sandbase.ai/v1/api/shop-app/merchant-products

Retrieves one page of a merchant's in-stock product listing, sorted by the site's most-sales order, in a single upstream request.

Cena
$0.03USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 2 opcjonalnych

Playground

Wejście
Merchant numeric ID from get_merchant_info or get_search_autocomplete results.
Pagination cursor taken unchanged from a previous response's endCursor field. Omit or leave empty for the first page.
Number of products to retrieve per page; must be an integer from 1 to 100, other values are rejected before any request.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Shop Merchant Products API

Retrieves one page of a merchant's in-stock product listing, sorted by the site's most-sales order, 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/merchant-products", "broker_id": "9658745"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
broker_idstringYesMerchant numeric ID from get_merchant_info or get_search_autocomplete results.
afterstringNoPagination cursor taken unchanged from a previous response's endCursor field. Omit or leave empty for the first page.
firstintegerNoNumber of products to retrieve per page; must be an integer from 1 to 100, other values are rejected before any request.

Pricing

Flat $0.03 per call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON

Pytania

FAQ

Jak używać API Shop Merchant Products?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/shop-app/merchant-products z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Shop Merchant Products?

$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Shop Merchant Products?

Wymagane: broker_id (string). Opcjonalne: after (string) i first (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Shop Merchant Products?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Shop lub klucza API?

Nie. Shop Merchant Products działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Shop.