Repricing

Repricing compares the price of every card you have for sale with its market price and changes many prices at once, with a draft you review before anything is written. You can read the price check, estimate a change, prepare a draft, leave cards out of it, apply it, and undo it within 7 days.

Reading the price check and estimating need the listings:read scope. Preparing, leaving cards out, applying and undoing need listings:write. Repricing needs a seller profile with a country and a currency; an account without one, or one that cannot manage listings, gets 403 NOT_AVAILABLE with a reason.

The price check

GET /v1/inventory/price-check sorts the cards you have for sale into six groups by how their price compares with the market price:

Group Cards
way-above More than 30 percent above the market price.
above 10 to 30 percent above.
at-market 20 percent under to 10 percent above, or less than the minimum gap over the market price.
good-deals 20 to 60 percent under, and worth the Good deals minimum.
very-low More than 60 percent under.
no-market Graded cards and cards without a market price.

The response gives the count and the value at stake of each group, and the time it was computed (computedAt). A refresh recomputes a pass over your cards, so it is limited by the price-check-refresh bucket; see Rate limits.

GET /v1/inventory/price-check/groups/{group} lists the cards of one group, the most money at stake first. Page with pagination.nextCursor; see Pagination.

Estimate

POST /v1/inventory/reprice/estimate counts what a reprice would do before anything is planned: the cards in scope, how many prices would go down or up, the cards that would be shown as Good deals, and the highest-value card that would change. It plans nothing and changes nothing.

A request has the same body as a draft:

  • scope.kind: group (one price check group, optionally one set), selection (up to 1,000 inventoryIds), all (every card for sale) or not-for-sale (only the cards alsoList puts up for sale). scope.filters narrows any kind with the filters of POST /v1/inventory/search.
  • level.kind: sell-fast (the configured Sell fast percentage under the market price), market (the market price), custom (the market price plus percent, from -60 to 50 in steps of 5) or percent-of-current (the current sale price plus percent, from -60 to 50).
  • direction: down, up or both, for every scope kind.
  • floor: never price below this, in your seller currency.
  • alsoList: also puts cards that are not for sale up for sale at the same level, for cards worth at least minMarketValue (default 2; 0 for every card with a market price).

Prepare a draft

POST /v1/inventory/reprice/runs plans the reprice in the background and returns a runId with status preparing. Poll GET /v1/inventory/reprice/runs/{runId} until the status is ready.

curl -X POST https://public-api.cardnexus.com/v1/inventory/reprice/runs \
  -H "Authorization: Bearer cnk_live_4f2d8c91e5b34a7f9e6c2d1a8b5f7e3c" \
  -H "Idempotency-Key: 4a7d1c92-6b3e-4f08-9a5d-c2e8b1f73d06" \
  -H "Content-Type: application/json" \
  -d '{"scope":{"kind":"group","group":"way-above"},"level":{"kind":"custom","percent":-5}}'

The draft stores one absolute new price per card. Applying never recomputes a percentage, so a percent-of-current level is frozen at the price each card had when the draft was planned.

You have one draft at a time. Preparing a draft replaces every other draft that was never applied, including one you are reviewing on cardnexus.com; using a replaced run returns 409 RUN_SUPERSEDED with the run that replaced it. A draft is valid for 24 hours after its last review change, and at most 72 hours after it was created.

Review and leave cards out

GET /v1/inventory/reprice/runs/{runId}/changes lists the price changes of a run one tab at a time (all, down, up, new, promoted, big and left-out), with the run itself. Changes stay readable after the run is applied, undone or expired.

POST /v1/inventory/reprice/runs/{runId}/leave-out leaves cards out of a ready draft, or puts them back, by inventory id or by set. A card left out keeps its current price when the draft is applied.

Apply and undo

POST /v1/inventory/reprice/runs/{runId}/apply writes the prices of a ready draft that has not expired. The run moves to applying and the call returns at once; poll the run until it is applied. Each card is written only if it still holds the price you reviewed: a card that sold is skipped as sold, and a card whose price changed since the review is skipped as changed.

GET /v1/inventory/reprice/runs/{runId}/results lists what happened to each line of an applied, failed or undone run.

POST /v1/inventory/reprice/runs/{runId}/undo restores the previous prices of an applied run within 7 days of the apply pass (undoUntil). A card that sold, was repriced since, or was merged or split is not restored. After the window the call returns 409 UNDO_EXPIRED.

Apply and undo accept an Idempotency-Key, and a second call finds the run already applying or applied and returns it.

While a run prepares, applies or is undone, or while an import or a bulk edit runs, other inventory and listing writes return 409 INVENTORY_BUSY; see Error handling.

GET /v1/inventory/reprice/runs lists your runs, newest first.