Crossly Sandbox testing
БесплатноБез исполняемых скриптовНе проверенTest a Crossly integration without touching real stores, marketplaces or money. Covers the separate sandbox environment (https://sandbox.crossly.net/api…
от crossly75 установок в других каталогахОб этом скилле
Test against the Crossly sandbox
Crossly has two test setups. Pick by what you are building:
| Sandbox environment | App sandbox | |
|---|---|---|
| For | your own scripts, agents, SDK and CLI code | a third-party OAuth app other sellers install |
| Where | a second Crossly: https://sandbox.crossly.net/api, its own database and accounts |
production Crossly, against sandbox sellers you create |
| Credential | crossly_pat_test_… minted in the sandbox |
your app's sandbox twin client (own client id, secret, redirect URIs), authorized as a sandbox seller |
| Marketplaces | connections disabled | simulated eBay, Poshmark, Mercari, Shopify, Crossly's shop, … |
| Money | Stripe test mode | none: no charges, payouts, labels or CBX |
Crossly-Environment response header |
sandbox |
sandbox |
Simulations (/v1/sandbox/*) |
no | yes |
For token basics see crossly-api-setup; for OAuth app registration see crossly-oauth-apps.
Setup
- Create a free Crossly account: https://crossly.net/register
- 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. - Export it as
CROSSLY_PATand send it asAuthorization: Bearer $CROSSLY_PATtohttps://crossly.net/api/v1/*. Full docs: https://crossly.net/docs
1. The sandbox environment
Sign in at sandbox.crossly.net (a separate account from production), open Settings → API & developers and mint a token: it is a test token, the only kind the sandbox accepts.
export CROSSLY_PAT=crossly_pat_test_…
curl -i https://sandbox.crossly.net/api/v1/me -H "Authorization: Bearer $CROSSLY_PAT"
# crossly-environment: sandbox
@crossly/sdk reads the environment word in the token and picks the base URL itself:
import { createClient } from '@crossly/sdk';
const crossly = createClient({ pat: process.env.CROSSLY_PAT! }); // _test_ → https://sandbox.crossly.net/api
The CLI does not switch on its own (it defaults to https://crossly.net/api): set CROSSLY_API_BASE_URL=https://sandbox.crossly.net/api. See crossly-cli.
- Environment enforcement. crossly.net accepts only
crossly_*_live_…credentials and the sandbox onlycrossly_*_test_…(PATs, OAuth tokens, publishable keys). The wrong one is401 credential_environment_mismatchbefore anything else runs. Never overridebaseUrlto point a test token at production or the reverse. - Seeded data. A market catalogue in three book shapes (sneakers by size, raw cards by condition, graded slabs by grade) with asks from a demo seller on a paid plan and bid ladders from seeded players.
- Payments. Stripe test mode:
4242 4242 4242 4242, any future expiry, any CVC; Stripe's documented test cards for declines, 3-D Secure and disputes. Payouts are simulated by Stripe. - Resets weekly (Sunday 05:00 UTC). Keep fixtures in code and re-create them, never depend on sandbox state surviving.
- Marketplace connections are disabled; rate limits and scopes are the same as production.
2. The app sandbox (OAuth apps)
- Sandbox credentials. Settings → API & developers → your app → Sandbox tab → Create sandbox credentials. A second OAuth client with its own client id, secret (shown once) and redirect URIs (empty = reuse the live ones;
http://localhostworks). Its scopes follow your live app. - Sandbox sellers. Same tab → Create sandbox seller. Up to ten; one idle for 30 days is deleted. A sandbox seller cannot sign in, gets no email and is never public. Seed: SKUs such as
SBX-LEVI-501-3230andSBX-NIKE-AM90-10live on simulated eBay, Poshmark, Mercari and Crossly's shop; a tee in S/M/L as a variation group; dropship items with asupplierandcostBasisCents(retail from Walmart and Amazon, one wholesale); an order waiting to ship on Crossly's shop and on eBay with full addresses; a delivered past sale. - Authorize with the sandbox client id through the normal Atlas flow. The consent screen shows a Sandbox banner and asks which sandbox seller the app acts on; the token acts on that seller only.
- Call the API exactly as in production (
GET /v1/inventory,POST /v1/listings,POST /v1/orders/{id}/tracking,POST /v1/webhooks).GET /v1/connectionslists every simulated channel as connected.
curl -s https://crossly.net/api/v1/sandbox -H "Authorization: Bearer $SANDBOX_TOKEN"
# { environment: "sandbox", seller: { id, label, seedVersion, seededAt, lastResetAt }, channels: [...],
# simulate: { header: "Crossly-Sandbox-Simulate", values: ["none","rate_limited","platform_error"] }, ttlDays }
Simulations
Each runs the real pipeline, so your webhooks get real, signed payloads.
| Call | Body | Scope (any of) | Webhooks |
|---|---|---|---|
GET /v1/sandbox |
orders:read, listings:read, inventory:read |
||
POST /v1/sandbox/simulate/order |
` |
Установить Crossly Sandbox testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Crossly Sandbox testing?
Test a Crossly integration without touching real stores, marketplaces or money. Covers the separate sandbox environment (https://sandbox.crossly.net/api, crossly_pat_test_ tokens, 401 credential_environment_mismatch, the Crossly-Environment header, seeded data, Stripe test mode, weekly reset) and the app sandbox for OAuth apps (a sandbox twin client, seeded sandbox sellers, simulated marketplaces, POST /v1/sandbox/simulate/order, order.cancelled, refund, order.delivered, order.address, listing.sold_out, inventory, POST /v1/sandbox/reset, GET /v1/sandbox/events, the Crossly-Sandbox-Simulate failure-injection header), plus webhook test fires (POST /v1/webhooks/{id}/test) and crossly dev --forward. Use when writing tests or a staging setup for Crossly code, simulating orders and refunds to exercise webhooks, or debugging sandbox_only, sandbox_not_supported or sandbox_environment_mismatch errors.
Как установить скилл Crossly Sandbox testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Crossly Sandbox testing запускает скрипты?
Нет, скилл состоит только из инструкций (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