b2c-scapi-shopper
БесплатноБез исполняемых скриптовНе проверенCall Shopper Commerce APIs (SCAPI) from headless storefronts and composable commerce apps. Use this skill whenever the user is building with PWA Kit…
от SalesforceCommerceCloud★ 58 звёзд на GitHubОб этом скилле
Shopper Commerce APIs
Build storefront product, basket, checkout, customer, and context flows with SCAPI.
For backend management use the b2c-scapi-admin skill.
Tool choice
When B2C MCP is available:
- Read
skill://mcp/b2c-mcp-scapi/SKILL.mdonce through resources orskills_readbefore code-mode tools; passskillRead: true. scapi_searchwithauthType: "shopper"discovers bundled contracts offline. Find method/path/operationId first, then selected inputs, response fields, and security. Mixed Admin/Shopper operations can appear in either filter.- Shopper execution is unsupported in
scapi_execute; adding a SLAS client cannot enable it. Execute storefront flows through the application's Shopper SDK/client with the appropriate SLAS token flow. Prefer dedicated tools where available. scapi_schemas_listretrieves live tenant contracts and custom attributes;scapi_custom_apis_get_statuschecks custom registration. Code mode does not execute custom APIs.config_inspectreports configured values with masking.docs_search/docs_readanswer platform semantics, authentication, and limits; avoid duplicate contract reads.
CLI alternatives: b2c scapi schemas list,
b2c scapi schemas get <family> <name> <version>, and b2c setup inspect.
These schema commands use live Schemas API access; MCP discovery is offline.
Integration essentials
- Reuse configured shortCode, organizationId, and siteId; do not invent identifiers.
- Shopper authentication uses SLAS guest/registered flows and client scopes; Account Manager credentials are not a substitute. Keep private-client secrets and token exchange on the backend.
- Discover the contract for the selected API version. Examples are illustrative; verify version-specific behavior and limits in official docs.
- Preserve basket/order state and handle errors explicitly. Page/filter responses and return only fields needed by the next operation.
- For headless payment authorization, inspect
the order-PI hooks in the
b2c-hooksskill ("Headless Order Payment") and the order lifecycle in theb2c-orderingskill before choosing a placement flow.
Conditional references
- Client examples: implementing auth and API calls.
- Checkout: basket-to-order workflow.
- Common patterns: errors, pagination, field selection.
- Scopes: Shopper grants by family.
b2c-slasskill: CLI client management.b2c-slas-auth-patternsskill: OTP, passkeys, session bridge.- Official docs:
commerce-api/use-shopper-api,commerce-api/slas,commerce-api/work-with-baskets-orders,commerce-api/shopper-context-best-practices,commerce-api/auth-z-scope-catalog,commerce-api/performance.
Установить b2c-scapi-shopper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл b2c-scapi-shopper?
Call Shopper Commerce APIs (SCAPI) from headless storefronts and composable commerce apps. Use this skill whenever the user is building with PWA Kit, Storefront Next (SFNext), or a headless frontend and needs to search products, manage baskets, submit orders, access customer data, or set shopper context. Also use when they ask about Shopper API authentication, checkout flows from a frontend app, or performance optimization for API calls — even if they just say "search products from my PWA" or "build a headless checkout".
Как установить скилл b2c-scapi-shopper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл b2c-scapi-shopper запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic