Command Palette

Search for a command to run...

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

crossly-wholesale

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

Run a seller's Crossly wholesale (B2B) store over the API. Set the trade profile (PUT /v1/wholesale/profile), create catalogs with visibility and trade terms…

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

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

Run a Crossly wholesale store

Wholesale sells the seller's own Crossly listings to trade buyers (shops, resellers, businesses) at trade prices, from the same stock pool as retail. Everything lives under /v1/wholesale/*: a catalog decides what a buyer can see, the catalog's trade price and quantity breaks plus the buyer's customer group or account rate decide what they pay, and net terms decide whether they can pay later.

Scopes: wholesale:read for every GET, wholesale:write for everything else (including POST /v1/wholesale/profile/ships-from/validate). Auth: see crossly-api-setup; pagination, errors, rate limits and idempotency: crossly-api-conventions.

Money is integer cents (…Cents) and rates are basis points (…Bps, 100 = 1%) throughout. There are no dollar fields here, unlike listings and orders.

Store scope. A seller can own several stores; wholesale data is per store. Send X-Storefront-Id (SDK: createClient({ pat, storefrontId }) or a per-call storefrontId); omitted = the seller's default store. An id that isn't the token owner's store is rejected (see crossly-team-stores).

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

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

Setup and the trade profile

Endpoint SDK What
GET /v1/wholesale/overview wholesale.overview() Checklist, 30-day revenue, open orders, outstanding invoices, active buyers, pending requests
GET /v1/wholesale/setup-steps wholesale.setupSteps() profile, ships-from, payment, returns, catalog with items, visibility, live
GET / PUT /v1/wholesale/profile wholesale.getProfile() / updateProfile() The trade profile
POST /v1/wholesale/profile/ships-from/validate wholesale.validateShipsFrom() Check an origin without saving
GET /v1/wholesale/categories wholesale.categories() Directory category ids (up to 12, or "other:<words>")
GET /v1/wholesale/terms/preview wholesale.previewTerms({ catalogId, platformListingId }) Effective terms with their source

PUT /v1/wholesale/profile is a partial update: omitted fields are unchanged, null clears. Key fields:

Field Notes
companyName, tagline, contactEmail, logoUrl, bannerUrl, yearFounded, brandsCarried (≤ 50) Shown on catalogs, line sheets and invoices
shipsFrom { postalCode!, country!, city, region } Checked by the shipping validator: 400 invalid_ships_from with issues; 422 for an embargoed origin
leadTimeDays (0-365), minOrderCents, minFirstOrderCents, minReorderCents Opening, first and reorder minimums
minOrderQuantity, casePack, maxPerOrder, backorder (no/allow/preorder), priceVisibility (approved/everyone) Store-wide defaults for the terms cascade
returnPresetId, paymentPresetId, shippingPresetId Policy preset ids; an unknown id is 400 policy_preset_not_found
invoicingEnabled, invoiceSettings prefix (≤ 12), nextNumber, autoSend, reminderDays (≤ 8), lateFeeBps (0-2500), statementDay (1-28), defaultNetDays (0-120), ccEmails (≤ 5), earlyPayDiscountBps (0-1000), earlyPayDays
directoryListed, directoryCategories, directoryBlurb, requiresBusinessVerification Directory listing and the trade gate. Saving these writes through to every active catalog
buyerRequirements requireResaleCert, certStates (2-letter), requireTaxId, up to 10 custom questions
tradeRewardsBps (0-2000), acceptsFunding Trade rewards; accept Crossly Funding

paymentTermsOffered, returnPolicy and shipsFromRegion still parse but are deprecated (superseded by the preset ids and shipsFrom).

The terms cascade. Item terms override catalog terms, which override the profile, which overrides Crossly's defaults. null on an item or catalog means "inherit". Saving the profile never rewrites catalog values. GET /v1/wholesale/terms/preview returns each resolved term with its source (item, catalog, profile, default): read it rather than re-implementing the cascade.

Catalogs

const { data: catalog } = await crossly.wholesale.createCatalog({   // POST /v1/wholesale/catalogs
  name: 'Spring closeouts',
  visibility: 'private_discoverable',
  autoApprove: 'verified',
  minOrderCents: 50_000,          // $500 opening order
  listed: true,
  directoryCategories: ['other:closeout apparel'],
}, { idempotencyKey: crypto.randomUUID() }
Полный SKILL.md на ClawHub

Установить crossly-wholesale в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл crossly-wholesale?

Run a seller's Crossly wholesale (B2B) store over the API. Set the trade profile (PUT /v1/wholesale/profile), create catalogs with visibility and trade terms, add listings with wholesalePriceCents, MOQ and case pack, set quantity breaks, approve access requests and invite trade buyers, manage customer groups and net terms (netDays, creditLimitCents), list wholesale orders and on-account invoices, record payments with mark-paid, credit notes, void and write-off, answer quote and freight requests, and run trade drops and pre-books. Use when building a B2B ordering, line-sheet, trade-pricing, invoicing or accounts-receivable integration on Crossly.

Как установить скилл crossly-wholesale?

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

Скилл crossly-wholesale запускает скрипты?

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

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

Сравнить crossly-wholesale с