Seller API # Build on Whatnot Manage products, orders and shipments from your own tools. [Read the docs](/getting-started/introduction) [Connect via MCP](/getting-started/mcp) ```bash MCP # Add the hosted Seller API MCP server to Claude Code claude mcp add --transport http --client-id bb1bf1ca-0452-4737-ad8f-81175f1601b8 \ --callback-port 8080 whatnot https://mcp.whatnot.com # Then authenticate once claude /mcp ``` ```bash cURL # List your products curl https://api.whatnot.com/seller-api/rest/v2/products \ -H "Authorization: Bearer $WHATNOT_API_KEY" \ -H "Content-Type: application/json" ``` Works with Claude Code, Cursor, VS Code, Windsurf and Claude Desktop. [Setup guide](/getting-started/mcp) ## Why use the Seller API? Automate the busywork of selling on Whatnot, from listing products to shipping orders, with the tools you already run. 1. 1 ### Run your catalog from code Create, update and delete products and their variants without opening the app. 2. 2 ### Keep stock in sync Set or adjust available quantity across many variants in one request, so listings match your shelves. 3. 3 ### Line up your shows Choose a product's sale format, add it to a show's lineup and publish it to your profile shop. 4. 4 ### Ship faster Pull orders and shipments, request shipping labels and add tracking codes as packages go out. 5. 5 ### See how a show did Fetch a show's analytics next to its products and orders, in your own reports. 6. 6 ### Hand it to an agent Connect the hosted MCP server and your AI agent can do all of the above with your own API token. ## Browse the docs Every page, grouped by what you're doing. ### Getting Started * [Introduction](/getting-started/introduction) * [Authentication](/getting-started/authentication) * [Rate limits](/getting-started/rate-limits) * [Webhooks](/getting-started/webhooks) * [Connect via MCP](/getting-started/mcp) ### Reference guides * [Request IDs](/request-ids) * [Errors](/errors) * [Product taxonomy](/taxonomy) ### Tools * [Hosted MCP server](/getting-started/mcp) ### API Reference * [Products](/api-reference/tag/products) * [Inventory](/api-reference/tag/inventory) * [Merchandising](/api-reference/tag/merchandising) * [Orders](/api-reference/tag/orders) * [Shipments](/api-reference/tag/shipments) * [Shipping](/api-reference/tag/shipping) * [Shows](/api-reference/tag/shows) * [Analytics](/api-reference/tag/analytics) * [Users](/api-reference/tag/users) * [Models](/api-reference/models) # Introduction to Seller API The Whatnot Seller API is a REST API for managing your Whatnot store from your own systems: products, inventory, orders, shipments, shows, and analytics. Looking for the old GraphQL docs? Go to [developers.old.whatnot.com](https://developers.old.whatnot.com/docs/getting-started/introduction). ## What you can do - **Products**: create and manage listings, including variants, pricing, and media. - **Inventory**: set or adjust available quantity on variants, individually or in batches. - **Merchandising**: control a product's sale format and which shows or profile shop it's published to. - **Orders**: retrieve orders and their line items, and cancel orders that haven't shipped. - **Shipments**: retrieve shipment details, generate shipping labels, and add tracking codes. - **Shows**: retrieve your scheduled, live, and past shows, along with their analytics. - **Users**: look up the seller behind the current token, and disconnect your app's access. ## Base URL ```plaintext https://api.whatnot.com/seller-api/rest/v2 ``` ## Getting started 1. Get an API token. See [Authentication](/getting-started/authentication) for the Bearer token format. 2. Check [Rate limits](/getting-started/rate-limits) so your integration behaves well under load. 3. Try a request (see below). 4. Set up [Webhooks](/getting-started/webhooks) if you want to react to events instead of polling. 5. Explore every endpoint in the [API Reference](/api-reference), or connect an agent [via MCP](/getting-started/mcp). ### Trying out the API Use the [API Reference](/api-reference) to explore every endpoint and try real requests against the API directly from your browser, using your own API token. ### Making requests The Seller API follows standard REST conventions: resources are addressed by URL, and the HTTP method (`GET`, `POST`, `PATCH`, `DELETE`) determines the action. Request and response bodies are JSON. Every request must include your API token in the `Authorization` header, and a `Content-Type` header on any request with a body: ```plaintext Authorization: Bearer Content-Type: application/json ``` For example, listing your products is a `GET` request to `/products`: ```plaintext GET /products Authorization: Bearer ``` See the [API Reference](/api-reference) for the full set of endpoints, request/response schemas, and error responses. # Authentication ## How do I generate an API token? Create a personal access token from the **Personal access tokens** tab of your [developer dashboard](https://www.whatnot.com/dashboard/developer?tab=tokens), then select **Generate new token**. Only the account owner can create and manage tokens. When you generate a token, you choose: * **Name**: required, and must be unique among your tokens. * **Description**: optional, to remind you what the token is for. * **Expiration**: 7, 30, 60, or 90 days, a custom date, or no expiration. * **Permissions**: the scopes the token can use. Choosing write access to a resource includes read access. See [Available Scopes](#available-scopes) for what each one unlocks. Copy your token as soon as it's generated. It's shown only once, and you can't view it again after you leave the page. ## How do I authorize API requests once I have my API token? Include your API token in the `Authorization` header of every request, using the Bearer token format: ```plaintext Authorization: Bearer ``` Personal access tokens use the prefix `wn_pat_tk_`. Tokens issued to an app through OAuth use the prefix `wn_access_tk_`. ## How do I manage my tokens? Select a token on the **Personal access tokens** tab to see when it was created, when it was last used, when it expires, and which permissions it has. From there you can: * **Edit** its name, description, expiration, or permissions. Expired tokens can't be edited; regenerate them instead. * **Regenerate** it, which creates a new token with the same name, description, and permissions and deletes the current one. Anything using the current token stops working immediately, and the new token is shown only once. * **Delete** it. Anything using the token stops working immediately, and this can't be undone. ## My token was leaked or compromised! What should I do? Open the token in your [developer dashboard](https://www.whatnot.com/dashboard/developer?tab=tokens) right away. **Regenerate** it to get a replacement with the same settings, or **Delete** it if you no longer need it. Either way, the compromised token stops working immediately. ## Available Scopes Your API key is assigned scopes based on the features it needs. For example, a key used to display and update inventory might have `read:inventory` and `write:inventory`, while one used to fulfill orders off-platform might have `write:orders` and `read:customers`. The list below is generated from the live API reference, showing exactly which endpoints and fields each scope unlocks. Loading scopes from the API reference… Couldn’t load scopes Source:`` # Rate Limits The Seller API enforces a rate limit per seller, per connected app: **10 requests per second**. This limit is subject to change without notice. ## Checking your usage Every response counted against the limit, including a `429`, carries `RateLimit` headers ([IETF draft-polli-ratelimit-headers-02](https://www.ietf.org/archive/id/draft-polli-ratelimit-headers-02.html)) so you can see where you stand before you're rejected: ```plaintext RateLimit-Limit: 10, 10;w=1 RateLimit-Remaining: 7 RateLimit-Reset: 1 ``` - `RateLimit-Limit`: the policy in effect (the limit, and the limit again with its window in seconds, `w=1`). - `RateLimit-Remaining`: an estimate of requests left in the current window. Treat it as a hint, not an exact count. Don't assume a positive value guarantees your next request will succeed. - `RateLimit-Reset`: seconds until the window resets. A request that isn't counted against the limit (a `401`, or one that never reaches the limiter) has none of these headers. ## What happens when you hit the limit A request that exceeds the limit gets a `429 Too Many Requests` response with a `Retry-After` header telling you how many seconds to wait (the same instant as `RateLimit-Reset` above): ```plaintext HTTP/1.1 429 Too Many Requests Retry-After: 1 RateLimit-Limit: 10, 10;w=1 RateLimit-Remaining: 0 RateLimit-Reset: 1 { "type": "rate-limited", "title": "Rate limited", "status": 429, "detail": "Rate limit exceeded" } ``` See [Errors](/errors) for the full shape of this response. ## What to do about it - **Respect `Retry-After`.** Wait at least that many seconds before retrying the same request. - **Self-throttle using `RateLimit-Remaining`.** Slow down as it approaches zero instead of waiting to be rejected. That's the proactive alternative to reacting to a `429` after the fact. - **Back off exponentially on repeated 429s.** If you're still being limited after waiting, double your wait time on each subsequent attempt (with jitter) rather than retrying on a fixed interval. That avoids synchronized retry storms across your own requests. For example: wait `Retry-After` seconds, then double that wait on each further `429` (1s, 2s, 4s, 8s, ...) up to some capped maximum, adding a small random jitter to each wait so retries from multiple clients don't line up. Most HTTP clients also have this built in; for example, [`urllib3.util.Retry`](https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html#urllib3.util.Retry) or [Tenacity](https://tenacity.readthedocs.io/) in Python. - **Spread out large syncs.** If you're backfilling or syncing a large catalog, pace your requests under the limit instead of bursting. - **Use batch endpoints where available**, so one rate-limited request does the work of several: - `POST /inventory/set` and `POST /inventory/adjust` each accept up to 10 variants per request. - `PATCH /products/{product_id}/variants` updates up to 10 variants per request. - **Cache what doesn't change often**, such as product catalogs or dimension profiles, instead of re-fetching on every request. ## Limit scope The limit is per seller and per connected app. One high-volume integration won't exhaust the limit for a different app connected to the same seller, and different sellers using your app don't share a limit with each other. # Webhooks Webhooks notify your app when something happens in a seller's store (an order is placed, a shipping label is generated, a show goes live) instead of you polling the API for changes. Whatnot webhooks follow the [Standard Webhooks](https://www.standardwebhooks.com) specification, so you can verify them with the open-source Standard Webhooks libraries. ## Setting up a subscription Webhook subscriptions are configured per client app from your [developer dashboard](https://www.whatnot.com/dashboard/developer): register a URL and choose the topics you want delivered to it. There's no REST endpoint for managing subscriptions today. Each topic requires a scope. Your app and the seller's installation must both hold it, or that seller's events aren't delivered to you. ## Available topics Each topic has its own page in the [Webhooks reference](/webhooks) showing its headers and payload, laid out like an API route. | Topic | Description | Required scope | | ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | | [`orders.created`](/webhooks/tag/orders/webhook/post/orders.created) | An order was placed, or for an offer, the seller accepted it. | `read:orders` | | [`orders.updated`](/webhooks/tag/orders/webhook/post/orders.updated) | An order's status changed after it was placed, for example when it was cancelled or completed. | `read:orders` | | [`shows.created`](/webhooks/tag/shows/webhook/post/shows.created) | A seller scheduled a show. Rehearsals aren't sent. | `read:shows` | | [`shows.updated`](/webhooks/tag/shows/webhook/post/shows.updated) | A show changed, such as its title, start time or visibility. Status changes are reported in their respective hooks. | `read:shows` | | [`shows.started`](/webhooks/tag/shows/webhook/post/shows.started) | A show went live, including when a stopped show resumed. | `read:shows` | | [`shows.ended`](/webhooks/tag/shows/webhook/post/shows.ended) | A show ended, including when Whatnot ended an abandoned show. It drops out of `GET /merchandising/products/{product_id}/shows` for its products, but no `merchandising.products.removed_from_show` is sent for them. | `read:shows` | | [`shows.cancelled`](/webhooks/tag/shows/webhook/post/shows.cancelled) | A show was cancelled. It drops out of `GET /merchandising/products/{product_id}/shows` for its products, but no `merchandising.products.removed_from_show` is sent for them. | `read:shows` | | [`merchandising.products.added_to_show`](/webhooks/tag/merchandising/webhook/post/merchandising.products.added-to-show) | A product was added to a show. | `read:merchandising` | | [`merchandising.products.removed_from_show`](/webhooks/tag/merchandising/webhook/post/merchandising.products.removed-from-show) | A product was removed from a show, including when its listing was deleted. It isn't sent when a show is cancelled or ends; `shows.cancelled` and `shows.ended` cover those. | `read:merchandising` | | [`shipments.created`](/webhooks/tag/shipments/webhook/post/shipments.created) | A shipment was created for an order. | `read:shipments` | | [`shipments.label_generated`](/webhooks/tag/shipments/webhook/post/shipments.label-generated) | A shipping label was generated or regenerated for a shipment. | `read:shipments` | | [`shipments.tracking_code_added`](/webhooks/tag/shipments/webhook/post/shipments.tracking-code-added) | A shipment got a tracking code, from a purchased label, the seller's own label or a replacement. | `read:shipments` | | [`shipments.parcel_updated`](/webhooks/tag/shipments/webhook/post/shipments.parcel-updated) | The seller edited a shipment's parcel weight or dimensions. Adding or removing items also changes the parcel; shipments.items.added and shipments.items.removed carry the new parcel, and this webhook isn't sent for those changes. | `read:shipments` | | [`shipments.items.added`](/webhooks/tag/shipments/webhook/post/shipments.items.added) | Items joined a shipment, when orders were bundled at checkout or the seller bundled shipments. shipment\_item\_ids lists every item on the shipment after the change, not only the added ones. The body also carries the shipment's parcel, which changes with its items. | `read:shipments` | | [`shipments.items.removed`](/webhooks/tag/shipments/webhook/post/shipments.items.removed) | Items left a shipment, when it was split or unbundled. shipment\_item\_ids lists the items still on the shipment after the change, not the removed ones. The body also carries the shipment's parcel, which changes with its items. A shipment the seller bundled into another one loses all its items and is reported by shipments.replaced instead. | `read:shipments` | | [`shipments.cancelled`](/webhooks/tag/shipments/webhook/post/shipments.cancelled) | A shipment was cancelled by Whatnot support. | `read:shipments` | | [`shipments.replaced`](/webhooks/tag/shipments/webhook/post/shipments.replaced) | All of a shipment's items moved to another shipment, for example when a new label was bought for it, the seller added tracking from their own label, Whatnot support changed its label, or the seller bundled it into another shipment. The previous shipment is usually cancelled. The body has both shipments. | `read:shipments` | | [`products.created`](/webhooks/tag/products/webhook/post/products.created) | A product was created. | `read:inventory` | | [`products.updated`](/webhooks/tag/products/webhook/post/products.updated) | A product changed, including its variants, inventory or prices. The payload doesn't say which fields changed. | `read:inventory` | | [`products.deleted`](/webhooks/tag/products/webhook/post/products.deleted) | A product was deleted. | `read:inventory` | Some payloads include customer data only if Whatnot has approved your app for access. Otherwise, those fields are `null`: | Topic | Customer fields | | ---------------------------------- | ----------------------------------------------- | | `orders.created`, `orders.updated` | `buyer` | | `shipments.created` | `recipient`, `destination_address`, `documents` | | `shipments.label_generated` | `documents` | ## Delivery format Every delivery is an HTTPS `POST` with a JSON body. ### Headers | Header | Description | | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `webhook-id` | Unique ID of the event. Retries of a delivery send the same ID, so use it to [deduplicate](#deduplicating-events). | | `webhook-timestamp` | When this delivery attempt was sent, as a Unix timestamp in seconds. Each retry sends a new timestamp. The Standard Webhooks specification requires this format, so it differs from the payload's ISO 8601 `timestamp`. | | `webhook-signature` | Space-separated signatures, each `v1,` followed by a base64 HMAC-SHA256 of the delivery. See [Verifying signatures](#verifying-signatures). | | `Content-Type` | Always `application/json`. | ```http POST /webhooks/whatnot HTTP/1.1 Content-Type: application/json webhook-id: 0b7e4f6c-3d1a-4a8e-9f2b-5c6d7e8f9a0b webhook-timestamp: 1792512005 webhook-signature: v1,8m/VX9GLLqhNZJndMpPw7OTUKSDI4szDXAmIFY8ffBI= {"type": "shows.started", "timestamp": "2026-10-20T16:00:00.123Z", "data": {"show_id": "9b2f6c1e-4d3a-4f8b-a1c2-3d4e5f6a7b8c"}, "version": "v2", "seller_id": "1234567"} ``` ### Payload Every topic wraps its data in the same envelope: ```json { "type": "shows.started", "timestamp": "2026-10-20T16:00:00.123Z", "data": { ... }, "version": "v2", "seller_id": "1234567" } ``` | Field | Description | | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `type` | The topic, such as `orders.created`. Use it to route the event. | | `timestamp` | When the event happened, in ISO 8601 UTC with millisecond precision. Stable across retries, unlike the `webhook-timestamp` header. | | `data` | The event's data. Its shape depends on the topic; each topic's page in the [Webhooks reference](/webhooks) documents it. Most topics send the same object the REST API returns, such as an [order](/api-reference/tag/orders). | | `version` | The payload version, `v2`. | | `seller_id` | The ID of the seller the event belongs to. It's part of the signed body, so the signature also vouches for it. | ## Verifying signatures Verify every delivery before you trust it. Each signature is an HMAC-SHA256, keyed with your app's webhook secret, over the string `{webhook-id}.{webhook-timestamp}.{body}`. Any [Standard Webhooks library](https://github.com/standard-webhooks/standard-webhooks/tree/main/libraries) can check it for you. ### 1. Remove the `wn_wh_` prefix from your secret Standard Webhooks libraries expect only the base64 key that follows the prefix, so remove `wn_wh_` from the secret in your developer dashboard before passing it to one: ```plaintext Secret: wn_wh_AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA= Signing key: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA= ``` Don't skip this step. The libraries strip only their own `whsec_` prefix, so they read `wn_wh_` as part of the key. Some, such as the Python and Ruby libraries, then decode a wrong key without raising an error, and every signature check fails with no hint that the secret is the problem. ### 2. Verify the delivery with a library Pass the library the **raw request body** and the request headers. Use the bytes exactly as received: parsing and re-serializing the JSON can reorder keys or change whitespace, and the signature won't match. ```javascript Node.js // npm install standardwebhooks import { createServer } from "node:http"; import { Webhook } from "standardwebhooks"; const secret = process.env.WHATNOT_WEBHOOK_SECRET.replace(/^wn_wh_/, ""); const wh = new Webhook(secret); createServer(async (req, res) => { if (req.method !== "POST" || req.url !== "/webhooks/whatnot") { res.writeHead(404).end(); return; } // Read the body as the exact bytes Whatnot signed. const chunks = []; for await (const chunk of req) chunks.push(chunk); const body = Buffer.concat(chunks); let event; try { event = wh.verify(body, req.headers); } catch { res.writeHead(400).end(); return; } res.writeHead(204).end(); // Process event.type and event.data after responding. }).listen(3000); ``` ```python Python # pip install standardwebhooks flask import os from flask import Flask, request from standardwebhooks.webhooks import Webhook, WebhookVerificationError wh = Webhook(os.environ["WHATNOT_WEBHOOK_SECRET"].removeprefix("wn_wh_")) app = Flask(__name__) @app.post("/webhooks/whatnot") def whatnot_webhook(): try: event = wh.verify(request.get_data(), dict(request.headers)) except WebhookVerificationError: return "", 400 # Queue event["type"] and event["data"] for processing, then respond. return "", 204 ``` ```go Go // go get github.com/standard-webhooks/standard-webhooks/libraries package main import ( "encoding/json" "io" "net/http" "os" "strings" standardwebhooks "github.com/standard-webhooks/standard-webhooks/libraries/go" ) type Event struct { Type string `json:"type"` SellerID string `json:"seller_id"` Data json.RawMessage `json:"data"` } var wh *standardwebhooks.Webhook func handle(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) if err != nil || wh.Verify(body, r.Header) != nil { w.WriteHeader(http.StatusBadRequest) return } var event Event if err := json.Unmarshal(body, &event); err != nil { w.WriteHeader(http.StatusBadRequest) return } w.WriteHeader(http.StatusNoContent) // Process event.Type and event.Data after responding. } func main() { secret := os.Getenv("WHATNOT_WEBHOOK_SECRET") key := strings.TrimPrefix(secret, "wn_wh_") var err error wh, err = standardwebhooks.NewWebhook(key) if err != nil { panic(err) } http.HandleFunc("POST /webhooks/whatnot", handle) http.ListenAndServe(":8080", nil) } ``` ```ruby Ruby # gem install standardwebhooks require "standardwebhooks" class WhatnotWebhooksController < ApplicationController SECRET = ENV.fetch("WHATNOT_WEBHOOK_SECRET").delete_prefix("wn_wh_") WEBHOOK = StandardWebhooks::Webhook.new(SECRET) def create event = WEBHOOK.verify(request.raw_post, { "webhook-id" => request.headers["webhook-id"], "webhook-timestamp" => request.headers["webhook-timestamp"], "webhook-signature" => request.headers["webhook-signature"], }) # Queue event["type"] and event["data"] for processing, then respond. head :no_content rescue StandardWebhooks::WebhookVerificationError head :bad_request end end ``` ```php PHP verify($payload, [ 'webhook-id' => $_SERVER['HTTP_WEBHOOK_ID'] ?? null, 'webhook-timestamp' => $_SERVER['HTTP_WEBHOOK_TIMESTAMP'] ?? null, 'webhook-signature' => $_SERVER['HTTP_WEBHOOK_SIGNATURE'] ?? null, ]); } catch (\StandardWebhooks\Exception\WebhookVerificationException $e) { http_response_code(400); exit; } http_response_code(204); // Process $event['type'] and $event['data'] after responding. ``` ```csharp C# // dotnet add package StandardWebhooks using System.Net; using StandardWebhooks; var secret = Environment.GetEnvironmentVariable("WHATNOT_WEBHOOK_SECRET")!; var webhook = new Webhook(secret.Replace("wn_wh_", "")); string[] signedHeaders = ["webhook-id", "webhook-timestamp", "webhook-signature"]; var app = WebApplication.Create(args); app.MapPost("/webhooks/whatnot", async (HttpRequest request) => { using var reader = new StreamReader(request.Body); var payload = await reader.ReadToEndAsync(); var headers = new WebHeaderCollection(); foreach (var name in signedHeaders) { headers.Set(name, request.Headers[name]); } try { webhook.Verify(payload, headers); } catch (WebhookVerificationException) { return Results.BadRequest(); } // Queue the payload for processing, then respond. return Results.NoContent(); }); app.Run(); ``` Each library rejects a delivery whose signature doesn't match or whose `webhook-timestamp` is more than 5 minutes from your server's clock, and returns or throws accordingly. Respond with a `4xx` to a delivery that fails verification. ### Verifying without a library If no library fits your stack, compute the signature yourself: 1. Build the signed content: `{webhook-id}.{webhook-timestamp}.{raw body}`. 2. Compute an HMAC-SHA256 of it, keyed with the base64-decoded key from step 1, and base64-encode the result. 3. Split `webhook-signature` on spaces. The delivery is valid if any entry is `v1,` followed by your signature. Compare in constant time. 4. Reject the delivery if `webhook-timestamp` is more than 5 minutes from your current time. ```python import base64 import hashlib import hmac import time def verify( raw_body: bytes, headers: dict[str, str], webhook_secret: str ) -> bool: key = base64.b64decode(webhook_secret.removeprefix("wn_wh_")) msg_id = headers["webhook-id"] timestamp = headers["webhook-timestamp"] if abs(time.time() - int(timestamp)) > 5 * 60: return False signed_content = f"{msg_id}.{timestamp}.".encode() + raw_body digest = hmac.digest(key, signed_content, hashlib.sha256) expected = base64.b64encode(digest).decode() for entry in headers["webhook-signature"].split(" "): version, _, signature = entry.partition(",") if version == "v1" and hmac.compare_digest(signature, expected): return True return False ``` The example delivery under [Headers](#headers) is signed with the secret `wn_wh_AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA=`. Use it to test your verification, skipping the timestamp check since that delivery is in the past. ## Delivery guarantees * **At least once, not exactly once.** A delivery can be retried after you've already processed it. For example, if your endpoint accepts the request but the response times out before it reaches us. Always deduplicate (see below) rather than assuming one delivery per event. * **No ordering guarantee.** Events for the same resource can arrive out of order, especially across retries. Don't assume `orders.updated` always arrives after the `orders.created` for the same order. Use the payload's `timestamp` or the resource's own state to determine the current state, not arrival order. * **Retries use exponential backoff** for up to 11 attempts over roughly 2.5 days, then the event is marked permanently failed and isn't retried further: | Attempt | Delay before this attempt | | ------- | ------------------------- | | 2 | \~31 seconds | | 3 | \~1 minute | | 4 | \~4.5 minutes | | 5 | \~17.5 minutes | | 6 | \~53 minutes | | 7 | \~2.2 hours | | 8 | \~4.7 hours | | 9 | \~9.1 hours | | 10 | \~16.4 hours | | 11 | \~1.2 days | Each attempt is signed again with a new `webhook-timestamp`, so a retry passes the 5-minute timestamp check even days later. * **Only a `2xx` response counts as success.** Any other status, a timeout, or a connection failure is treated as a failure and queued for retry. Respond quickly (we time out at 5 seconds) and do your real processing asynchronously after responding, rather than making us wait on it. * **A failing endpoint is slowed down, then unsubscribed.** If your endpoint doesn't respond to deliveries with a `2xx` in a timely fashion, we reduce the rate we deliver to it, in hopes your service comes back up. If it keeps failing, you'll receive an email warning you that this is happening. If the failures continue for a prolonged period, we remove the subscription and email you to say so; subscribe again from your [developer dashboard](https://www.whatnot.com/dashboard/developer) once your endpoint is healthy. ## Deduplicating events Every delivery carries a `webhook-id` header that uniquely identifies the event, and retries send the same ID. Store it, and if you receive a `webhook-id` you've already processed, skip it rather than reprocessing. This is the correct way to get exactly-once _processing_ on top of an at-least-once delivery guarantee, and it also turns away a replayed delivery. ## Best practices * **Return `2xx` immediately, then process.** Acknowledge the delivery first; do slow work (database writes, calling other services) in a background job afterward. * **Verify the signature on every request** before acting on the payload. Don't rely on the URL being secret. * **Deduplicate by `webhook-id`**, since retries are expected, not exceptional. * **Don't assume delivery order.** Reconcile based on the payload's own state and timestamps. * **Keep an endpoint for reconciliation.** Webhooks are a notification mechanism, not a guaranteed event log. If your endpoint is down past the retry window, you'll miss events. Periodically reconcile against the [API Reference](/api-reference) (for example, listing recent orders or shipments) to catch anything a webhook didn't deliver. * **Handle unknown topics and fields gracefully.** New topics and payload fields may be added over time; ignore what you don't recognize rather than failing. # Connect via MCP The Whatnot Seller API has a hosted [MCP](https://modelcontextprotocol.io) server. Connect an MCP-compatible client to let it call the Seller API directly, using your own API token. **Server URL:** ```plaintext https://mcp.whatnot.com ``` When you connect, your client will prompt you to authenticate before it can make requests on your behalf. ## Set up your client Run the following command to add the Whatnot Seller API MCP server to Claude Code: ```bash claude mcp add --transport http --client-id bb1bf1ca-0452-4737-ad8f-81175f1601b8 --callback-port 8080 whatnot https://mcp.whatnot.com ``` After you add the server, authenticate with: ```bash claude /mcp ``` Add the following configuration to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in your project) to add the Whatnot Seller API MCP server: ```json { "mcpServers": { "whatnot-seller-api": { "url": "https://mcp.whatnot.com", "auth": { "CLIENT_ID": "bb1bf1ca-0452-4737-ad8f-81175f1601b8" } } } } ``` For more information, see [Cursor's MCP documentation](https://docs.cursor.com/context/model-context-protocol). 1. Open VS Code and open the Command Palette (`Cmd+Shift+P` on macOS, `Ctrl+Shift+P` on Windows/Linux). 2. Search for and select **MCP: Open User Configuration**. 3. Add this configuration to your user-level `mcp.json` file: ```json { "servers": { "whatnot-seller-api": { "type": "http", "url": "https://mcp.whatnot.com", "oauth": { "clientId": "bb1bf1ca-0452-4737-ad8f-81175f1601b8" } } } } ``` 4. Save your configuration and restart VS Code. See the [VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) for more information. Add the following configuration to `~/.codeium/windsurf/mcp_config.json`: ```json { "mcpServers": { "whatnot-seller-api": { "serverUrl": "https://mcp.whatnot.com", "oauthClientId": "bb1bf1ca-0452-4737-ad8f-81175f1601b8" } } } ``` 1. Open **Settings → Connectors** in Claude Desktop. 2. Select **Add custom connector**. 3. Enter the server URL above. 4. Choose **Use your own OAuth client** and enter `bb1bf1ca-0452-4737-ad8f-81175f1601b8`. Leave the client secret blank. MCP is an open protocol supported by many clients. Use the server URL above wherever your client asks for an MCP server address. If it asks for an OAuth client ID, use `bb1bf1ca-0452-4737-ad8f-81175f1601b8`. # Request IDs Each API request has an associated request identifier, used to correlate logs across our infrastructure. Send your own value in the `X-Request-ID` request header to set it; otherwise we generate one for you. When you contact us about a specific request, include the request identifier so we can find it quickly. # Reports and Statements [Generating a report](/api-reference/tag/reports-and-statements) returns a run whose `report_url` becomes a presigned CSV download link once the run completes. This page documents the columns of each report type's CSV, generated from the same schema the Seller API publishes alongside its OpenAPI description. See [Reports and Statements](/api-reference/tag/reports-and-statements) for the `GET /reports`, `GET /reports/{report_id}`, and `POST /reports` operations that create and list these runs. ### Financial report CSV column header: `seller_financial_report`. | Column | Type | Description | | --- | --- | --- | | `transaction_completed_at_utc` | datetime | When this ledger transaction completed, in UTC. | | `order_placed_at_utc` | datetime | When the order was placed, in UTC. Null for a transaction not tied to a specific order, such as a shipping charge, carrier adjustment, or tip. | | `seller_id` | string | The ID of the seller this report is for. | | `transaction_type` | string | The kind of ledger transaction: ORDER_EARNINGS, SHIPPING_CHARGE, CARRIER_ADJUSTMENT, CARRIER_ADJUSTMENT_REFUND, ORDER_REFUND, ORDER_REFUND_SHIPPING_COSTS, APPEALED_ORDER_REFUND, APPEALED_ORDER_REFUND_SHIPPING_COSTS, or TIP. | | `transaction_message` | string | A human-readable note recorded on the ledger transaction. | | `order_id` | string | The order this transaction is for. Null for a transaction not tied to a specific order, such as a carrier adjustment or tip. | | `listing_title` | string | The title of the listing sold. Set only for ORDER_EARNINGS. | | `listing_description` | string | The description of the listing sold. Set only for ORDER_EARNINGS. | | `product_category` | string | The category of the product sold. Set only for ORDER_EARNINGS. | | `buy_format` | string | How the item was sold, such as auction or buy it now. Set only for ORDER_EARNINGS. | | `sale_type` | string | FLASH when the item was sold as part of a flash sale, otherwise null. Set only for ORDER_EARNINGS. | | `quantity_sold` | integer | The quantity of the item sold. Set only for ORDER_EARNINGS. | | `sku` | string | The SKU of the item sold. Set only for ORDER_EARNINGS. | | `cost_of_goods` | number | The seller's recorded per-item cost for the item sold, in major currency units. Set only for ORDER_EARNINGS. | | `livestream_id` | string | The show this transaction is associated with. Null for a transaction not tied to a show, such as a carrier adjustment or an order placed outside a show. | | `livestream_title` | string | The title of the associated show. | | `buyer_name` | string | The buyer's username. Set only for ORDER_EARNINGS and TIP transactions. | | `buyer_state` | string | The buyer's shipping address state. Set only for ORDER_EARNINGS. | | `buyer_country` | string | The buyer's shipping address country code. Set only for ORDER_EARNINGS. | | `shipment_id` | string | The shipment this transaction is associated with. Null for a transaction not tied to a shipment, such as a tip. | | `transaction_currency` | string | The currency transaction_amount and the fee columns are in. | | `transaction_amount` | number | The signed amount of this ledger transaction, in major currency units. Negative for charges and refunds. | | `buyer_paid` | number | The order's total amount charged to the buyer, in major currency units. Set only for ORDER_EARNINGS. | | `original_item_price` | number | The item's price before any seller-generated coupon was applied, in major currency units. Set only for ORDER_EARNINGS. | | `coupon_cost` | number | The seller-generated coupon amount applied to the order, in major currency units; negative when a coupon was applied. Set only for ORDER_EARNINGS. | | `post_coupon_price` | number | The item's price after any seller-generated coupon was applied: original_item_price plus coupon_cost. Set only for ORDER_EARNINGS. | | `seller_shipping_charge` | number | Shipping costs paid by the seller on this order, in major currency units. Set only for ORDER_EARNINGS. | | `commission_fee` | number | Whatnot's commission on this order, in major currency units. Set only for ORDER_EARNINGS. | | `commission_tax` | number | Tax charged on commission_fee, in major currency units. Set only for ORDER_EARNINGS. | | `processing_fee` | number | Payment processing fee charged on this order, in major currency units. Set only for ORDER_EARNINGS. | | `processing_fee_tax` | number | Tax charged on processing_fee, in major currency units. Set only for ORDER_EARNINGS. | | `ledger_transaction_id` | string | The ID of the underlying ledger transaction. | ### Overview analytics report CSV column header: `analytics_overview_report`. | Column | Type | Description | | --- | --- | --- | | `date` | string | The calendar day this row covers, in ISO 8601. | | `currency` | string | The currency the money fields in this row are denominated in. | | `estimated_sales` | string, nullable | The sum of the final purchase prices of completed orders, after any seller-generated coupons have been applied. Does not include shipping costs, taxes, or non-order revenue like tips. | | `in_show_estimated_sales` | string, nullable | Estimated sales from orders placed during a show. | | `marketplace_estimated_sales` | string, nullable | Estimated sales from orders placed on the profile shop outside a show. | | `estimated_earnings` | string, nullable | Estimated sales for completed orders minus fees and costs, such as commission, payment processing fees, and seller-paid shipping costs. | | `in_show_estimated_earnings` | string, nullable | Estimated earnings from orders placed during a show. | | `marketplace_estimated_earnings` | string, nullable | Estimated earnings from orders placed on the profile shop outside a show. | | `orders_count` | integer, nullable | The number of unique transactions paid for by buyers, excluding giveaways. | | `in_show_orders_count` | integer, nullable | The number of orders placed during a show, excluding giveaways. | | `marketplace_orders_count` | integer, nullable | The number of orders placed on the profile shop outside a show. | | `giveaway_orders_count` | integer, nullable | The number of giveaway orders. | | `average_order_value` | string, nullable | The average final purchase price of each completed order, calculated by dividing estimated sales by orders, excluding giveaways. | | `buyers_count` | integer, nullable | The number of unique buyers who completed a purchase. | | `new_buyers_count` | integer, nullable | The number of unique buyers who bought from the seller for the first time. | | `returning_buyers_count` | integer, nullable | The number of unique buyers who had bought from the seller before and bought again. | | `follows_count` | integer, nullable | The number of people who followed the seller. | | `referral_follows_count` | integer, nullable | The number of follows that came from a referral. | | `non_referral_follows_count` | integer, nullable | The number of follows that did not come from a referral. | | `livestreams_count` | integer, nullable | The number of shows the seller went live for. | | `stream_minutes` | integer, nullable | The total duration of the seller's shows, in minutes. | | `viewers_per_hour` | integer, nullable | The average number of unique viewers per hour. | | `average_watch_time_seconds` | integer, nullable | The average length of time each viewer watched, in seconds. | ### Livestreams analytics report CSV column header: `analytics_livestreams_report`. | Column | Type | Description | | --- | --- | --- | | `livestream_id` | string | The ID of the show this row covers. | | `livestream_title` | string | The title of the show. | | `start_time` | datetime | When the show started. | | `currency` | string, nullable | The currency the money fields in this row are denominated in. Null when the show has no sales, earnings, or giveaway spend. | | `livestream_impression_count` | integer, nullable | Times the show's thumbnail appeared in the feed or in search before the show ended. | | `livestream_clickthrough_rate` | number, nullable | The percentage of people who clicked into the show after seeing its thumbnail in the feed or search before the show ended. | | `sales` | string, nullable | Total sales from orders in this show, excluding shipping, taxes, and tips. | | `estimated_earnings` | string, nullable | Estimated sales minus fees and costs, such as Whatnot's commission, payment processing fees, and seller-paid shipping costs. | | `orders_count` | integer, nullable | The number of unique transactions paid for by buyers during this show, excluding giveaways. | | `average_order_value` | string, nullable | The average final purchase price of each completed order, excluding giveaways. | | `giveaway_orders_count` | integer, nullable | The number of giveaway orders during this show. | | `giveaway_spend` | string, nullable | Total shipping costs on giveaway orders from this show. | | `buyers_count` | integer, nullable | The total number of unique buyers who bought from the seller during this show. | | `first_time_buyers_count` | integer, nullable | The number of unique buyers who bought from the seller for the first time during this show. | | `returning_buyers_count` | integer, nullable | The number of unique buyers who had bought from the seller before and bought again during this show. | | `giveaway_winners_count` | integer, nullable | The number of unique buyers who won a giveaway during this show. | | `first_time_giveaway_winners_count` | integer, nullable | The number of unique buyers who won a giveaway from the seller for the first time during this show. | | `returning_giveaway_winners_count` | integer, nullable | The number of unique buyers who had won a giveaway from the seller before and won again during this show. | | `buyer_shares_count` | integer, nullable | The number of times the show was shared by users. | | `stream_minutes` | integer, nullable | The total duration of the show, in minutes. | | `max_concurrent_viewers` | integer, nullable | The highest number of viewers watching the show at one given time. | | `total_views` | integer, nullable | The total number of times viewers watched the show for 30 seconds or more. A viewer can count more than once if they leave and rejoin. | | `distinct_viewers_count` | integer, nullable | The total number of unique viewers who watched the show for 30 seconds or more. | | `average_rating` | number, nullable | The average rating buyers gave for orders from this show. | ### Show details analytics report CSV column header: `analytics_show_details_report`. | Column | Type | Description | | --- | --- | --- | | `show` | string, nullable | The show's title. | | `start_time` | datetime, nullable | When the show started. | | `duration_minutes` | integer, nullable | The show's length, in minutes. | | `category` | string, nullable | The show's product category. | | `thumbnail_impressions` | integer, nullable | How many times the show's thumbnail was shown in feeds. | | `thumbnail_ctr` | number, nullable | Share of thumbnail impressions that were tapped, in percentage points. | | `currency` | string, nullable | ISO currency code of the money fields in this row (estimated_sales, estimated_earnings, estimated_aov, sales_per_hour, giveaway_shipping_cost). | | `estimated_sales` | string, nullable | Total sales from orders in this show, excluding shipping, taxes, and tips. | | `estimated_sales_benchmark` | number, nullable | Change in estimated_sales against the seller's own trailing average, in percentage points. | | `estimated_sales_benchmark_label` | string, nullable | What estimated_sales_benchmark is compared against. | | `estimated_earnings` | string, nullable | Estimated sales minus fees and costs (commission, payment processing, seller-paid shipping). | | `estimated_earnings_benchmark` | number, nullable | Change in estimated_earnings against the seller's own trailing average, in percentage points. | | `estimated_earnings_benchmark_label` | string, nullable | What estimated_earnings_benchmark is compared against. | | `estimated_orders` | integer, nullable | Estimated number of completed orders in this show, excluding giveaways and cancellations. | | `estimated_orders_benchmark` | number, nullable | Change in estimated_orders against the seller's own trailing average, in percentage points. | | `estimated_orders_benchmark_label` | string, nullable | What estimated_orders_benchmark is compared against. | | `estimated_aov` | string, nullable | Average order value for this show (estimated_sales divided by estimated_orders), excluding giveaways. | | `estimated_aov_benchmark` | number, nullable | Change in estimated_aov against the seller's own trailing average, in percentage points. | | `estimated_aov_benchmark_label` | string, nullable | What estimated_aov_benchmark is compared against. | | `sales_per_hour` | string, nullable | estimated_sales divided by the show's duration in hours. | | `sales_per_hour_benchmark` | number, nullable | Change in sales_per_hour against the seller's own trailing average, in percentage points. | | `sales_per_hour_benchmark_label` | string, nullable | What sales_per_hour_benchmark is compared against. | | `orders_per_hour` | integer, nullable | estimated_orders divided by the show's duration in hours. | | `orders_per_hour_benchmark` | number, nullable | Change in orders_per_hour against the seller's own trailing average, in percentage points. | | `orders_per_hour_benchmark_label` | string, nullable | What orders_per_hour_benchmark is compared against. | | `total_giveaway_orders` | integer, nullable | Number of giveaway orders in this show. | | `buyer_giveaway_orders` | integer, nullable | Number of buyer-appreciation giveaway orders in this show. | | `giveaway_shipping_cost` | string, nullable | The seller's total shipping cost on giveaway orders in this show. | | `giveaways_per_hour` | integer, nullable | total_giveaway_orders divided by the show's duration in hours. | | `unique_giveaway_entries` | integer, nullable | Distinct people who entered any giveaway in this show, counted once each across giveaways. | | `unique_giveaway_winners` | integer, nullable | Distinct giveaway winners in this show. | | `new_followers_from_giveaways` | integer, nullable | New followers gained as a result of giveaways in this show. | | `total_views` | integer, nullable | Total times viewers watched this show for more than 30 seconds; a viewer can count more than once if they leave and rejoin. | | `max_concurrent_viewers` | integer, nullable | Highest number of viewers watching this show at the same time. | | `viewers_per_hour` | integer, nullable | unique_viewers divided by the show's duration in hours. | | `viewers_per_hour_benchmark` | number, nullable | Change in viewers_per_hour against the seller's own trailing average, in percentage points. | | `viewers_per_hour_benchmark_label` | string, nullable | What viewers_per_hour_benchmark is compared against. | | `avg_watch_time` | string, nullable | Average time each viewer spent watching this show, formatted as e.g. "5 min 24s". | | `avg_watch_time_benchmark` | number, nullable | Change in average watch time against the seller's own trailing average, in percentage points. | | `avg_watch_time_benchmark_label` | string, nullable | What avg_watch_time_benchmark is compared against. | | `new_followers` | integer, nullable | Net new followers gained during this show. | | `new_followers_benchmark` | number, nullable | Change in new_followers against the seller's own trailing average, in percentage points. | | `new_followers_benchmark_label` | string, nullable | What new_followers_benchmark is compared against. | | `show_shares` | integer, nullable | Number of times this show was shared by users. | | `show_shares_benchmark` | number, nullable | Change in show_shares against the seller's own trailing average, in percentage points. | | `show_shares_benchmark_label` | string, nullable | What show_shares_benchmark is compared against. | | `unique_viewers` | integer, nullable | Distinct viewers who watched this show for more than 30 seconds. | | `returning_viewers` | integer, nullable | Of unique_viewers, those who had watched this seller before. | | `returning_viewers_percentage` | number, nullable | returning_viewers as a share of unique_viewers, in percentage points. | | `new_viewers` | integer, nullable | Of unique_viewers, those watching this seller for the first time. | | `new_viewers_percentage` | number, nullable | new_viewers as a share of unique_viewers, in percentage points. | | `unique_buyers` | integer, nullable | Distinct buyers who purchased during this show. | | `returning_buyers` | integer, nullable | Of unique_buyers, those who had bought from this seller before. | | `returning_buyers_percentage` | number, nullable | returning_buyers as a share of unique_buyers, in percentage points. | | `new_buyers` | integer, nullable | Of unique_buyers, those buying from this seller for the first time. | | `new_buyers_percentage` | number, nullable | new_buyers as a share of unique_buyers, in percentage points. | # Errors The Seller API uses conventional HTTP response codes to indicate the success or failure of an API request. In general: * Codes in the `2xx` range indicate success. * Codes in the `4xx` range indicate an error that failed given the information provided. * Codes in the `5xx` range indicate an error with the Whatnot servers (these are rare). Most error bodies follow [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) ("Problem Details for HTTP APIs") and are served as `application/problem+json`. The exception is `422 Unprocessable Content`; see [Validation errors](#validation-errors) below. ## Attributes * `type` (string) A slug identifying the problem type, such as `invalid-parameter` or `product-not-found`. Stable for a given kind of error; use it for programmatic branching rather than parsing `detail`. * `title` (string) A short, human-readable summary of the problem type. The same for every occurrence of a given `type`. * `status` (integer) The HTTP status code, repeated here so the body stands on its own. * `detail` (string) A human-readable explanation specific to this occurrence of the problem. * Additional fields may appear depending on `type`. For example, `invalid-parameter` adds `param`, naming the request field that failed validation, and `missing-scope` adds `required_scopes`. ## Handling errors Branch on the HTTP status code first, then on `type` for anything in the `4xx`/`5xx` range. Don't parse `detail`; it's meant for humans and may change wording over time. ### Example error response ```json { "type": "invalid-parameter", "title": "Invalid parameter", "status": 422, "detail": "Quantity must be greater than or equal to 0.", "param": "items.0.quantity" } ``` ## Validation errors A `422` for a malformed request body or query parameters doesn't follow the `type`/`title`/`status`/`detail` shape above. Instead it's served as `application/json` with a `detail` array, one entry per failed field: ```json { "detail": [ { "loc": ["body", "items", 0, "quantity"], "msg": "Input should be greater than or equal to 0", "type": "greater_than_equal" } ] } ``` * `loc` (array) The path to the failing field, as alternating keys and indices starting with `body`, `query`, or `path`. * `msg` (string) A human-readable explanation of the failure. * `type` (string) A machine-readable validation failure code, such as `greater_than_equal` or `missing`. ### Best practices * Check the HTTP status code first, then branch on `type` for anything in the `4xx`/`5xx` range. * Retry `429` and `5xx` responses with exponential backoff; don't retry other `4xx` errors without changing the request. * For idempotent writes (such as setting or adjusting inventory), reuse the same per-item `idempotency_key` when retrying so it isn't applied twice. * Log the request ID from failed responses. It's the fastest way for support to look up what happened. ### HTTP Status Code Summary | Code | Status | Description | | -------- | --------------------- | -------------------------------------------------------------------------------- | | 200 | OK | Everything worked as expected. | | 204 | No Content | The request succeeded and there's nothing to return. | | 207 | Multi-Status | A batch request was accepted; check each item's own status in the response body. | | 400 | Bad Request | The request was malformed. | | 401 | Unauthorized | No valid API token was provided. | | 403 | Forbidden | The token's scopes, or the seller's enrollment, doesn't permit this request. | | 404 | Not Found | The requested resource doesn't exist. | | 405 | Method Not Allowed | The HTTP method isn't supported on this path. | | 409 | Conflict | The request conflicts with the resource's current state. | | 422 | Unprocessable Content | The request's parameters failed validation. | | 429 | Too Many Requests | Too many requests hit the API too quickly. Back off and retry. | | 500, 503 | Server Errors | Something went wrong on Whatnot's end (these are rare). | ### Problem Types | Type | Description | | ------------------------------ | -------------------------------------------------------------------------------------------------------- | | `invalid-parameter` | A request parameter failed validation. | | `invalid-product` | The product described in the request can't be created or updated as given. | | `missing-scope` | The token lacks every scope that would authorize this request. | | `product-not-found` | No product exists with the given ID. | | `product-not-deletable` | The product can't be deleted in its current state. | | `seller-not-approved` | The seller isn't approved to create or update products. | | `merchandising-rejected` | The requested merchandising change can't be applied to the product. | | `variant-not-found` | No variant exists with the given ID. | | `variants-disabled` | Variant reads or updates aren't enabled for this seller. | | `inventory-writes-disabled` | Inventory writes aren't enabled for this seller. | | `variant-batch-rejected` | A batch variant update had invalid variants and `allow_partial_updates` was false, so none were applied. | | `shipment-not-found` | No shipment exists with the given ID. | | `shipment-item-not-found` | No shipment item exists with the given ID. | | `label-generation-rejected` | The shipment's state, settings, or seller setup prevents label generation. | | `seller-verification-required` | The seller must complete verification before this action is allowed. | | `tracking-code-not-allowed` | The seller can't supply their own tracking code for this shipment. | | `tracking-code-rejected` | The order items can't be moved onto one shipment with the given tracking code. | | `invalid-tracking-code` | The supplied tracking code failed validation. | | `dimension-profile-not-found` | No dimension profile exists with the given ID. | | `show-not-found` | No show exists with the given ID. | | `order-not-found` | No order exists with the given ID. | | `order-not-cancellable` | The order can't be cancelled in its current state. | | `order-item-not-found` | No order item exists with the given ID. | | `disconnect-failed` | Disconnecting the app's installation failed; try again. | | `malformed-request` | The request couldn't be parsed. | | `unauthenticated` | No valid API token was provided. | | `endpoint-not-found` | No route matches this path. | | `method-not-allowed` | No route matches this path and method. | | `rate-limited` | Too many requests hit the API too quickly. | | `service-unavailable` | The service is temporarily unavailable. | | `internal-error` | An unexpected failure occurred; the cause is logged on our end but not returned to callers. | | `about:blank` | An HTTP error with no Seller API-specific problem type. | # Taxonomy Whatnot organizes every product in the marketplace under a single category tree: our **product taxonomy**. We publish the full, machine-readable taxonomy to a public GitHub repository so you can browse it, diff it, and build against it: > **[github.com/Whatnot-Inc/product-taxonomy](https://github.com/Whatnot-Inc/product-taxonomy)** The repository is generated automatically from Whatnot's internal source of truth. It is published, not hand-edited. The taxonomy is available in two equivalent formats under [`data/`](https://github.com/Whatnot-Inc/product-taxonomy/tree/main/data): * [`data/taxonomy.json`](https://github.com/Whatnot-Inc/product-taxonomy/blob/main/data/taxonomy.json) * [`data/taxonomy.yml`](https://github.com/Whatnot-Inc/product-taxonomy/blob/main/data/taxonomy.yml) Each entry describes one category: | Field | Type | Description | | ------------------ | -------------- | ------------------------------------------------------------------ | | `id` | number | Stable category identifier. | | `type` | string | Machine-readable category slug. | | `label` | string | Human-readable display name. | | `parent_id` | number \| null | Parent category `id`; `null` for top-level categories. | | `allows_inventory` | boolean | Whether the category accepts inventory (present where applicable). | The top-level `version` field is the published [semantic version](https://semver.org) of the taxonomy. See the repository's `CHANGELOG.md` for the history of published versions. ## Explore the taxonomy The explorer below fetches `data/taxonomy.json` **directly from GitHub on load**, so it always reflects the latest published taxonomy. Search across every assembled breadcrumb, drill down level by level, and select any category to inspect its breadcrumb and full details. × Loading taxonomy… Couldn’t load the taxonomy Source:``