Skip to main content
HippoLink

Large lists, syncing and background jobs

Page through long lists, keep your own copy of a store's orders, inventory and prices current, and poll background jobs without wasting your rate limit.

Last updated 2026-11-30

Most integrations read a lot and change a little. This article covers how list endpoints page, how to poll for only what changed instead of re-reading a whole store, the price lists, and how to wait for a background job.

Two ways a list pages

The endpoint reference says which one each list uses.

Cursor pages. Leave out after on the first call. Each page returns next_cursor and has_more; pass next_cursor back as after until has_more is false. A cursor belongs to the filters that produced it, so start again from the first page if you change a filter. Ask for count=true only when you need total, since counting is the slow part.

Offset pages. Pass limit and offset. limit defaults to 50 and tops out at 250 on most endpoints; the OpenAPI file gives each endpoint's own default and maximum where they differ. The response carries total, limit and offset.

Prefer cursor paging wherever an endpoint offers it. Offset pages are counted from the top each time, so rows added or removed while you walk can make you skip or repeat a row, and deep offsets get slower. With offset paging, use the largest limit you can handle and walk at a steady pace. A full-store walk spends the same request budget as everything else that key does.

Syncing orders

To keep your own copy of a store's orders current, poll listOrders instead of re-reading the whole list:

  1. Send updated_after and leave out offset, sort_by and sort_dir. For the first full copy, use a time far in the past, such as 1970-01-01T00:00:00Z.
  2. Orders come back oldest change first, by updated_at and then order_uuid. Pass each page's next_cursor back as after, keeping updated_after and the other filters the same, until has_more is false.
  3. The last page still carries a next_cursor. Keep it, and on your next poll send it as after with the same updated_after and filters. You get only what changed since, with no overlap to manage. If a first page found nothing, next_cursor is null; poll again with updated_after.

A change shows up once it is 60 seconds old, so a poll sees changes up to a minute late. That delay is what makes the cursor safe. You will still see some orders more than once, because an order changed during your walk moves to the end of the list. Store orders by order_uuid and keep the copy with the latest updated_at.

updated_at moves when the order record itself changes: its status, notes, tracking, hold, resolution or address. A change only to its line items, shipment or refund records doesn't move it, so read those with getOrder for the orders a poll returns. countOrders (HEAD) takes the same updated_after and counts the same orders.

Date filters on orders (ordered_after, ordered_before, resolved_after, resolved_before) must be RFC 3339 timestamps with a time zone, such as 2026-11-26T15:04:05Z. Anything else is 400 query_param_invalid.

Syncing inventory

listInventory pages by offset for the full list and by cursor only for change polls:

  1. Call listInventory with sync=true and nothing else. It returns no rows and a next_cursor. Keep it.
  2. Read the full list with offset paging, as usual.
  3. From then on, poll with after set to the cursor you kept, plus limit if you want it. No other parameter is allowed (422 cursor_param_conflict). inventory holds the products whose rows may have changed, oldest change first. removed lists products that changed and aren't stocked now in any bin; drop them if you have them. While has_more is true, pass next_cursor back as after. Keep the last next_cursor for your next poll.

Taking the cursor before the full read is what makes this safe: anything that changes while you read comes back on your first poll. A product can come back more than once, so store products by tcgplayer_product_id and keep the latest row. A page can hold fewer than limit products while has_more is true, and on these responses the totals cover the page's rows only.

A poll returns a change once it has finished saving, so changes made during a long write such as a CSV import arrive on the poll after the import finishes. Nothing is skipped.

What a poll sees is a product's stock and price: a card added, removed or moved, a quantity or listed quantity changed, a stocked card's price or price lock changed, or a bin's price lock turned on or off. A change to only the buylist price, tags, COGS, last sold date, grading, catalog details or last_inventoried_at waits until the product changes in one of those ways. If you keep any of those fields, re-read the full list now and then.

A cursor is good for 6 days. An older one is refused with 400 cursor_expired; start again from step 1.

Price lists

The price_lists area returns a store's prices as flat lists, for a storefront, a spreadsheet or a price-comparison tool. Both lists need the store to be on the Pro plan or higher (402 subscription_required otherwise), and both show only what the key's sharing options allow (see API keys, scopes and rate limits).

Buylist: GET /v1/stores/{store_uuid}/price-lists/buylist (getBuylistPriceList, cost 1) is what the store pays. One row per SKU with a cash or credit price above zero, in tcgplayer_sku_id order, with cash, credit, hotlist and the store's currency. It covers every game the store buys unless you pass game. A card whose offer is capped at a quantity of 0 is left out. updated_at is the last time that offer changed. Pages by cursor, default 250 rows, at most 1,000.

Retail: GET /v1/stores/{store_uuid}/price-lists/retail (getRetailPriceList, cost 5) is what the store sells for. One row per in-stock SKU with at least one price you can see:

  • base holds the store's own price in its currency, and quantity, the copies visible in the store's sellable bins capped at the card's drip-listing target. A card has no base when it has no base price or a price of 0, when none of its copies are visible to list, or when the store tagged it do-not-sell.
  • marketplaces has one entry for each connected marketplace the SKU is listed on, with the price HippoLink sends that marketplace in the entry's currency, and the quantity it sends, already net of reserves and of orders HippoLink has taken in.
  • price_updated_at is the last time HippoLink changed the card's base price, or null when it never has.

Filter with marketplace (a marketplace, or BASE for the base price alone) or game. A page is up to limit rows (default 100, at most 250), and can be fewer, or even empty, while has_more is true. Keep following next_cursor until has_more is false.

A page is a snapshot of the moment you read it. To keep a copy current, read the list again from the top.

Background jobs

A few endpoints start a job instead of answering at once, such as POST .../inventory/export, POST .../inventory/label-jobs and POST .../orders/shipping/rate-batches. They answer with the job's id, and a matching GET reports its status until it is done. Starting a sheet of labels or a batch of shipping rates is a write (inventory:write and orders:write), so send it an Idempotency-Key and a retry won't start a second job. An inventory export is a read, but it also takes an Idempotency-Key: a retry with the same key gets the first export's job back.

Every status check is a normal call and spends the key's request budget. Wait a couple of seconds before the first check, then lengthen the wait (for example 2, 4, 8, then every 15 seconds) rather than polling in a tight loop.