Pricing and offers on Crossly
Crossly has three pricing layers and two offer surfaces. Know which one you are touching, because each uses different money units:
| Surface | What it does | Money |
|---|---|---|
Price rules (/v1/price-rules) |
Standing markup/markdown per marketplace (and account / category), applied at publish | dollars (adjustFixed, minPrice, maxPrice) |
Repricing (/v1/repricing/*, /v1/reprice-events) |
Scheduled market-reactive repricing of a listing set | cents (floorCents, oldPriceCents, newPriceCents) |
Comps (/v1/pricing/sold-comps, /v1/comp-watchlists) |
What things actually sold for | sold-comps per its payload; watchlist minPrice/maxPrice dollars |
Crossly marketplace offers (/v1/offers) |
Offers buyers make on the seller's own Crossly store, including bundles | cents (amountCents, counterCents) |
Marketplace offers in conversations (POST /v1/inbox/{id}/offer) |
Offers on Poshmark, Mercari, Depop, Grailed, eBay… that Crossly syncs into the inbox | dollars (counterAmount, amount; offerAmount is a decimal string) |
Auth: see the crossly-api-setup skill. Pagination, errors, rate limits and Idempotency-Key: see crossly-api-conventions.
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
Price rules (per-channel prices)
Scopes: listings:read for GET /v1/price-rules and POST /v1/price-rules/preview; listings:write for PUT /v1/price-rules, PATCH /v1/price-rules/{id}, DELETE /v1/price-rules/{id}.
A rule is scoped by platform + optional accountSlot (1-50) + optional categoryPrefix (max 200 chars). PUT creates the rule for that scope (201) or replaces the one already there (200); a different pricing policy that already prices that exact scope is a 409. PATCH can't move a rule's scope.
| Field | Rule |
|---|---|
adjustPercent |
-90 to 500 (percent added to the base price) |
adjustFixed |
-1,000,000 to 1,000,000, dollars |
rounding |
none, 99, 95, whole |
minPrice / maxPrice |
positive dollars; minPrice above maxPrice is a 400 |
targetCurrency |
3-letter code; fxBufferPercent 0-50 |
enabled |
boolean |
A platform that can't carry a rule answers 400 validation_error (details.field: "platform").
import { createClient } from '@crossly/sdk';
const crossly = createClient({ pat: process.env.CROSSLY_PAT! });
await crossly.priceRules.upsert( // PUT /v1/price-rules
{ platform: 'poshmark', adjustPercent: 15, rounding: 'whole', minPrice: 10 },
{ idempotencyKey: crypto.randomUUID() },
);
// What each marketplace would list a listing at: the same resolver publish uses.
const { data } = await crossly.priceRules.preview({ // POST /v1/price-rules/preview
listingId: '8b1d2e3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f',
platforms: ['poshmark', 'mercari', 'ebay'], // 1-60
});
// data[i]: { platform, source: 'override' | 'ruled' | 'unruled' | 'refused', price, currency, ruleId, steps, message }
Preview takes a saved listingId, unsaved values (price, currency, category, platformOverrides, accountSlot), or both; explicit values win. A per-listing price override (source: 'override') beats any rule; see crossly-listing-overrides.
Repricing assignments
Scopes: automation:read for GET /v1/repricing/strategies, GET /v1/repricing/assignments, GET /v1/reprice-events; automation:write for creating, changing (PATCH) or deleting assignments and for POST /v1/reprice-events/{id}/approve / .../skip.
An assignment reprices a scope on a schedule with one strategy:
scope:{ kind: 'listings', listingIds: [...] }(1-1000 ids),{ kind: 'category', category }, or{ kind: 'saved_view', savedViewId }.strategy:undercut_lowest,match_market,scheduled_decay,raise_back,sold_median. Each strategy's ownparamscome fromGET /v1/repricing/strategies(items[], pluscommon[]every strategy takes). Read it instead of guessing param names.floorCents(integer cents, never breached),breakEvenFloor(raise the floor to cover cost),approvalModeauto(default) orask,checkEveryHoursone of 6, 12, 24 (default), 48, 168,enabled,name(max 120).
Creating one counts against the plan's automation capacity.
const { data: a } = await crossly.automation.createRepricingAssignment({ // POST /v1/repricing/assignments
name: 'Denim: follow sold median',
scope: { kind: 'category', category: 'Jeans' },
strategy: 'sold_median',
floorCents: 2500,
breakEvenFloor: true,
approvalMode: 'ask',
checkEveryHours: 24,
}, { idempotencyKey: crypto.randomUUID() }) as { data: { id: string } };
// With approvalMode 'ask', each proposed move waits here (proposals expire after three days).
const pending = await crossly.automation.listRepriceEvents({ pending: true }) as {
data: Array<{ id: string; oldPriceCents: number | null; newPriceCents: number | null; reason: string }>;
};
for (const ev of pending.data) {
if ((ev.newPriceCents ?? 0) >= 2000) await crossly.automation.approveReprice(ev.id, { idempotencyKey: crypto.randomUUID() });
else await crossly.automation.skipReprice(ev.id, { idempotencyKey: crypto.randomUUID() });
}
Other SDK methods: listRepricingStrategies(), listRepricingAssignments(), updateRepricingAssignment(id, patch) (pause with { enabled: false }), deleteRepricingAssignment(id). Every decision, including "held at floor", lands in /v1/reprice-events with its reason. Subscribe to the reprice.proposed webhook instead of polling (see crossly-webhooks). An assignment is a workflow under the hood; one-off price drops and timed sales are built as workflows (crossly-workflows).
Comps
GET /v1/pricing/sold-comps (listings:read, SDK crossly.pricing.soldComps({ listingId }) or { marketSkuId, condition }): what one catalog product sold for across Crossly in the last 180 days: median, p25/p75, p10/p90 (null under 10 sales), sale count, last sold, days to sell. comps is null until there are 3+ sales from 2+ sellers, and holdCode says why: no_market_sku, mixed_inventory, below_privacy_floor. These are the numbers a sold_median strategy prices against.
Comp watchlists track external sold comps for a search (listings:read to read, listings:write to change). SDK: crossly.compWatchlists.list(), .create(body), .recent(id), .scrape(id), .delete(id).
curl -X POST https://crossly.net/api/v1/comp-watchlists \
-H "Authorization: Bearer $CROSSLY_PAT" -H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{ "name": "Levi 501 big E", "brand": "Levi'\''s", "minPrice": 40, "maxPrice": 200 }'
GET /v1/comp-watchlists/{id}/recent lists the matches (sold_price decimal string); POST /v1/comp-watchlists/{id}/scrape runs a scrape now and returns { scraped, new, matched }.
The offer floor
GET /v1/listings/{id}/offer-floor?platform=poshmark (inbox:read, SDK crossly.listings.offerFloor(id, 'poshmark')): the lowest price an offer may be accepted or countered at on that platform, as grossCents + origin (listing, item, break_even or null), also returned as floorCents + floorSource. isNet and assumptions explain a break-even floor. Check it before you accept or counter.
Offers on the seller's Crossly store
Scopes: inbox:read for GET /v1/offers, inbox:write for POST /v1/offers/{id}/respond.
const { offers } = await crossly.offers.list({ status: 'pending', limit: 50 }) as { // limit 1-200
offers: Array<{ id: string; amountCents: number; listedTotalCents: number | null; isBundle: boolean; expiresAt: string }>;
};
for (const o of offers) {
const res = await crossly.offers.respond(o.id, // POST /v1/offers/{id}/respond
o.amountCents >= (o.listedTotalCents ?? Infinity) * 0.85
? { action: 'accept' }
: { action: 'counter', counterCents: Math.round((o.listedTotalCents ?? o.amountCents) * 0.9) },
{ idempotencyKey: crypto.randomUUID() });
// res: { ok, status, floorCents, floorSource } (floor null for a bundle)
}
Statuses: pending, accepted, declined, countered, expired, withdrawn. Accepting gives the buyer a one-time right to buy the covered items at that price; countering opens a child offer (counterOfferId) over the same items. Errors: 404 not_found, 409 offer_not_pending, 409 offer_expired, 409 awaiting_buyer (your counter is waiting on the buyer).
Offers in marketplace conversations
Offers from other marketplaces live on inbox conversations: hasOffer, offerAmount (decimal string, dollars), offerStatus. Find them with GET /v1/inbox?filter=needs_reply or the offer.received webhook. Scope inbox:write; messages:* tokens can't act on offers (see crossly-inbox-messages).
# Accept, counter or decline. counterAmount is DOLLARS, required for counter.
curl -X POST https://crossly.net/api/v1/inbox/c1d2e3f4-5a6b-7c8d-9e0f-1a2b3c4d5e6f/offer \
-H "Authorization: Bearer $CROSSLY_PAT" -H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{ "action": "counter", "counterAmount": 78 }'
# -> { "jobId": "..." } the marketplace call runs asynchronously
SDK: crossly.inbox.offer(id, { action, counterAmount }). POST /v1/inbox/conversations/{id}/offer-action takes the same body and returns the updated conversation. Platforms answer differently (Mercari accept only, Poshmark only accepts counters inside its range). An action the marketplace does not support is 409 offer_action_unsupported; a thread found only by email is 409 email_sourced_reconnect_required (reconnect the account). A failed marketplace write is 502 platform_write_failed. Re-read the conversation's offerStatus afterwards.
Sending an offer in a thread (seller to buyer): POST /v1/inbox/{id}/send-offer with { amount, note? } (amount in the listing's currency, above 0 and below the listing price; whole dollars on Grailed; note max 1000). Only where the conversation's canSendOffer is true (Grailed today). SDK crossly.inbox.sendOffer(id, { amount }). Refusals are 400 validation_error with details.code OFFER_NOT_SUPPORTED, NO_THREAD_LISTING, OFFER_NOTE_TOO_LONG or INVALID_OFFER_AMOUNT (with details.listPrice).
Offers to likers and auto-respond rules
These are workflow nodes, not REST endpoints. Build them with /v1/workflows (scope automation:write; see crossly-workflows), and read each node's params and platform list from GET /v1/workflows/catalog:
| Node | Does | Platforms (from the code today) |
|---|---|---|
listing.send_offer_to_likers |
Private offer to everyone who liked the listing: discountPercent 1-90 (default 10), shippingFree, minLikeCount, excludeRecentOfferDays (0-365) |
the offer_to_likers capability: Poshmark's recipe. API platforms are a logged no-op |
listing.ebay_send_offer_to_interested_buyers / offer.watcher_offer |
Offer to watchers | the offer_to_watchers capability: eBay and Trade Me adapters |
inbox.offer_auto_respond |
Accept / decline / counter on net or gross payout: acceptAtOrAbovePercent, declineBelowPercent, counterStrategy (split, fixed_percent, none), floorCents |
every platform with the offer_respond capability |
inbox.ebay_best_offer_auto_respond |
eBay Best Offer: acceptAboveCents, declineBelowCents, counterCents |
eBay |
inbox.auto_decline_low_offer, inbox.counter_offer, offer.respond, offer.send_in_thread |
Narrower offer steps | per catalog |
Pair them with the on.offer.received or on.listing.liked trigger nodes, or a schedule. Always set floorCents or a decline line. The legacy /v1/automation/rules endpoints are deprecated.
Rules
- Check the units for every field: price rules and inbox offers are dollars, repricing and Crossly-store offers are integer cents.
- Read the offer floor before you accept or counter, and never send a counter below it.
- Preview channel prices before changing a rule that covers many listings.
- Use
approvalMode: 'ask'until a new repricer's decisions look right, then switch toauto. - Send an
Idempotency-Keyon every respond, counter and send-offer call. Offer answers are money-moving and a retry without one can double-act. - Offer and price writes are asynchronous on marketplaces. Confirm them from the conversation,
/v1/reprice-eventsor theoffer.*/listing.price_changedwebhooks.
Docs: https://crossly.net/docs/offers · https://crossly.net/docs/pricing-tools · https://crossly.net/docs/api-inbox · https://crossly.net/docs/automation-rules
