Command Palette

Search for a command to run...

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

crossly-inventory

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

Manage Crossly inventory items, the physical stock behind every listing. Create, update, archive and restore items (POST /v1/inventory, PATCH…

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

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

Manage Crossly inventory

An inventory item is the physical thing you own; a listing is one way of selling it. One item stays one item whether it is live on three marketplaces, sitting in a draft or waiting on a shelf. That link is how Crossly keeps stock honest: a sale anywhere lowers the one count, and at zero every other listing comes down.

The item holds the physical facts: stock, cost, SKU, location, weight, photos. Price, description and category belong on the listing (one item can be priced differently per marketplace). There is no defaultPrice or defaultDescription on an item; set those on POST /v1/listings (see the crossly-crosspost skill).

Scopes: inventory:read / inventory:write; channel-inventory:read / channel-inventory:write for per-account caps; analytics:read for aging and sell-through. Auth: crossly-api-setup. Pagination, errors, rate limits, idempotency: 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

Create and update

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

const item = await crossly.inventory.create({             // POST /v1/inventory -> 201
  defaultTitle: 'Nike Air Max 90, size 10',                // required, 1-140 chars
  sku: 'NK-AM90-10',
  quantity: 3,                                             // available stock, default 1
  brand: 'Nike', size: '10', condition: 'good',
  costBasisCents: 4200,                                    // what one unit cost you, integer cents
  warehouseLocation: 'Garage, rack B', storageBin: 'B-14',
  weightLb: 3, weightOz: 4,
  images: ['https://cdn.example.com/am90-1.jpg'],
  labels: ['consignment'],
}, { idempotencyKey: crypto.randomUUID() }) as { id: string };

await crossly.inventory.update(item.id,                    // PATCH /v1/inventory/{id}, partial
  { storageBin: 'C-02', quantity: 2 },
  { idempotencyKey: crypto.randomUUID() });
curl -X POST https://crossly.net/api/v1/inventory \
  -H "Authorization: Bearer $CROSSLY_PAT" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"defaultTitle":"Nike Air Max 90, size 10","sku":"NK-AM90-10","quantity":3,"costBasisCents":4200}'

Body fields (create and update take the same set; update is partial):

Field Type / limit Notes
defaultTitle string 1-140, required on create The item's name. Listings carry their own titles.
sku string ≤80 Optional. Not enforced unique; check with sku-exists first.
quantity integer ≥0 Available stock. Reserved units of open orders are kept on top of it.
costBasisCents integer ≥0 or null Unit cost in cents: net profit's cost of goods.
originalPrice number or numeric string, dollars The manually entered unit cost (the dashboard's Cost field). When set it wins over costBasisCents. Not a retail or "was" price.
brand ≤80, size ≤40, condition ≤40, material, style, pattern, department, gender, itemType (≤200), sizeSystem ≤50, color[] strings Item specifics. Condition values: new, like_new, good, fair, poor, refurbished.
tags[], labels[] strings Labels are your private organising tags.
images[], videoUrl URLs
notes ≤8000 string Private.
warehouseLocation ≤200, storageBin ≤80, storageNote ≤500 strings Where it sits.
weightLb, weightOz, dimensionLIn, dimensionWIn, dimensionHIn numbers ≥0 Package size; a weight is needed where a label is priced from the package.
supplier object or null { name (1-80, required), kind: "retailer" | "wholesale", productUrl, productId, sku, handlingTimeDays (0-30), shipFromRegion ("US", "US-CA") }. Decides which marketplaces a dropshipped item may be crossposted to; Crossly never orders from the supplier.

Create counts toward the plan's monthly new-item allowance (Free 25, Starter 150, Pro 500, Business 10,000, Scale 100,000); over it the call is 402 plan_limit_reached. A PATCH with nothing to change is 400 no_changes; an item that isn't yours is 404 not_found.

quantity on PATCH is not written raw: it goes through the same path as bulk-quantity, so every live listing is pushed the new number (and delisted at 0).

Archive, restore, delete, merge

Action Endpoint Notes
Archive one DELETE /v1/inventory/{id} Soft: status becomes archived, history and costs stay, listings are left alone. SDK crossly.inventory.archive(id).
Полный SKILL.md на ClawHub

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

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

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

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

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

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

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

FAQ

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

Manage Crossly inventory items, the physical stock behind every listing. Create, update, archive and restore items (POST /v1/inventory, PATCH /v1/inventory/{id}, costBasisCents, supplier, storage location, labels), find them by SKU or updatedSince, change stock with bulk-quantity, read holds, units and activity, and set per-account caps and buffers on /v1/channel-accounts. Use when code needs to record stock, sync quantities from a warehouse or supplier, track cost of goods, or reason about how one stock count is shared across marketplaces.

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

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

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

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

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

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