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.txtserves 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 endpointhttps://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, sendsRateLimit-Limit,RateLimit-Remaining,RateLimit-Reset,RateLimit-PolicyandRateLimiton every response andRetry-Afterwith 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/ucpand 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.jsonwithContent-Type: application/jsonand 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
firstandafter, readpageInfo.hasNextPageandpageInfo.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 withcountry: DE(German VAT). - Carts:
cartCreate,cartLinesAddandcartLinesUpdate. The cart'scheckoutUrlopens 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/ucpreturns the merchant profile with supported versions, service endpoints, capabilities and payment handlers. Every page also announces it in the HTTPLinkheader withrel="ucp". - MCP endpoint:
POST https://bymetz.nl/api/ucp/mcpwithContent-Type: application/json. Calltools/listfor the tools and their schemas. On 31 October 2026:search_catalog,lookup_catalogandget_product;create_cart,get_cart,update_cartandcancel_cart;create_checkout,get_checkout,update_checkout,complete_checkoutandcancel_checkout;get_order;search_locationsandlookup_locations;ask_business. - Pass
context.address_countryandcontext.currencyfor 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_productandshow_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_cartandget_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_ordersandget_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
languagein@inContext, with a code fromlocalization.availableLanguages. Portuguese isPT_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.txtand/openapi.jsonexist 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 examplekoffers(suitcases) orhandbagage-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:manageanddev.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-01is a release candidate on 31 October 2026 andunstablechanges without notice. - Every GraphQL response carries
X-Shopify-API-Versionwith 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-07and2025-10were answered by2026-01). Shopify can add the headerX-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, plusdraft; 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: truein 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.nlByMetz 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.nlcarry noRateLimit,RateLimit-PolicyorRetry-Afterheader (measured 31 October 2026), so a client can't read its remaining budget in advance. - The index host
api.bymetz.nlhas its own limit: 60 requests per minute per IP, with the RateLimit headers on every response andRetry-Afteron 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=250call replaces 250 product-page fetches. - Storefront GraphQL without a token: query complexity limit 1,000 per request;
extensions.cost.requestedQueryCostin each response shows the cost.
Errors
- Storefront GraphQL always answers in JSON. Invalid GraphQL: HTTP 200 with an
errorsarray (message,locations,pathandextensions.code, for exampleundefinedField). Invalid mutation input: HTTP 200 with typeduserErrors(code,field,message) in the mutation payload. A version that isn't a Shopify API version: 404 with codeNOT_FOUND. A body that isn't valid JSON: 415 with codeUNSUPPORTED_MEDIA_TYPE. - JSON error bodies with
status,messageanddescription: search withoutq(422) and recommendations with a missing or invalidproduct_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 witherror. - 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).