Black November: 10% kedvezmény 2 terméktőlA teljes rendelésedre érvényes, november 30-ig.

ByMetz API for AI agents and developers

ByMetz is a family-run bag and luggage retailer from Eindhoven, the Netherlands, founded in 1974. This page explains how AI assistants, shopping agents and developers can read the ByMetz catalogue through the ByMetz Storefront API and help shoppers buy. Reading is free and open: no sign-up, no account and no credentials. A purchase is always approved by the buyer. This documentation is in English in every language version of the store; the catalogue, prices and policies themselves are available in all 20 languages.

Start here

  • /agents.md: the canonical agent-facing description of the store: what ByMetz sells, when to use it, the commerce protocol, read-only URLs and policies. /llms-full.txt serves the same content.
  • /llms.txt: a short index in the llms.txt format, with when to use ByMetz and when not.
  • /openapi.json: the OpenAPI 3.1 description of the ByMetz Storefront API, with every endpoint on this page including Storefront GraphQL, the OAuth scopes and the error shapes.
  • Storefront GraphQL: the versioned API, POST https://bymetz.nl/api/2026-10/graphql.json, open without a token.
  • WebMCP tools: every page of the store registers tools for browser agents (search, product details, cart, checkout hand-off, store facts).

Discovery files

  • /ard.json: an Agentic Resource Discovery catalog (ARD v0.91) with the MCP server, the Storefront API, the agent guide and the UCP profile. Every page links it with <link rel="ard">.
  • /mcp-server-card.json: the server card of the MCP endpoint https://bymetz.nl/api/ucp/mcp (name, description, version, transport).
  • /api-catalog.json: an API catalog in the RFC 9727 linkset format, linked with <link rel="api-catalog">.
  • /auth.md: how an agent gets access, in the auth.md format. Short version: no credentials for anything on this page; OAuth through Shopify only for a signed-in customer account.
  • https://api.bymetz.nl/v1: a versioned JSON index of these APIs. That host is rate limited at 60 requests per minute per IP, sends RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, RateLimit-Policy and RateLimit on every response and Retry-After with a 429, and answers unknown paths with a JSON error.
  • Shopify doesn't serve custom files under /.well-known/, so these files live at the root of the domain. /.well-known/ucp and the OAuth metadata are Shopify's own and do answer there.

Access and pricing

  • Free. There is no paid plan, no usage fee and no tier to choose.
  • No onboarding: no sign-up, no account and no credentials. Call the endpoints below directly; the first request works.
  • No sandbox is needed: the endpoints read public catalogue data or create an anonymous cart, and a test call never creates an order.
  • Buying (cart, checkout and payment) runs through Storefront GraphQL carts or the commerce protocol below and the Shopify checkout, and always needs the buyer's approval.

First call, no key needed (returns the shop name):

curl -X POST https://bymetz.nl/api/2026-10/graphql.json \
  -H 'Content-Type: application/json' \
  -d '{"query":"{ shop { name } }"}'

Storefront GraphQL (versioned, no token)

Shopify's Storefront GraphQL API answers on the ByMetz domain without a token. Use it when the JSON endpoints below aren't enough.

  • Endpoint: POST https://bymetz.nl/api/{version}/graphql.json with Content-Type: application/json and a body {"query": "...", "variables": {...}}. Newest stable version on 31 October 2026: 2026-10.
  • Covers products and collections, search, pages, blogs and articles, and carts (read and write). Introspection is enabled, so a GraphQL client can load the full schema.
  • Cursor pagination: pass first and after, read pageInfo.hasNextPage and pageInfo.endCursor.
  • Price per country and translated texts: add @inContext(country: DE, language: DE) to the operation. The store sells to 27 countries in EUR, CZK, DKK, HUF, PLN, RON and SEK (localization.availableCountries); a product of €219.00 in the Netherlands costs €215.38 with country: DE (German VAT).
  • Carts: cartCreate, cartLinesAdd and cartLinesUpdate. The cart's checkoutUrl opens the Shopify checkout, where the buyer completes and pays the order.
  • Product handles are language-specific: look a product up by id, or take the handle from a query in the same language.
  • Query complexity limit without a token: 1,000 per request (Shopify). Every response shows the cost in extensions.cost.requestedQueryCost.

Example: Samsonite products, English texts, first page with a cursor for the next one.

query Products($cursor: String) @inContext(country: NL, language: EN) {
  products(first: 20, after: $cursor, query: "vendor:Samsonite") {
    edges { node { id title handle availableForSale priceRange { minVariantPrice { amount currencyCode } } } }
    pageInfo { hasNextPage endCursor }
  }
}

Commerce protocol (UCP and MCP)

The store implements the Universal Commerce Protocol for agent-driven commerce.

  • Discovery: GET https://bymetz.nl/.well-known/ucp returns the merchant profile with supported versions, service endpoints, capabilities and payment handlers. Every page also announces it in the HTTP Link header with rel="ucp".
  • MCP endpoint: POST https://bymetz.nl/api/ucp/mcp with Content-Type: application/json. Call tools/list for the tools and their schemas. On 31 October 2026: search_catalog, lookup_catalog and get_product; create_cart, get_cart, update_cart and cancel_cart; create_checkout, get_checkout, update_checkout, complete_checkout and cancel_checkout; get_order; search_locations and lookup_locations; ask_business.
  • Pass context.address_country and context.currency for the right price, shipping and availability.
  • Personal shopping assistants can also use the Shop skill, which handles buyer-approved checkout across Shopify stores.

WebMCP (tools in the browser)

Every page of the store registers WebMCP tools with document.modelContext.registerTool(), so a browser agent working for the shopper can act on the page instead of reading HTML. Browsers without WebMCP ignore them.

The Shopify storefront registers the shopping tools:

  • search_catalog: search products, collections, articles and pages.
  • get_product and show_variant: product details, or open the product page with a variant selected.
  • browse_store: browse or open a collection.
  • add_to_cart, update_cart_lines, cancel_cart and get_cart: the cart of that browser.
  • proceed_to_checkout: moves the browser to checkout. The shopper reviews the order and pays personally.
  • search_shop_policies_and_faqs, manage_orders and get_ucp_profile: policies and FAQ, the order history page and the UCP profile.

ByMetz adds:

  • get_store_info: the store in Eindhoven, contact e-mail, delivery area and policy links.
  • The search form in the header is also a declarative tool, search_store.

Texts and prices follow the language and country of the page the agent is on.

Languages

  • The storefront has 20 languages. Dutch is the default at https://bymetz.nl/; the other 19 use a prefix: /bg/, /cs/, /da/, /de/, /el/, /en/, /es/, /fi/, /fr/, /hr/, /hu/, /it/, /lt/, /pl/, /pt/, /ro/, /sk/, /sl/ and /sv/.
  • Storefront GraphQL: pass language in @inContext, with a code from localization.availableLanguages. Portuguese is PT_PT; all others are the two letters of the prefix.
  • JSON endpoints: put the prefix in front of the path, for example /de/products.json. Each language has its own product handles and page URLs, so take them from a response in that language.
  • /agents.md, /llms.txt, /llms-full.txt and /openapi.json exist once, in English, at the root of the domain; with a language prefix they return 404. Show the buyer texts from the data in the buyer's language, not from these files.

Read-only JSON endpoints

No authentication is needed. Add a language prefix for translated titles and descriptions, for example /en/products.json or /de/products.json.

  • GET /products.json?limit=250&page=1: all published products with variants, prices and images, at most 250 per page.
  • GET /products/{handle}.js: one product with per-variant availability; prices in cents.
  • GET /products/{handle}.json: one product; prices as decimal strings.
  • GET /collections/{handle}/products.json: the products in one collection, for example koffers (suitcases) or handbagage-40x30x20 (hand luggage 40x30x20 cm).
  • GET /search/suggest.json?q={query}&resources[type]=product&resources[limit]=10: search suggestions for one query.
  • GET /sitemap.xml: every product, collection, page and article.

Search pages are served with X-Robots-Tag: noindex, nofollow: use them for a live request from a user, not for bulk indexing. For the full catalogue, use /products.json or the sitemap.

Authentication and OAuth scopes

None of the endpoints above needs authentication. For signed-in customer features, the domain publishes Shopify's OAuth 2.0 metadata:

  • /.well-known/oauth-protected-resource: protected-resource metadata (RFC 9728) with the authorization servers.
  • /.well-known/oauth-authorization-server: authorization-server metadata (RFC 8414), also at /.well-known/openid-configuration. It lists the endpoints, PKCE with S256 and the supported scopes: openid, email, customer-account-api:full, customer-account-mcp-api:full, dev.ucp.shopping.checkout:manage and dev.ucp.shopping.catalog.search:read. Request only the scopes you need.
  • The OAuth client is registered with Shopify, for example as a Shopify app. ByMetz doesn't issue OAuth clients or keys itself.
  • The same scopes are declared as OAuth security schemes in /openapi.json.

Versioning and deprecation

  • Storefront GraphQL is versioned in the URL path: /api/{YYYY-MM}/graphql.json. Shopify releases a new version every three months and supports each stable version for at least 12 months, with at least nine months of overlap (Shopify versioning). Pin a stable version; 2027-01 is a release candidate on 31 October 2026 and unstable changes without notice.
  • Every GraphQL response carries X-Shopify-API-Version with the version that answered. A version that is no longer accessible falls forward to the oldest accessible stable version, so compare this header with the version you asked for (measured 31 October 2026: 2025-04, 2025-07 and 2025-10 were answered by 2026-01). Shopify can add the header X-Shopify-API-Version-Warning; it wasn't sent in that measurement. Deprecated fields carry @deprecated(reason:) in the schema.
  • The JSON endpoints above are Shopify storefront routes without a version in the path or a header. Shopify states that unversioned surfaces may change at any time; for a versioned interface, use Storefront GraphQL.
  • Versioned surfaces: UCP uses date versions in the URL path, /.well-known/ucp/{version} (2026-08-25, 2026-04-08 and 2026-01-23 on 31 October 2026, plus draft; another date returns HTTP 400 with the supported list). Shopify's Customer Account API uses quarterly versions in its URL, listed at /.well-known/customer-account-api; Shopify supports each stable quarterly version for at least 12 months.
  • The OpenAPI document is versioned by date in info.version: the day its endpoints were last measured.
  • Deprecation: when Shopify announces in its developer changelog that a documented endpoint will change or disappear, ByMetz marks the operation deprecated: true in the OpenAPI document with the announced date. It stays listed until it stops answering and is then removed in the next dated version.

Rate limits

  • On bymetz.nl ByMetz sets no rate limits of its own; Shopify applies them. Shopify documents that buyer traffic isn't rate-limited, that bots and crawlers are limited (most strictly when unsigned) and that requests signed with Web Bot Auth get higher limits (Shopify rate limits).
  • Responses from bymetz.nl carry no RateLimit, RateLimit-Policy or Retry-After header (measured 31 October 2026), so a client can't read its remaining budget in advance.
  • The index host api.bymetz.nl has its own limit: 60 requests per minute per IP, with the RateLimit headers on every response and Retry-After on HTTP 429.
  • Automated clients can receive HTTP 429. Then wait, retry with exponential backoff, keep requests sequential and cache what you read. One /products.json?limit=250 call replaces 250 product-page fetches.
  • Storefront GraphQL without a token: query complexity limit 1,000 per request; extensions.cost.requestedQueryCost in each response shows the cost.

Errors

  • Storefront GraphQL always answers in JSON. Invalid GraphQL: HTTP 200 with an errors array (message, locations, path and extensions.code, for example undefinedField). Invalid mutation input: HTTP 200 with typed userErrors (code, field, message) in the mutation payload. A version that isn't a Shopify API version: 404 with code NOT_FOUND. A body that isn't valid JSON: 415 with code UNSUPPORTED_MEDIA_TYPE.
  • JSON error bodies with status, message and description: search without q (422) and recommendations with a missing or invalid product_id (422) or an unknown one (404).
  • A page past 25,000 items returns 400 with errors; a date that isn't a supported UCP version returns 400 with error.
  • Unknown paths and unknown product or collection handles return 404 with an empty body for JSON URLs, or an HTML page for browsers. These are Shopify platform responses; treat an empty 404 as "not found".

Structured data

  • Product pages: Product or ProductGroup JSON-LD with an Offer per variant (price, availability, GTIN where known), shipping details and return policy.
  • Homepage: Organization, Store (address and opening hours) and an ItemList of the featured products with their prices.
  • Collections: CollectionPage and BreadcrumbList, plus FAQPage where the collection text contains questions. Articles: Article.

Rules for agents

  • Checkout requires human approval. Never complete a payment without the buyer's explicit consent.
  • Respect rate limits: back off on HTTP 429 and cache what you read.
  • Prefer the endpoints above to scraping HTML pages.
  • Don't promise delivery dates on behalf of ByMetz. Shipping terms are in the shipping policy.

Policies

Contact

Questions about this page or the endpoints: info@bymetz.nl (e-mail only).

Bejelentkezés

A bejelentkezés jelszó nélkül működik: add meg az e-mail-címedet, és azonnal kapsz egy egyszer használatos belépőkódot e-mailben.

Még nincs fiókod? Ugyanezzel a lépéssel rögtön regisztrálsz, és minden rendelés után automatikusan ByMetz Baggies vásárlási kredit jár.