Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Crossly Team stores

БесплатноБез исполняемых скриптовНе проверен

Work with Crossly's multiple stores per account and per-store team permissions. List, create, rename, archive and set the default store (GET/POST…

crosslyот crossly72 установки в других каталогах

Об этом скилле

Stores and teams

One Crossly account (a business) can own several stores (storefronts). Listings, settings, policies, payouts, wallets, webhooks and OAuth apps each belong to one store. Teammates (VAs, partners) sign in with their own login and work inside the owner's account, limited per store to the permissions the owner grants. For auth basics see crossly-api-setup; for pagination, errors and idempotency see crossly-api-conventions.

Setup

  1. Create a free Crossly account: https://crossly.net/register
  2. Create a personal access token at https://crossly.net/settings/api/tokens/new (guide: https://crossly.net/guides/personal-access-tokens). Use a crossly_pat_test_ token against the sandbox while building.
  3. Export it as CROSSLY_PAT and send it as Authorization: Bearer $CROSSLY_PAT to https://crossly.net/api/v1/*. Full docs: https://crossly.net/docs

Scopes

Endpoints Scope
GET /v1/storefronts, GET /v1/storefronts/{id}, .../requirements, .../settings, GET /v1/storefronts/slug-available, GET /v1/storefronts/team-access storefronts:read
POST /v1/storefronts, PATCH/DELETE /v1/storefronts/{id}, PUT .../slug, .../status, .../currency, .../default, POST .../publish, PUT .../settings, POST /v1/storefronts/{id}/listings/{platformListingId}/move, PUT/DELETE /v1/storefronts/team-access storefronts:write
GET /v1/team/members, /v1/team/members/{id}, /v1/team/members/{id}/stores/{store}, /v1/team/invites, /v1/team/stores team:read (or accounts:read)
POST /v1/team/invites, POST /v1/team/members/{id}/stores, PUT/DELETE /v1/team/members/{id}/stores/{store} team:manage (or accounts:write)
Legacy account-wide team: GET /v1/team (accounts:read); POST /v1/team/invite, /v1/team/accept, /v1/team/revoke, /v1/team/leave, PATCH /v1/team/{memberId} accounts:write

team:read and team:manage are never grantable to a third-party OAuth app: staffing a store is the seller's decision. Use your own PAT.

Stores

import { createClient } from '@crossly/sdk';
const crossly = createClient({ pat: process.env.CROSSLY_PAT! });

const { data: stores } = await crossly.storefronts.list();            // default first; { includeArchived: true } adds archived
const { data: store } = await crossly.storefronts.create({ name: 'Vintage Denim', slug: 'vintage-denim', currency: 'USD' });
await crossly.storefronts.setDefault(store.id);
const need = await crossly.storefronts.requirements(store.id);         // what blocks publishing listings into it
await crossly.storefronts.publish(store.id);                           // 422 storefront_requirements_missing until ready
Field / call Rules
name 1–60 chars (trimmed). Rename with PATCH /v1/storefronts/{id} { name }: never changes the slug or the @handle
slug 3–40 lowercase letters, numbers, hyphens; derived from the name if omitted; reserved words refused. Check with GET /v1/storefronts/slug-available?slug=. PUT .../slug keeps the old slug redirecting
currency ISO 4217, 3 letters (stored upper-case). Default: the account currency, else the detected country's. PUT .../currency
status draft | live | paused | archived (PUT .../status). A live store is public once it has a live listing
PUT .../default where a Crossly publish with no storefrontId lands. The first store you create is the default
DELETE /v1/storefronts/{id} archives it; if it was the default, your oldest remaining store becomes the default
POST .../publish needs ship-from, shipping policy, return policy and payouts (storefront_requirements_missing with the missing list)
POST /v1/storefronts/{id}/listings/{platformListingId}/move moves a Crossly listing (by its platform-listing id) into this store

SDK: crossly.storefronts.list, create, get, rename, archive, changeSlug, setStatus, setCurrency, setDefault, publish, requirements, getSettings, updateSettings, moveListing, slugAvailable. The older singular /v1/storefront routes keep working on the default store.

curl -X POST https://crossly.net/api/v1/storefronts \
  -H "Authorization: Bearer $CROSSLY_PAT" -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Vintage Denim"}'

Acting on a specific store: X-Storefront-Id

Store-scoped calls (discount codes, wholesale, ads, rentals, policies, payouts, Funding, the Vault, World, wallets, store webhooks, connections, OAuth apps, the team lists, …) act on one store: the one in the X-Storefront-Id header, else the account's default store.

curl https://crossly.net/api/v1/team/members \
  -H "Authorization: Bearer $CROSSLY_PAT" -H "X-Storefront-Id: $STORE_ID"
// every call from this client acts on that store; an id that is not one of the token's stores is a 404
const denim =
Полный SKILL.md на ClawHub

Установить Crossly Team stores в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Crossly Team stores?

Work with Crossly's multiple stores per account and per-store team permissions. List, create, rename, archive and set the default store (GET/POST /v1/storefronts, PUT /v1/storefronts/{id}/default, storefronts:read/storefronts:write), target one store with the X-Storefront-Id header (or the SDK storefrontId option), invite teammates to specific stores with permission ids and caps (POST /v1/team/invites, team:manage), read and set a member's access per store (/v1/team/members/{id}/stores/{store}), and handle storefront_not_found, storefront_access_denied, insufficient_store_permission, store_permission_cap and store_owner_only. Use when a seller runs several stores, when code must act on a non-default store, when managing VAs and teammates, or when a teammate's request is refused with a store permission error.

Как установить скилл Crossly Team stores?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Crossly Team stores запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Crossly Team stores с