Command Palette

Search for a command to run...

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

Crossly Bulk operations

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

Run Crossly actions on many listings or inventory items in one call. Bulk create listings (POST /v1/listings/bulk, 50 per call, per-item results by…

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

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

Bulk operations on Crossly

Bulk endpoints exist so you never loop a single-item route hundreds of times. Two kinds:

  • Per-item synchronous: POST /v1/listings/bulk answers with one result per item.
  • Queued: the other listing bulk verbs (and inventory label, archive, quantity pushes) validate the selection, write one bulk job and return a bulkJobId straight away. The marketplace work runs in the background.

Scopes: listings:write for every listing bulk route below, inventory:write for the inventory ones, product-sets:read / product-sets:write for product sets. Auth: crossly-api-setup. Errors, idempotency and rate limits: 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

Bulk create listings

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

const res = await crossly.listings.bulkCreate(                // POST /v1/listings/bulk, body { items }
  rows.slice(0, 50).map((r) => ({
    clientReferenceId: r.sku,                                // required, 1-100 chars, your id for the item
    inventoryItemId: r.inventoryItemId,
    platforms: ['ebay', 'poshmark'],
    data: { title: r.title, price: r.price, weightLb: r.weightLb },   // a POST /v1/listings body
  })),
  { idempotencyKey: crypto.randomUUID() }) as {
  data: { index: number; clientReferenceId?: string; status: 'created' | 'existing' | 'error';
          httpStatus: number; listingId?: string; jobs?: unknown[]; skipped?: unknown[];
          error?: { code: string; message: string } }[];
  meta: { created: number; existing: number; failed: number };
};
  • 1-50 items per call. Items run in order and independently.
  • created: the listing exists; platforms it could not be sent to are in that item's skipped (for example weight_required).
  • existing: that clientReferenceId was already used, the existing listing is returned and nothing is created. This is what makes retrying a whole batch safe: only what is missing gets created.
  • error: no listing exists for the item; error.code is what POST /v1/listings would have answered (validation_error, plan_limit_reached, …).

The listing body itself is described in crossly-crosspost.

Queued listing actions

All take listingIds (UUIDs of your listings) and an optional filters object that narrows the selection server-side: listedMoreThanDays, noSaleDays, priceMin, priceMax, viewsLessThan, favoritesLessThan, quantityAvailableLessThanOrEqual, listedOnLessThan, listedOnAtLeast, brandContains, hasAnyLabels, hasNoneLabels, condition. If nothing matches, the answer is 200 with bulkJobId: null.

Endpoint SDK What it does
POST /v1/listings/bulk-update bulkUpdate Title / description / price edits (below). Pushes only the changed fields to every marketplace each listing is live on.
POST /v1/listings/bulk-delist bulkDelist Takes the listings down on their marketplaces.
POST /v1/listings/bulk-relist bulkRelist Ends and relists to refresh them. platforms optional.
POST /v1/listings/bulk-crosspost bulkCrosspost Publishes to more marketplaces, no delist phase. platforms required (400 invalid_request without).
POST /v1/listings/bulk-delete bulkDelete Archives and delists.
POST /v1/listings/bulk-hard-delete bulkHardDelete Permanently deletes. Live listings need allowLive: true (they stay up on the marketplaces and Crossly stops tracking them), otherwise 409 listings_live with the counts. dryRun: true returns the counts only.
POST /v1/listings/bulk-check-status bulkCheckStatus Re-checks each listing's status on its marketplaces.
POST /v1/listings/bulk-delist-preview bulkDelistPreview Read-only: per marketplace, how many active listings a delist would touch and whether that account needs_reauth. Run it before a big delist.
POST /v1/listings/tags/bulk crossly.listingTags.bulk { listingIds (≤5000), add, remove, dryRun }. Max 30 tags a listing, 40 chars a tag. Returns matched, changed, capped.
POST /v1/listings/by-ids byIds Fetch up to 200 hydrated listings (with platformListings) in one call.

The listingIds cap is 50,000 on update, delist, delete, hard-delete, check-status and delist-preview. A listing you don't own is 404 not_found; one another app manages is 403 listing_managed_elsewhere.

Bulk update body

await crossly.listings.bulkUpdate({
  listingIds,
  updates: {
    title: {
Полный SKILL.md на ClawHub

Установить Crossly Bulk operations в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл Crossly Bulk operations?

Run Crossly actions on many listings or inventory items in one call. Bulk create listings (POST /v1/listings/bulk, 50 per call, per-item results by clientReferenceId), bulk update titles, descriptions and prices, bulk delist, relist, crosspost, archive and delete, bulk check-status, bulk tags, inventory bulk-quantity, bulk-labels, bulk-archive, bulk-restore and bulk-delete, product sets with their bulk action, and photo bulk-batches. Covers bulkJobId, verifying outcomes, item limits, plan gates and rate-limit-friendly batching. Use when code must change, publish or take down more than a handful of listings or items.

Как установить скилл Crossly Bulk operations?

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

Скилл Crossly Bulk operations запускает скрипты?

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

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

Сравнить Crossly Bulk operations с