eBay Direct Integration
JewelTrak’s eBay integration uses the Inventory API + Account API to push listings directly from inventory data — no CSV uploads, no copy-paste. An item’s eBay category and item specifics are entered once, in the same section the Frooition tab uses, and go out whichever way the shop lists.
Supports all 5 inventory families: jewelry, watches, diamonds, colored stones, pearls.
Before you start — eBay developer keys
Connecting eBay needs platform-level credentials that you (the JT operator) provision once and add to Vercel env vars. This is a one-time admin task, separate from the per-tenant connect flow.
- Sign in at developer.ebay.com (or create a free account)
- My Account → Application Keysets → Create a keyset
- eBay issues a Sandbox keyset + a Production keyset. Each has:
- App ID (Client ID)
- Cert ID (Client Secret)
- For each keyset, User Tokens → Add eBay Redirect URL (RuName):
- Redirect URL:
https://app.jeweltrak.com/settings/integrations/ebay/callback - Privacy policy URL: your privacy policy
- Redirect URL:
- Save. eBay generates a RuName string like
JewelTrak-JewelTrak-PRD-xxxxxxxxx. - Paste into Vercel environment variables:
EBAY_CLIENT_ID(App ID)EBAY_CLIENT_SECRET(Cert ID)EBAY_RU_NAME(RuName string)EBAY_SANDBOX(truefor sandbox testing,falsefor production)
Tenants see an amber “eBay developer keys pending” notice on the integration card until these env vars are populated. The Connect button is disabled until then.
Connecting eBay (tenant flow)
Once the keys are in place:
- Settings → Integrations → eBay → Connect eBay
- You’re redirected to eBay to log in with the seller account and grant JewelTrak permission to manage inventory and orders
- eBay bounces back to JewelTrak with a success banner
- Token + refresh token are saved server-side; access tokens auto-refresh in the background (eBay access tokens last ~2 hours, refresh tokens last 18 months)
Setting up eBay, start to finish
Do these once. When they’re done, every piece is listed from its own Sales Channels → eBay tab.
- Finish selling registration on eBay. The eBay account must be registered to sell (payout and identity details). If it isn’t, Publish says so and links to eBay’s registration page.
- Connect. In JewelTrak, open Settings → Integrations → eBay and click Connect eBay. Sign in with the seller account and allow access.
- Turn on Business Policies. Click Load my eBay choices. If it says Business Policies are off, click Turn on Business Policies, or turn them on in eBay under Account → Business policies (eBay’s help page). eBay can take a little while to finish switching it on.
- Create one shipping, one payment and one return policy in eBay (Account → Business policies → Create policy). These replace the shipping, returns and payment settings a Frooition export carried, so make them match how you list today: shipping services and cost, handling time, local pickup, international shipping, and your return window and who pays return shipping. Payment can stay at eBay’s default.
- Pick them in JewelTrak. Back on Settings → Integrations → eBay, click Load my eBay choices, choose the three policies, and click Save eBay Config.
- Add your ship-from location with Add your ship-from location (below). eBay has no page for this; it has to come from JewelTrak.
Each step is explained in more detail below.
Post-connect setup — Business Policies + fulfillment location
eBay’s Inventory API requires every listing to reference:
- A Shipping Policy ID
- A Payment Policy ID
- A Return Policy ID
- A Merchant Location Key (your fulfillment address)
Click Load my eBay choices on the integration card. JT pulls these from your eBay account in one request and populates dropdowns. Pick one of each and Save eBay Config.
“Your eBay account hasn’t turned on Business Policies yet.” Some eBay accounts, new ones especially, have never switched Business Policies on, and eBay won’t return any policies until they do. Click Turn on Business Policies: JewelTrak asks eBay to switch it on, and that’s the only thing it changes on your eBay account. eBay can take a little while to finish; if Load my eBay choices still says it’s off, try again later. If you have no policies yet, create a shipping, payment and return policy in eBay, then load again. A policy type with none on your account shows a note and a link instead of an empty list.
Ship-from location. eBay only accepts this location through a connected program like JewelTrak; there’s no page on eBay’s website to make one. Click Add your ship-from location. The form starts with your store’s address from JewelTrak; fix anything that’s off and click Create on eBay. It’s created on your eBay account and selected straight away.
If any are missing, JT shows the per-item Publish button as disabled with a “finish setup” link.
Per-item listing — the eBay sub-tab
On any inventory item (jewelry/watch/diamond/colored stone/pearl), open Sales Channels → eBay sub-tab.
The tab has two parts.
Category and item specifics come first. This is the same section as Sales Channels → Frooition, saved to the same place, so a shop that uses both enters them once. JewelTrak picks a category from the item (a Ring goes to Fine Jewelry > Rings, a loose colored stone or pearl to Loose Gemstones) and fills in what it already knows; fill in the rest and click Save item specifics. Specifics eBay requires for that category are listed first and marked with a red *, and the section names any that are still empty. For a ring eBay requires Brand, Main Stone, Metal, Metal Purity and Ring Size; Publish to eBay stops with that list rather than letting eBay turn the listing down one missing specific at a time. The Frooition article walks through the section in detail.
The listing form below it has:
- Title — eBay’s 80-char hard cap, with a live remaining-character counter.
- Subtitle — 55-char cap. eBay charges $1.50 to use this (warned in the help text).
- Format — Fixed Price or Auction. Auction adds Starting Bid and Reserve.
- Price — required for Fixed Price; for an Auction it’s the optional Buy It Now.
- Quantity — defaults to 1 (single-unique jewelry is the default model).
- Duration — Good ‘Til Cancelled for Fixed Price; 3/5/7/10 days for Auction.
- Best Offer — accept yes/no, plus optional auto-accept and minimum thresholds. Fixed Price only.
- Condition + Condition Description — condition is required.
- Description — HTML body. Uses the title if left blank.
More eBay options (click to open) holds everything else eBay takes on a listing:
- Second eBay Category # (eBay charges for it) and up to two Store Categories, typed as the path in your eBay store, like
/Rings/Engagement. - Package: type, length, width and height in inches, and weight in pounds and ounces, plus Irregular Package. Calculated shipping needs the size and weight.
- UPC, EAN, ISBN and eBay Product ID (ePID). Brand and MPN are item specifics, set in the section above.
- Start Listing At schedules the listing; blank goes live when you publish.
- Limit Per Buyer, Lot Size (only when one listing sells a lot), Private Listing (hides buyers’ IDs) and Use Sales Tax Table. eBay collects US sales tax itself; a tax table only covers US territories.
Shipping services, handling time, international shipping, returns and payment are not on this form: they are your eBay Business Policies, chosen once in the eBay settings above.
Save keeps the listing form without publishing; it never changes the category or item specifics. Publish to eBay posts the listing live; the panel updates with the listing ID and timestamp.
Publish sends what is saved (plus your shop’s defaults for anything left blank, below), so it stays greyed out until the item is ready, with the reason on the line under it: a category and every required specific saved in the section above, a title, a condition, a price (a starting bid for an auction), at least one photo (with a link to the General tab to add one), and no unsaved edits in the listing form.
Your shop’s eBay defaults (shops moving off Frooition)
A shop that listed through Frooition gets the same defaults its Frooition export used, so the boxes start filled in and only the item specifics and anything particular to the piece need entering. A note at the top of the form says so. Anything you change for a piece wins; anything left as shown goes to eBay as shown, including when several pieces are published at once from the Listings page.
- Unique Stones: the title is the website Item Name, the description is the Short and Long Web Description plus the SKU, condition New, Best Offer on, and the pictures are the photos plus certificate and appraisal JPGs, exactly as the Frooition export sent them. Price is entered on the form; the export never carried one.
- Made For Love: the description is the item’s description plus your Item Details block, price is Price 2, condition note “Very Good Condition”, the package is 12 × 7 × 1 in at 3 oz, and the store category is the one your export used. The title, condition and Best Offer are entered per piece; your export sent a coded SKU in place of a title, and that never goes to eBay as one.
A piece that is already live on eBay through Frooition (linked to JewelTrak) can’t be published from here, because that would put a second listing up for the same piece. The line under Publish says so and links to the live eBay item. End it with Retire Listing, or edit it on eBay.
Push flow (under the hood)
When you click Publish to eBay the handler does 3 sequential API calls:
createOrReplaceInventoryItem— PUT to eBay with title, subtitle, description, aspects, image URLs, product codes, condition, package and quantity. Idempotent by SKU.createOffer— POST creating the offer record (categories, store categories, price or auction prices, duration, schedule, business policies, fulfillment location).publishOffer— POST that turns the draft offer into a live listing. Returns the eBay listing ID.
Both successes and failures flow back into channel_listings. Failures stamp the LastError so the panel shows what went wrong on the next page render.
Auto-retire on sale
When JewelTrak inventory drops to QOH=0 (POS sale, void, scrap, memo issue, manual edit), the dispatcher fans out to every connected channel. For eBay this means the listing is withdrawn automatically. No more “available” listings for items already sold.
Re-listing on 0→1 is NOT automated — operator re-publishes manually to re-check pricing + description.
Photo changes update the listing
When you add a photo, delete one, choose a different main photo, or keep a worn-on-model photo on an item that JewelTrak listed on eBay, the eBay listing updates by itself within about 15 seconds. It keeps the same eBay item number. The main photo is always eBay’s first picture (the one shoppers see in search results). Several changes made back to back go to eBay as one update.
If the update fails, the eBay panel shows the reason, starting with “Photo update:“. Deleting every photo leaves eBay on the old pictures, because eBay won’t keep a listing with none.
Listings posted through Frooition and linked to JewelTrak are not updated this way. Send the new photos to eBay through Frooition.
Bulk push — coming Phase 1b
Per-item Publish is live today. Bulk publish from the inventory/watches/diamonds list pages is on the Phase 1b list.
Sandbox vs production
EBAY_SANDBOX=true routes auth + API calls to sandbox.ebay.com. Test there until your workflow is solid, then flip to production by:
- Setting
EBAY_SANDBOX=false - Swapping in Production credentials (a different App ID / Cert ID / RuName from the Production keyset)
- Redeploying Vercel
Each tenant must re-connect on the new environment — sandbox and production OAuth tokens are not interchangeable.
Phase 1b roadmap
Items shipping after the first round of live tenant testing:
- Quantity sync into the dispatcher (helper exists, not yet wired)
- Bulk publish + bulk retire from list pages
- Description auto-derivation from inventory fields when BodyHtml is blank
- Frooition MFL import path (parse a tenant’s existing Frooition exports into ebay_settings)
Phase 2 — inbound orders
Not yet built. When a sale happens on eBay (vs in JT), eBay sends an order webhook that JT will turn into an invoice with SourceChannel='ebay'. The fulfillment-on-finalize trigger then pushes shipment back to eBay so the buyer sees Fulfilled status. Same pattern Shopify uses today.
Troubleshooting
- Connect eBay button is disabled / “developer keys pending” — Vercel env vars not populated. Admin task; one-time setup.
- Token exchange fails after eBay redirect — Sandbox vs Production mismatch. Check
EBAY_SANDBOXenv var against the keyset’s environment. - “Your eBay account isn’t set up to sell yet” — eBay needs the account’s seller registration finished (payout and identity details) before anything can be listed. The message includes eBay’s registration link; finish it there, then publish again.
- “eBay won’t list this without: …” — those required specifics are empty. Fill them in the item’s eBay section, save it, and publish again.
- Publish button is disabled — One of: not connected, business policies not selected, fulfillment location not chosen, no category saved, or the title, condition or price (starting bid for an auction) is empty, or the piece is already live on eBay through Frooition. A category JewelTrak suggested isn’t saved until you click Save item specifics.
- “Authorization required” on listing changes — Your eBay refresh token expired (18-month window). Re-Connect on the integration card to issue a new one.
- “eBay needs reconnecting” banner (Listings page) or “Reconnect needed” badge (Integrations hub) — JewelTrak detected an authentication failure on a push or reconcile (usually the expired refresh token above). Pushes keep failing until you click Reconnect and re-authorize; the flag clears on the next successful push.