# Agent Instructions — ankersolix

This document describes how AI agents can interact with ankersolix's official online store at https://www.ankersolix.com. ankersolix is Anker's global audio brand offering wireless earbuds, headphones, Bluetooth speakers, sleep earbuds, open-ear earbuds, and Nebula projectors.

## Markets / Regions

ankersolix operates one storefront under www.ankersolix.com with path-prefixed regional markets. Each market has its own catalog availability, language, currency, pricing and policies — always resolve the correct market before browsing, quoting prices, or transacting.

| Market        | Browsing base (canonical)   | Language | Currency |
| ------------- | --------------------------- | -------- | -------- |
| United States | https://www.ankersolix.com/ | English  | USD      |

If a buyer's country is not listed above, fall back to the nearest regional market:

- All other unlisted countries → use **United States** (https://www.ankersolix.com/, USD)

_Confirm live currency, availability and pricing from the market's UCP merchant profile and from context.currency — do not assume a price from one market applies to another._

## Commerce Protocol (UCP) — Transactions

ankersolix's stores implement the Universal Commerce Protocol for agent-driven commerce. Transactions (cart → checkout → payment) are processed on each market's Shopify-bound transaction domain, while browsing stays on www.ankersolix.com.

Per-market UCP / MCP endpoints (transaction surface):

| Market        | UCP discovery                                  | MCP endpoint                                |
| ------------- | ---------------------------------------------- | ------------------------------------------- |
| United States | GET https://www.ankersolix.com/.well-known/ucp | POST https://www.ankersolix.com/api/ucp/mcp |

### Typical Agent Flow

1. **Resolve market** — Map the buyer's country to the correct market (table above) and its UCP discovery URL.
2. **Discover** — `GET /.well-known/ucp` to confirm capabilities, supported versions and payment handlers.
3. **Search** — Use `search_catalog` to find products matching the buyer's intent.
4. **Cart** — Use `create_cart` to add desired items.
5. **Checkout** — Use `create_checkout` to start the purchase flow.
6. **Fulfill** — Use `update_checkout` to set shipping address and method.
7. **Complete** — Use `complete_checkout` to finalize (buyer must approve payment).

### Supported UCP Versions

- `2026-04-08` (latest stable)
- `2026-01-23`

### Important Rules

- **Checkout requires human approval.** Agents must not complete payment without explicit, contemporaneous buyer consent.
- **Transact on the buyer's market.** Use the UCP endpoint matching the buyer's country; do not mix catalogs or currencies across markets.
- **Respect rate limits.** MCP endpoints are rate-limited per IP. Back off on 429 responses.
- **Pass buyer context.** Always send `context.address_country` and `context.currency` for accurate pricing, tax, shipping and availability.
- **Endpoint domain note.** Each market's UCP discovery document (`/.well-known/ucp`) may return a `*.myshopify.com` backend domain as the MCP endpoint. This is expected behavior in a headless architecture — the backend service is identical. Always prefer the brand-domain endpoints listed in the table above (e.g. `https://www.ankersolix.com/api/ucp/mcp`) as the authoritative endpoints.

### Canonical product links

Each product variant exposes a standard Shopify metafield `shopify.external_url` whose value is the variant's canonical PDP on www.ankersolix.com (for the correct market). When referring a buyer to a product, use that `external_url` (or the `www.ankersolix.com/{locale}/products/{handle}` URL) rather than any backend `*.ankersolix.com` / `*.myshopify.com` link.

## Read-Only Browsing (No Authentication Required)

For agents that only need to read store data without transacting. Prefix any path with a market locale (e.g. `/uk/...`) for non-US markets; no prefix = United States.

### Product Data

- Browse all products: `GET /collections/all`
- Collection page: `GET /collections/{handle}`
- Product page: `GET /products/{handle}`
- Search: `GET /search?q={query}`
- Structured data: product pages embed `application/ld+json` (Product / Offer) — prefer this for machine-readable price, availability, ratings and specs.

### Store Metadata

- Sitemap index: `GET /sitemap.xml`
- Site summary for agents: `GET /llms.txt`
- Agent discovery: this document (`/agents.md`) is the canonical agent-facing description of the store.

## Store Policies

Policies are available per market under `/policies/...` (prefix with the locale path for non-US markets). For the United States:

- Privacy policy: https://www.ankersolix.com/policies/privacy-policy
- Terms of service: https://www.ankersolix.com/policies/terms-of-service
- Refund / return policy: https://www.ankersolix.com/policies/refund-policy
- Shipping policy: https://www.ankersolix.com/policies/shipping-policy

Warranty, returns and shipping terms vary by market — read the policy pages for the buyer's specific market before advising on returns or delivery.

## Support

- Help & support center: https://service.ankersolix.com/

## Platform

This storefront is custom-built (headless) and backed by Shopify for catalog and checkout, with native UCP support on each market's transaction domain.

- UCP specification: https://ucp.dev
- Shopify developer platform: https://shopify.dev
