דילוג לתוכן
תמיד שמחים לייעץ

סל הקניות שלך

הטיול שלך עומד להראות אחרת

הסל שלך ריק כרגע, אבל בקרוב הוא יתמלא בציוד טיולים מקצועי

מוצר זה קיבל את תו ההמלצה של דרך ארץ
תמורה מעולה למחיר

טיפ:

חפשו את תו ההמלצה שלנו על גבי המוצרים כדי למצוא את המוצרים שנותנים את התמורה הכי גדולה למחיר

Derech Eretz API – Developer Docs

עמוד זה מיועד למפתחים ולסוכני AI: תיעוד ה-API הציבורי של דרך ארץ ושרת ה-MCP לקנייה באמצעות סוכנים.

Derech Eretz API

Derech Eretz (deer.co.il) is an Israeli outdoor, hiking and camping gear store. Its catalog, search and cart are available through a public HTTP API, a Storefront GraphQL API and an MCP server for AI agents. Prices are in ILS.

Machine-readable resources

Authentication

Catalog, collection and search endpoints are public and need no key. Cart endpoints use the anonymous session cookie cart. Actions on behalf of a signed-in buyer use OAuth 2.0 (authorization code with PKCE) through the authorization server https://shopify.com/authentication/76661260512. Supported scopes:

  • openid, email – sign-in
  • customer-account-api:full – the buyer's orders, addresses and profile
  • customer-account-mcp-api:full – customer account MCP tools
  • dev.ucp.shopping.catalog.search:read – catalog search for the buyer
  • dev.ucp.shopping.checkout:manage – carts and checkouts for the buyer

Request only the scopes you need. Place orders and submit payment only with the buyer's explicit approval.

Endpoints

Method Path Purpose
GET /products.json?limit=30&page=1 List products
GET /products/{handle}.js One product with variants and stock
GET /collections/{handle}/products.json Products in a collection (all = whole catalog)
GET /search/suggest.json?q=…&resources[type]=product Predictive search
GET /cart.js Current session cart
POST /cart/add.js Add variants to the cart
POST /api/2026-10/graphql.json Storefront GraphQL API (tokenless for public data)
POST /api/ucp/mcp MCP server for AI agents (JSON-RPC 2.0)

Example requests

curl "https://deer.co.il/collections/tents-sleeping-bags-and-camping-gear/products.json?limit=5"

curl -X POST https://deer.co.il/api/2026-10/graphql.json \
  -H "Content-Type: application/json" \
  -d '{"query":"{ products(first: 5) { nodes { title handle } } }"}'

curl -X POST https://deer.co.il/api/ucp/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Rules for agents

  • Identify agent traffic with Web Bot Auth.
  • On HTTP 429, back off and respect Retry-After.
  • Store policies: terms, privacy, shipping, refunds.

Platform reference: Shopify Storefront API, Shopify agent docs.