{
"type": "https://docs.alura.io/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"code": "invalid_request",
"detail": "Invalid request",
"suggestion": "Fix the request as the detail says, then send it again.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized",
"detail": "Unauthorized",
"suggestion": "Send a valid API key as `Authorization: Bearer alura_sk_...`.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/credits_exhausted",
"title": "API credits exhausted",
"status": 402,
"code": "credits_exhausted",
"detail": "API credits exhausted",
"suggestion": "Upgrade the plan or wait for the monthly reset.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/plan_required",
"title": "Plan required",
"status": 403,
"code": "plan_required",
"detail": "Plan required",
"suggestion": "Upgrade the workspace plan to use this operation.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/not_found",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "Not found",
"suggestion": "Check the ID, or search for it first.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "Method not allowed",
"suggestion": "Use one of the methods in the Allow header.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
Get which variants of your connected shops’ listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart.
{
"type": "https://docs.alura.io/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"code": "invalid_request",
"detail": "Invalid request",
"suggestion": "Fix the request as the detail says, then send it again.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized",
"detail": "Unauthorized",
"suggestion": "Send a valid API key as `Authorization: Bearer alura_sk_...`.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/credits_exhausted",
"title": "API credits exhausted",
"status": 402,
"code": "credits_exhausted",
"detail": "API credits exhausted",
"suggestion": "Upgrade the plan or wait for the monthly reset.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/plan_required",
"title": "Plan required",
"status": 403,
"code": "plan_required",
"detail": "Plan required",
"suggestion": "Upgrade the workspace plan to use this operation.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/not_found",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "Not found",
"suggestion": "Check the ID, or search for it first.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "Method not allowed",
"suggestion": "Use one of the methods in the Allow header.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
Covers every connected shop in the workspace unless shop_id narrows it, and every listing that sold unless listing_id names up to 50 (comma-separated). Listings you name are picked before the ranking and the limits, so they are never left out. A shop or listing outside the workspace answers 404. Needs the Customer analytics workspace permission, as orders do.Until 2026-11-10 this endpoint’s path was /v1/workspace/variation-sales, which now answers 410 endpoint_removed.
Choose the range
You want
Use
The last 7, 30, 90 or 365 days
period=7d, 30d, 90d or 365d, ending on the newest day every included shop’s orders are complete for, as Get shop stats ends its period. The default is 30d.
Exact days
from and to, such as from=2026-07-01&to=2026-09-30. Both are inclusive UTC days, at most 366 days.
An order counts on the day it was placed. from and to go together, and never with period: any other mix answers 400. Days are UTC, not Etsy’s US Eastern days, so a single day can differ from Etsy Shop Manager.
What the answer holds
listings holds each listing sold in the range, most orders first. Each listing has:
Field
What it means
units, orders
Items sold, and orders with at least one of them.
refunded_units, refunded_orders
The same, for orders that have a refund. Etsy records a refund on the order, not on an item, so a partial refund counts every item of the order.
variations
Each combination of options sold, such as Color: Blue with Size: Large, most orders first, with the same four numbers. Items sold without options are the combination [].
unknown
What sold on order lines whose options Alura doesn’t know (see below), with the same four numbers.
coverage
How many order lines the listing had in the range: known make up variations, unknown make up unknown.
The top-level coverage counts the same over every included shop. freshness and as_of say when each shop’s orders were synced.An order with two items of one listing in different options counts once in the listing’s orders and once in each combination’s. So a listing’s orders can be less than the sum of its combinations’.
Unknown options
A line whose options Alura hasn’t stored yet, or can’t read, is unknown: it never counts as “no options”. It is counted in coverage.unknown and in its listing’s unknown, never in a combination. Compare coverage.known with coverage.lines before you rank combinations.
A null unit count means one of its order lines has no quantity in Alura. It is never counted as 0.Personalization answers are never part of a combination or of this answer. To read them, use Get an order.
Limits
At most 100 listings, each with at most 100 combinations. listings_omitted and each listing’s variations_omitted count the rest. Ask for fewer shops, a shorter range, or name the listings with listing_id to see them. A range whose shops sold more than 20,000 listing and option combinations answers 400.
Money
This endpoint counts items and orders, not money. For revenue, costs and profit, use Get shop stats.
Authorizations
Authorization
string
header
required
An API key: Authorization: Bearer alura_sk_....
Query Parameters
shop_id
string[]
Only these connected shops, comma-separated; default every connected shop of the workspace. A shop outside the workspace is 404.
listing_id
string[]
Only these listings, comma-separated (at most 50); default every listing that sold. They are chosen before the ranking and the limits, so a listing named is never left out. A listing outside the workspace is 404.
period
enum<string>
7d, 30d, 90d or 365d: the last 7, 30, 90 or 365 days, ending on the newest day every included shop's orders are complete for (as shop stats end theirs). Default 30d. Not with from/to.
Available options:
7d,
30d,
90d,
365d
Example:
"90d"
from
string
First day of the range (UTC), inclusive. Needs to.
Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
to
string
Last day of the range (UTC), inclusive. Needs from; at most 366 days after it.
Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
fields
string
Comma-separated dotted paths to return; id, object and as_of always come back.
Response
OK
object
string
required
Allowed value: "workspace.variation_stats"
shop_ids
string[]
required
The connected shops included.
from
string
required
The range's first day (UTC).
to
string
required
The range's last day (UTC).
listings
object[]
required
Each listing sold in the range, most orders first.
Show child attributes
listings_omitted
integer
required
Listings left out of listings past the limit.
coverage
object
required
How many order lines in the range, over every included shop, the combinations account for.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Alura API","description":"Etsy market research for scripts and AI assistants: products, shops, keywords and saved research.","colors":{"primary":"#155EEF","light":"#528BFF","dark":"#004EEB"},"logo":{"light":"https://mintcdn.com/alura/HySS5CT36sWBL9EL/logo/light.svg?fit=max\u0026auto=format\u0026n=HySS5CT36sWBL9EL\u0026q=85\u0026s=6afcc5174d02ee0af4c233126964240a","dark":"https://mintcdn.com/alura/HySS5CT36sWBL9EL/logo/dark.svg?fit=max\u0026auto=format\u0026n=HySS5CT36sWBL9EL\u0026q=85\u0026s=0babd9724a17bbf017bb0d29d0943900","href":"https://alura.io"},"favicon":"https://mintcdn.com/alura/HySS5CT36sWBL9EL/favicon.svg?fit=max\u0026auto=format\u0026n=HySS5CT36sWBL9EL\u0026q=85\u0026s=4a49d66ca34eb4e2b084d778927ed570","api":{"playground":{"display":"none","proxy":false},"examples":{"languages":["curl","typescript","python"]}},"background":{"color":{"light":"#FFFFFF","dark":"#171717"}},"navbar":{"links":[{"href":"/status","label":"Status"}],"primary":{"type":"button","label":"Get an API key","href":"https://platform.alura.io/settings"}},"footer":{"socials":{"website":"https://alura.io"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"alura","hasAudioNarration":false,"actualSubdomain":"alura","customDomains":["docs.alura.io"],"gitSource":{"type":"github","owner":"pixell-co","repo":"alura-public-api","deployBranch":"main","contentDirectory":"apps/docs/content","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af9631c7fd385b08ebe63f2","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API reference","count":127},{"language":"default","tag":"Your shop","count":62},{"language":"default","tag":"Research","count":37},{"language":"default","tag":"Documentation","count":34},{"language":"default","tag":"Shop","count":34},{"language":"default","tag":"Etsy","count":16},{"language":"default","tag":"Saved","count":14},{"language":"default","tag":"Shipping profiles","count":13},{"language":"default","tag":"Webhooks \u0026 events","count":12},{"language":"default","tag":"MCP","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"a[href=\"https://platform.alura.io/settings\"]:not(.link){background-color:transparent!important}a[href=\"https://platform.alura.io/settings\"]:not(.link)>span:first-child,html.dark a[href=\"https://platform.alura.io/settings\"]:not(.link)>span:first-child{background-color:#155EEF!important}a[href=\"https://platform.alura.io/settings\"]:not(.link),a[href=\"https://platform.alura.io/settings\"]:not(.link) *{color:#FFFFFF!important}a[href=\"https://platform.alura.io/settings\"]:not(.link):hover>span:first-child{background-color:#004EEB!important}a[href=\"https://platform.alura.io/settings\"][target=\"_blank\"]:not(.link) svg{display:none!important}a[href=\"https://platform.alura.io/settings\"]:not(.link),a[href=\"https://platform.alura.io/settings\"]:not(.link)>span:first-child,button:not([role=\"switch\"]):not([role=\"tab\"]),.sidebar-group a,#search-bar-entry,#search-bar-entry-mobile{border-radius:9999px!important}#page-context-menu-button{border-radius:0.75rem 0 0 0.75rem!important}#page-context-menu-button+button{border-radius:0 0.75rem 0.75rem 0!important}#topbar-cta-button>a{padding:0.375rem 0.875rem!important;font-size:0.8125rem!important}[data-component-part=\"update-tag\"],[data-component-part=\"update-description\"]{font-size:0.75rem;line-height:1.25rem}[data-component-part=\"update-tag-list\"]{flex-direction:column;gap:0.25rem}[data-component-part=\"update-tag\"]{opacity:0.7}[data-component-part=\"update-content\"]>h2:first-child{margin-top:0;font-size:1.5rem;line-height:2rem}[data-component-part=\"update-content\"] h3{font-size:1rem;margin-top:1.75rem}"}],"page":{"pagePath":"api-reference/workspace/stats/variations","slug":"/api-reference/workspace/stats/variations","pageMetadata":{"title":"Get variation stats","description":"Get which variants of your connected shops' listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart.","deprecated":null,"version":null,"sidebarTitle":"Get variation stats","openapi":"/openapi.json get /v1/workspace/stats/variations","href":"/api-reference/workspace/stats/variations","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get which variants of your connected shops’ listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Note,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cost:`}),` 1 API credit per call.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -G`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.alura.io/v1/workspace/stats/variations\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ALURA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"period=90d\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Covers every connected shop in the workspace unless `,_jsx(_components.code,{children:`shop_id`}),` narrows it, and every listing that sold unless `,_jsx(_components.code,{children:`listing_id`}),` names up to 50 (comma-separated). Listings you name are picked before the ranking and the limits, so they are never left out. A shop or listing outside the workspace answers `,_jsx(_components.code,{children:`404`}),`. Needs the `,_jsx(_components.strong,{children:`Customer analytics`}),` workspace permission, as orders do.`]}),`\n`,_jsxs(_components.p,{children:[`Until 2026-11-10 this endpoint’s path was `,_jsx(_components.code,{children:`/v1/workspace/variation-sales`}),`, which now answers `,_jsx(_components.code,{children:`410 endpoint_removed`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`choose-the-range`,children:`Choose the range`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`You want`}),_jsx(_components.th,{children:`Use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The last 7, 30, 90 or 365 days`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`period=7d`}),`, `,_jsx(_components.code,{children:`30d`}),`, `,_jsx(_components.code,{children:`90d`}),` or `,_jsx(_components.code,{children:`365d`}),`, ending on the newest day every included shop’s orders are complete for, as `,_jsx(_components.a,{href:`/api-reference/workspace/stats/get`,children:`Get shop stats`}),` ends its period. The default is `,_jsx(_components.code,{children:`30d`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Exact days`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),`, such as `,_jsx(_components.code,{children:`from=2026-07-01\u0026to=2026-09-30`}),`. Both are inclusive UTC days, at most 366 days.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`An order counts on the day it was placed. `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),` go together, and never with `,_jsx(_components.code,{children:`period`}),`: any other mix answers `,_jsx(_components.code,{children:`400`}),`. Days are UTC, not Etsy’s US Eastern days, so a single day can differ from Etsy Shop Manager.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-answer-holds`,children:`What the answer holds`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`listings`}),` holds each listing sold in the range, most orders first. Each listing has:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`What it means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`units`}),`, `,_jsx(_components.code,{children:`orders`})]}),_jsx(_components.td,{children:`Items sold, and orders with at least one of them.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`refunded_units`}),`, `,_jsx(_components.code,{children:`refunded_orders`})]}),_jsx(_components.td,{children:`The same, for orders that have a refund. Etsy records a refund on the order, not on an item, so a partial refund counts every item of the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`variations`})}),_jsxs(_components.td,{children:[`Each combination of options sold, such as `,_jsx(_components.code,{children:`Color: Blue`}),` with `,_jsx(_components.code,{children:`Size: Large`}),`, most orders first, with the same four numbers. Items sold without options are the combination `,_jsx(_components.code,{children:`[]`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown`})}),_jsx(_components.td,{children:`What sold on order lines whose options Alura doesn’t know (see below), with the same four numbers.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`coverage`})}),_jsxs(_components.td,{children:[`How many order lines the listing had in the range: `,_jsx(_components.code,{children:`known`}),` make up `,_jsx(_components.code,{children:`variations`}),`, `,_jsx(_components.code,{children:`unknown`}),` make up `,_jsx(_components.code,{children:`unknown`}),`.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The top-level `,_jsx(_components.code,{children:`coverage`}),` counts the same over every included shop. `,_jsx(_components.code,{children:`freshness`}),` and `,_jsx(_components.code,{children:`as_of`}),` say when each shop’s orders were synced.`]}),`\n`,_jsxs(_components.p,{children:[`An order with two items of one listing in different options counts once in the listing’s `,_jsx(_components.code,{children:`orders`}),` and once in each combination’s. So a listing’s `,_jsx(_components.code,{children:`orders`}),` can be less than the sum of its combinations’.`]}),`\n`,_jsx(Heading,{level:`2`,id:`unknown-options`,children:`Unknown options`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`A line whose options Alura hasn’t stored yet, or can’t read, is unknown: it never counts as “no options”. It is counted in `,_jsx(_components.code,{children:`coverage.unknown`}),` and in its listing’s `,_jsx(_components.code,{children:`unknown`}),`, never in a combination. Compare `,_jsx(_components.code,{children:`coverage.known`}),` with `,_jsx(_components.code,{children:`coverage.lines`}),` before you rank combinations.`]})}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`null`}),` unit count means one of its order lines has no quantity in Alura. It is never counted as 0.`]}),`\n`,_jsxs(_components.p,{children:[`Personalization answers are never part of a combination or of this answer. To read them, use `,_jsx(_components.a,{href:`/api-reference/workspace/orders/get`,children:`Get an order`}),`.`]}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Limits`,id:`limits`,children:_jsxs(_components.p,{children:[`At most 100 listings, each with at most 100 combinations. `,_jsx(_components.code,{children:`listings_omitted`}),` and each listing’s `,_jsx(_components.code,{children:`variations_omitted`}),` count the rest. Ask for fewer shops, a shorter range, or name the listings with `,_jsx(_components.code,{children:`listing_id`}),` to see them. A range whose shops sold more than 20,000 listing and option combinations answers `,_jsx(_components.code,{children:`400`}),`.`]})}),_jsx(Accordion,{title:`Money`,id:`money`,children:_jsxs(_components.p,{children:[`This endpoint counts items and orders, not money. For revenue, costs and profit, use `,_jsx(_components.a,{href:`/api-reference/workspace/stats/get`,children:`Get shop stats`}),`.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get variation stats","description":"Get which variants of your connected shops' listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart.","deprecated":null,"version":null,"sidebarTitle":"Get variation stats","openapi":"/openapi.json get /v1/workspace/stats/variations","href":"/api-reference/workspace/stats/variations","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Choose the range","slug":"choose-the-range","depth":2,"children":[]},{"title":"What the answer holds","slug":"what-the-answer-holds","depth":2,"children":[]},{"title":"Unknown options","slug":"unknown-options","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"workspace.stats.variations","summary":"Get variation stats","description":"Get which variants of your connected shops' listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart.","parameters":["c5c1885c-47b4-4a50-a29c-c6663b5ff541","0468ab30-e51e-408c-958f-898c4fb153af","e4117fb8-e9a9-4666-b059-f7ba7dd34cf7","30e51646-0bc6-45a0-bcad-fd98ac882648","dd7761a7-966c-4ab2-b1a1-200424ccde7b","79a82656-fd79-4c49-a053-df63a1b45362"],"responses":{"200":"ff7acb91-33af-4e58-bbb9-ef1fb32d3623","400":"ba49bfc1-c0ea-4b62-af1f-4314963e11a9","401":"2db0ed52-f063-4000-bb0f-c773f93d5992","402":"54d90aab-e40d-43d5-bae0-0db70db749a6","403":"b3280056-848c-451a-9a0d-76536b979518","404":"5bdd4efd-8a99-4512-8bba-f82d7fe69f76","405":"52e54c61-3718-4b1b-8fcc-26bc3d0d7bb2","429":"02a2a597-c0cc-4756-b3a0-43eff99b1d54","500":"6c95aad3-0722-4f7e-b012-e0afabe45197","503":"66c0e551-acd7-4ef5-860d-36d1a9fe87e7"},"x-alura-credits":{"credits":1,"unit":"call"},"x-alura-scopes":["orders:read"],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl \"https://api.alura.io/v1/workspace/stats/variations?period=90d\" \\\n -H \"Authorization: Bearer $ALURA_API_KEY\""},{"lang":"typescript","label":"TypeScript","source":"const res = await fetch('https://api.alura.io/v1/workspace/stats/variations?period=90d', {\n headers: {\n Authorization: `Bearer ${process.env.ALURA_API_KEY}`,\n },\n});\nconsole.log(await res.json());"},{"lang":"python","label":"Python","source":"import json\nimport os\nimport urllib.request\n\nrequest = urllib.request.Request(\n \"https://api.alura.io/v1/workspace/stats/variations?period=90d\",\n headers={\n \"Authorization\": f\"Bearer {os.environ['ALURA_API_KEY']}\",\n },\n)\nwith urllib.request.urlopen(request) as response:\n print(json.load(response))"}],"x-mint":{"href":"/api-reference/workspace/stats/variations","metadata":{"sidebarTitle":"Get variation stats","description":"Get which variants of your connected shops' listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart."},"content":"**Cost:** 1 API credit per call.\n\n```bash\ncurl -G \"https://api.alura.io/v1/workspace/stats/variations\" \\\n -H \"Authorization: Bearer $ALURA_API_KEY\" \\\n --data-urlencode \"period=90d\"\n```\n\nCovers every connected shop in the workspace unless `shop_id` narrows it, and every listing that sold unless `listing_id` names up to 50 (comma-separated). Listings you name are picked before the ranking and the limits, so they are never left out. A shop or listing outside the workspace answers `404`. Needs the **Customer analytics** workspace permission, as orders do.\n\nUntil 2026-11-10 this endpoint's path was `/v1/workspace/variation-sales`, which now answers `410 endpoint_removed`.\n\n## Choose the range\n\n| You want | Use |\n|---|---|\n| The last 7, 30, 90 or 365 days | `period=7d`, `30d`, `90d` or `365d`, ending on the newest day every included shop's orders are complete for, as [Get shop stats](/api-reference/workspace/stats/get) ends its period. The default is `30d`. |\n| Exact days | `from` and `to`, such as `from=2026-07-01\u0026to=2026-09-30`. Both are inclusive UTC days, at most 366 days. |\n\nAn order counts on the day it was placed. `from` and `to` go together, and never with `period`: any other mix answers `400`. Days are UTC, not Etsy's US Eastern days, so a single day can differ from Etsy Shop Manager.\n\n## What the answer holds\n\n`listings` holds each listing sold in the range, most orders first. Each listing has:\n\n| Field | What it means |\n|---|---|\n| `units`, `orders` | Items sold, and orders with at least one of them. |\n| `refunded_units`, `refunded_orders` | The same, for orders that have a refund. Etsy records a refund on the order, not on an item, so a partial refund counts every item of the order. |\n| `variations` | Each combination of options sold, such as `Color: Blue` with `Size: Large`, most orders first, with the same four numbers. Items sold without options are the combination `[]`. |\n| `unknown` | What sold on order lines whose options Alura doesn't know (see below), with the same four numbers. |\n| `coverage` | How many order lines the listing had in the range: `known` make up `variations`, `unknown` make up `unknown`. |\n\nThe top-level `coverage` counts the same over every included shop. `freshness` and `as_of` say when each shop's orders were synced.\n\nAn order with two items of one listing in different options counts once in the listing's `orders` and once in each combination's. So a listing's `orders` can be less than the sum of its combinations'.\n\n## Unknown options\n\n\u003cNote>\nA line whose options Alura hasn't stored yet, or can't read, is unknown: it never counts as \"no options\". It is counted in `coverage.unknown` and in its listing's `unknown`, never in a combination. Compare `coverage.known` with `coverage.lines` before you rank combinations.\n\u003c/Note>\n\nA `null` unit count means one of its order lines has no quantity in Alura. It is never counted as 0.\n\nPersonalization answers are never part of a combination or of this answer. To read them, use [Get an order](/api-reference/workspace/orders/get).\n\n\u003cAccordionGroup>\n\u003cAccordion title=\"Limits\">\nAt most 100 listings, each with at most 100 combinations. `listings_omitted` and each listing's `variations_omitted` count the rest. Ask for fewer shops, a shorter range, or name the listings with `listing_id` to see them. A range whose shops sold more than 20,000 listing and option combinations answers `400`.\n\u003c/Accordion>\n\n\u003cAccordion title=\"Money\">\nThis endpoint counts items and orders, not money. For revenue, costs and profit, use [Get shop stats](/api-reference/workspace/stats/get).\n\u003c/Accordion>\n\u003c/AccordionGroup>"},"method":"get","type":"path","servers":["2443e6ea-c396-4f96-855a-269ba2d4eb6a"],"security":["b5a5419a-3250-4a34-9cd9-9bfe20c3f2ea"],"path":"/v1/workspace/stats/variations","baseUrlOptions":["https://api.alura.io"],"title":"Get variation stats","codeSamples":[{"label":"cURL","lang":"bash","source":"curl \"https://api.alura.io/v1/workspace/stats/variations?period=90d\" \\\n -H \"Authorization: Bearer $ALURA_API_KEY\""},{"label":"TypeScript","lang":"typescript","source":"const res = await fetch('https://api.alura.io/v1/workspace/stats/variations?period=90d', {\n headers: {\n Authorization: `Bearer ${process.env.ALURA_API_KEY}`,\n },\n});\nconsole.log(await res.json());"},{"label":"Python","lang":"python","source":"import json\nimport os\nimport urllib.request\n\nrequest = urllib.request.Request(\n \"https://api.alura.io/v1/workspace/stats/variations?period=90d\",\n headers={\n \"Authorization\": f\"Bearer {os.environ['ALURA_API_KEY']}\",\n },\n)\nwith urllib.request.urlopen(request) as response:\n print(json.load(response))"}],"requestExampleLanguages":["bash","typescript","python"],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"c5c1885c-47b4-4a50-a29c-c6663b5ff541":{"name":"shop_id","in":"query","required":false,"description":"Only these connected shops, comma-separated; default every connected shop of the workspace. A shop outside the workspace is 404.","schema":{"description":"Only these connected shops, comma-separated; default every connected shop of the workspace. A shop outside the workspace is 404.","type":"array","items":{"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"string"},"isRequired":false,"uniqueKey":"","typeLabel":"string[]"},"style":"form","explode":true},"0468ab30-e51e-408c-958f-898c4fb153af":{"name":"listing_id","in":"query","required":false,"description":"Only these listings, comma-separated (at most 50); default every listing that sold. They are chosen before the ranking and the limits, so a listing named is never left out. A listing outside the workspace is 404.","schema":{"description":"Only these listings, comma-separated (at most 50); default every listing that sold. They are chosen before the ranking and the limits, so a listing named is never left out. A listing outside the workspace is 404.","type":"array","items":{"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"string"},"isRequired":false,"uniqueKey":"","typeLabel":"string[]"},"style":"form","explode":true},"e4117fb8-e9a9-4666-b059-f7ba7dd34cf7":{"name":"period","in":"query","required":false,"description":"`7d`, `30d`, `90d` or `365d`: the last 7, 30, 90 or 365 days, ending on the newest day every included shop's orders are complete for (as shop stats end theirs). Default `30d`. Not with `from`/`to`.","schema":{"description":"`7d`, `30d`, `90d` or `365d`: the last 7, 30, 90 or 365 days, ending on the newest day every included shop's orders are complete for (as shop stats end theirs). Default `30d`. Not with `from`/`to`.","type":"string","enum":["7d","30d","90d","365d"],"example":"90d","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"30e51646-0bc6-45a0-bcad-fd98ac882648":{"name":"from","in":"query","required":false,"description":"First day of the range (UTC), inclusive. Needs `to`.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","description":"First day of the range (UTC), inclusive. Needs `to`.","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"dd7761a7-966c-4ab2-b1a1-200424ccde7b":{"name":"to","in":"query","required":false,"description":"Last day of the range (UTC), inclusive. Needs `from`; at most 366 days after it.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","description":"Last day of the range (UTC), inclusive. Needs `from`; at most 366 days after it.","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"79a82656-fd79-4c49-a053-df63a1b45362":{"name":"fields","in":"query","required":false,"description":"Comma-separated dotted paths to return; `id`, `object` and `as_of` always come back.","schema":{"type":"string","isRequired":false,"description":"Comma-separated dotted paths to return; `id`, `object` and `as_of` always come back.","uniqueKey":"","typeLabel":"string"}}},"responses":{"ff7acb91-33af-4e58-bbb9-ef1fb32d3623":{"description":"OK","headers":{"Request-Id":{"description":"`req_` + ULID; quote it when reporting a problem.","schema":{"type":"string"}},"Alura-Credits-Cost":{"description":"API credits this call cost.","schema":{"type":"integer"}},"Alura-Credits-Remaining":{"description":"API credits left in the workspace's monthly allowance, counting calls still in flight. Absent when it cannot be read right now.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","const":"workspace.variation_stats","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"shop_ids":{"type":"array","items":{"type":"string","uniqueKey":"shop_ids.items.[INDEX]","typeLabel":"string"},"description":"The connected shops included.","isRequired":true,"uniqueKey":"shop_ids","typeLabel":"string[]"},"from":{"type":"string","description":"The range's first day (UTC).","isRequired":true,"uniqueKey":"from","typeLabel":"string"},"to":{"type":"string","description":"The range's last day (UTC).","isRequired":true,"uniqueKey":"to","typeLabel":"string"},"listings":{"type":"array","items":{"type":"object","properties":{"listing_id":{"oneOf":[{"description":"The Etsy listing; null for lines Etsy gave without one.","type":"string","isRequired":true,"uniqueKey":"listings.items.[INDEX].listing_id.oneOf.0","typeLabel":"string"},{"description":"The Etsy listing; null for lines Etsy gave without one.","type":"null","isRequired":true,"uniqueKey":"listings.items.[INDEX].listing_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"listings.items.[INDEX].listing_id","typeLabel":"string | null"},"shop_id":{"type":"string","description":"The connected shop.","isRequired":true,"uniqueKey":"listings.items.[INDEX].shop_id","typeLabel":"string"},"units":{"oneOf":[{"type":"integer","description":"Items sold. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].units.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Items sold. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].units.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"listings.items.[INDEX].units","typeLabel":"integer | null"},"orders":{"type":"integer","description":"Orders with at least one of these items.","isRequired":true,"uniqueKey":"listings.items.[INDEX].orders","typeLabel":"integer"},"refunded_units":{"oneOf":[{"type":"integer","description":"Items sold in orders that have a refund. Etsy records a refund on the order, not the item, so a partial refund counts every item of the order. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].refunded_units.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Items sold in orders that have a refund. Etsy records a refund on the order, not the item, so a partial refund counts every item of the order. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].refunded_units.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"listings.items.[INDEX].refunded_units","typeLabel":"integer | null"},"refunded_orders":{"type":"integer","description":"Orders with at least one of these items that have a refund.","isRequired":true,"uniqueKey":"listings.items.[INDEX].refunded_orders","typeLabel":"integer"},"coverage":{"type":"object","properties":{"lines":{"type":"integer","description":"Order lines (one per listing per order) in the range.","isRequired":true,"uniqueKey":"listings.items.[INDEX].coverage.lines","typeLabel":"integer"},"known":{"type":"integer","description":"Lines whose options Alura has stored: they make up `variations`.","isRequired":true,"uniqueKey":"listings.items.[INDEX].coverage.known","typeLabel":"integer"},"unknown":{"type":"integer","description":"Lines whose options Alura has not stored yet, or cannot read: they make up `unknown`, never a combination.","isRequired":true,"uniqueKey":"listings.items.[INDEX].coverage.unknown","typeLabel":"integer"}},"required":["lines","known","unknown"],"additionalProperties":false,"description":"How many order lines the combinations account for.","isRequired":true,"uniqueKey":"listings.items.[INDEX].coverage","typeLabel":"object"},"variations":{"type":"array","items":{"type":"object","properties":{"options":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The variation, such as `Color`.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].options.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","description":"The value chosen.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].options.items.[INDEX].value","typeLabel":"string"}},"required":["name","value"],"additionalProperties":false,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].options.items.[INDEX]","typeLabel":"object"},"description":"The options chosen, sorted by name: `[]` for items sold without options.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].options","typeLabel":"object[]"},"units":{"oneOf":[{"type":"integer","description":"Items sold. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].units.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Items sold. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].units.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].units","typeLabel":"integer | null"},"orders":{"type":"integer","description":"Orders with at least one of these items.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].orders","typeLabel":"integer"},"refunded_units":{"oneOf":[{"type":"integer","description":"Items sold in orders that have a refund. Etsy records a refund on the order, not the item, so a partial refund counts every item of the order. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].refunded_units.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Items sold in orders that have a refund. Etsy records a refund on the order, not the item, so a partial refund counts every item of the order. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].refunded_units.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].refunded_units","typeLabel":"integer | null"},"refunded_orders":{"type":"integer","description":"Orders with at least one of these items that have a refund.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations.items.[INDEX].refunded_orders","typeLabel":"integer"}},"required":["options","units","orders","refunded_units","refunded_orders"],"additionalProperties":false,"description":"One combination of options, and what sold with it.","uniqueKey":"listings.items.[INDEX].variations.items.[INDEX]","typeLabel":"object"},"description":"Each combination sold, most orders first.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations","typeLabel":"object[]"},"variations_omitted":{"type":"integer","description":"Combinations left out of `variations` past the limit.","isRequired":true,"uniqueKey":"listings.items.[INDEX].variations_omitted","typeLabel":"integer"},"unknown":{"type":"object","properties":{"units":{"oneOf":[{"type":"integer","description":"Items sold. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].unknown.units.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Items sold. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].unknown.units.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"listings.items.[INDEX].unknown.units","typeLabel":"integer | null"},"orders":{"type":"integer","description":"Orders with at least one of these items.","isRequired":true,"uniqueKey":"listings.items.[INDEX].unknown.orders","typeLabel":"integer"},"refunded_units":{"oneOf":[{"type":"integer","description":"Items sold in orders that have a refund. Etsy records a refund on the order, not the item, so a partial refund counts every item of the order. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].unknown.refunded_units.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Items sold in orders that have a refund. Etsy records a refund on the order, not the item, so a partial refund counts every item of the order. null when a line's quantity is unknown.","isRequired":true,"uniqueKey":"listings.items.[INDEX].unknown.refunded_units.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"listings.items.[INDEX].unknown.refunded_units","typeLabel":"integer | null"},"refunded_orders":{"type":"integer","description":"Orders with at least one of these items that have a refund.","isRequired":true,"uniqueKey":"listings.items.[INDEX].unknown.refunded_orders","typeLabel":"integer"}},"required":["units","orders","refunded_units","refunded_orders"],"additionalProperties":false,"description":"What sold on the lines whose options are unknown (`coverage.unknown`): not a combination, and never \"no options\".","isRequired":true,"uniqueKey":"listings.items.[INDEX].unknown","typeLabel":"object"}},"required":["listing_id","shop_id","units","orders","refunded_units","refunded_orders","coverage","variations","variations_omitted","unknown"],"additionalProperties":false,"uniqueKey":"listings.items.[INDEX]","typeLabel":"object"},"description":"Each listing sold in the range, most orders first.","isRequired":true,"uniqueKey":"listings","typeLabel":"object[]"},"listings_omitted":{"type":"integer","description":"Listings left out of `listings` past the limit.","isRequired":true,"uniqueKey":"listings_omitted","typeLabel":"integer"},"coverage":{"type":"object","properties":{"lines":{"type":"integer","description":"Order lines (one per listing per order) in the range.","isRequired":true,"uniqueKey":"coverage.lines","typeLabel":"integer"},"known":{"type":"integer","description":"Lines whose options Alura has stored: they make up `variations`.","isRequired":true,"uniqueKey":"coverage.known","typeLabel":"integer"},"unknown":{"type":"integer","description":"Lines whose options Alura has not stored yet, or cannot read: they make up `unknown`, never a combination.","isRequired":true,"uniqueKey":"coverage.unknown","typeLabel":"integer"}},"required":["lines","known","unknown"],"additionalProperties":false,"description":"How many order lines in the range, over every included shop, the combinations account for.","isRequired":true,"uniqueKey":"coverage","typeLabel":"object"},"as_of":{"oneOf":[{"type":"string","description":"The oldest included shop's orders sync time.","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"as_of.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"The oldest included shop's orders sync time.","isRequired":true,"uniqueKey":"as_of.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"as_of","typeLabel":"string\u003cdate-time> | null"},"freshness":{"type":"array","items":{"type":"object","properties":{"shop_id":{"type":"string","description":"The connected shop.","isRequired":true,"uniqueKey":"freshness.items.[INDEX].shop_id","typeLabel":"string"},"as_of":{"oneOf":[{"type":"string","description":"The shop's orders sync time.","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"freshness.items.[INDEX].as_of.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"The shop's orders sync time.","isRequired":true,"uniqueKey":"freshness.items.[INDEX].as_of.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"freshness.items.[INDEX].as_of","typeLabel":"string\u003cdate-time> | null"}},"required":["shop_id","as_of"],"additionalProperties":false,"uniqueKey":"freshness.items.[INDEX]","typeLabel":"object"},"description":"Each included shop's orders sync time.","isRequired":true,"uniqueKey":"freshness","typeLabel":"object[]"},"notices":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"`stale_shops`, `sales_not_covered`, `partial_range`, `settings_not_fetched`, `holiday_settings_not_offered`, `settings_sections_only`, `listings_count_unavailable`, `listings_not_synced`, `shipping_cost_inexact`, `sales_through`, `refunds_partial`, `unknown_sales_inputs`, `sync_daily_cap_reached`, `currency_converted_at_current_rate`, `reviews_not_synced`, `reviews_stale`, `customers_not_computed`, `lifetime_value_ranked_by_stored_total`, `refunds_unknown`, `lifetime_value_unknown`, `items_unknown` or `search_incomplete`. New codes may be added.","isRequired":true,"uniqueKey":"notices.items.[INDEX].code","typeLabel":"string"},"shop_ids":{"type":"array","items":{"type":"string","uniqueKey":"notices.items.[INDEX].shop_ids.items.[INDEX]","typeLabel":"string"},"description":"The shops the notice is about.","isRequired":true,"uniqueKey":"notices.items.[INDEX].shop_ids","typeLabel":"string[]"},"detail":{"type":"string","isRequired":true,"uniqueKey":"notices.items.[INDEX].detail","typeLabel":"string"}},"required":["code","shop_ids","detail"],"additionalProperties":false,"uniqueKey":"notices.items.[INDEX]","typeLabel":"object"},"description":"What is stale; empty when nothing is.","isRequired":true,"uniqueKey":"notices","typeLabel":"object[]"}},"required":["object","shop_ids","from","to","listings","listings_omitted","coverage","as_of","freshness","notices"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"object":"workspace.variation_stats","shop_ids":["22841907","30577120","48911633"],"from":"2026-07-10","to":"2026-10-07","listings":[{"listing_id":"1834720561","shop_id":"22841907","units":2,"orders":1,"refunded_units":0,"refunded_orders":0,"coverage":{"lines":1,"known":1,"unknown":0},"variations":[{"options":[{"name":"Primary color","value":"White"},{"name":"Size","value":"11 oz"}],"units":2,"orders":1,"refunded_units":0,"refunded_orders":0}],"variations_omitted":0,"unknown":{"units":0,"orders":0,"refunded_units":0,"refunded_orders":0}},{"listing_id":"1834720562","shop_id":"22841907","units":1,"orders":1,"refunded_units":1,"refunded_orders":1,"coverage":{"lines":1,"known":1,"unknown":0},"variations":[{"options":[{"name":"Primary color","value":"Black"}],"units":1,"orders":1,"refunded_units":1,"refunded_orders":1}],"variations_omitted":0,"unknown":{"units":0,"orders":0,"refunded_units":0,"refunded_orders":0}}],"listings_omitted":0,"coverage":{"lines":2,"known":2,"unknown":0},"as_of":"2026-10-08T06:00:00.000Z","freshness":[{"shop_id":"22841907","as_of":"2026-10-08T06:00:00.000Z"},{"shop_id":"30577120","as_of":"2026-10-17T06:00:00.000Z"},{"shop_id":"48911633","as_of":"2026-10-16T06:00:00.000Z"}],"notices":[{"code":"stale_shops","shop_ids":["22841907"],"detail":"These shops have no data, or no data newer than 7 days, for this area. Start a sync to refresh them."}]},"examples":{"Example":{"title":"Example","value":{"object":"workspace.variation_stats","shop_ids":["22841907","30577120","48911633"],"from":"2026-07-10","to":"2026-10-07","listings":[{"listing_id":"1834720561","shop_id":"22841907","units":2,"orders":1,"refunded_units":0,"refunded_orders":0,"coverage":{"lines":1,"known":1,"unknown":0},"variations":[{"options":[{"name":"Primary color","value":"White"},{"name":"Size","value":"11 oz"}],"units":2,"orders":1,"refunded_units":0,"refunded_orders":0}],"variations_omitted":0,"unknown":{"units":0,"orders":0,"refunded_units":0,"refunded_orders":0}},{"listing_id":"1834720562","shop_id":"22841907","units":1,"orders":1,"refunded_units":1,"refunded_orders":1,"coverage":{"lines":1,"known":1,"unknown":0},"variations":[{"options":[{"name":"Primary color","value":"Black"}],"units":1,"orders":1,"refunded_units":1,"refunded_orders":1}],"variations_omitted":0,"unknown":{"units":0,"orders":0,"refunded_units":0,"refunded_orders":0}}],"listings_omitted":0,"coverage":{"lines":2,"known":2,"unknown":0},"as_of":"2026-10-08T06:00:00.000Z","freshness":[{"shop_id":"22841907","as_of":"2026-10-08T06:00:00.000Z"},{"shop_id":"30577120","as_of":"2026-10-17T06:00:00.000Z"},{"shop_id":"48911633","as_of":"2026-10-16T06:00:00.000Z"}],"notices":[{"code":"stale_shops","shop_ids":["22841907"],"detail":"These shops have no data, or no data newer than 7 days, for this area. Start a sync to refresh them."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"ba49bfc1-c0ea-4b62-af1f-4314963e11a9":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","key_limit_reached","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","unprocessable","listing_removed_on_etsy","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","internal_error","write_misconfigured","upstream_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/invalid_request","title":"Invalid request","status":400,"code":"invalid_request","detail":"Invalid request","suggestion":"Fix the request as the detail says, then send it again.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/invalid_request","title":"Invalid request","status":400,"code":"invalid_request","detail":"Invalid request","suggestion":"Fix the request as the detail says, then send it again.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"2db0ed52-f063-4000-bb0f-c773f93d5992":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","key_limit_reached","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","unprocessable","listing_removed_on_etsy","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","internal_error","write_misconfigured","upstream_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/unauthorized","title":"Unauthorized","status":401,"code":"unauthorized","detail":"Unauthorized","suggestion":"Send a valid API key as `Authorization: Bearer alura_sk_...`.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/unauthorized","title":"Unauthorized","status":401,"code":"unauthorized","detail":"Unauthorized","suggestion":"Send a valid API key as `Authorization: Bearer alura_sk_...`.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"54d90aab-e40d-43d5-bae0-0db70db749a6":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","key_limit_reached","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","unprocessable","listing_removed_on_etsy","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","internal_error","write_misconfigured","upstream_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/credits_exhausted","title":"API credits exhausted","status":402,"code":"credits_exhausted","detail":"API credits exhausted","suggestion":"Upgrade the plan or wait for the monthly reset.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/credits_exhausted","title":"API credits exhausted","status":402,"code":"credits_exhausted","detail":"API credits exhausted","suggestion":"Upgrade the plan or wait for the monthly reset.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"b3280056-848c-451a-9a0d-76536b979518":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","key_limit_reached","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","unprocessable","listing_removed_on_etsy","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","internal_error","write_misconfigured","upstream_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/plan_required","title":"Plan required","status":403,"code":"plan_required","detail":"Plan required","suggestion":"Upgrade the workspace plan to use this operation.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/plan_required","title":"Plan required","status":403,"code":"plan_required","detail":"Plan required","suggestion":"Upgrade the workspace plan to use this operation.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"5bdd4efd-8a99-4512-8bba-f82d7fe69f76":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","key_limit_reached","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","unprocessable","listing_removed_on_etsy","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","internal_error","write_misconfigured","upstream_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/not_found","title":"Not found","status":404,"code":"not_found","detail":"Not found","suggestion":"Check the ID, or search for it first.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/not_found","title":"Not found","status":404,"code":"not_found","detail":"Not found","suggestion":"Check the ID, or search for it first.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"52e54c61-3718-4b1b-8fcc-26bc3d0d7bb2":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","key_limit_reached","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","unprocessable","listing_removed_on_etsy","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","internal_error","write_misconfigured","upstream_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/method_not_allowed","title":"Method not allowed","status":405,"code":"method_not_allowed","detail":"Method not allowed","suggestion":"Use one of the methods in the Allow header.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/method_not_allowed","title":"Method not allowed","status":405,"code":"method_not_allowed","detail":"Method not allowed","suggestion":"Use one of the methods in the Allow header.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"02a2a597-c0cc-4756-b3a0-43eff99b1d54":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","key_limit_reached","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","unprocessable","listing_removed_on_etsy","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","internal_error","write_misconfigured","upstream_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/rate_limited","title":"Rate limited","status":429,"code":"rate_limited","detail":"Rate limited","suggestion":"Wait for Retry-After, then retry.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/rate_limited","title":"Rate limited","status":429,"code":"rate_limited","detail":"Rate limited","suggestion":"Wait for Retry-After, then retry.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"6c95aad3-0722-4f7e-b012-e0afabe45197":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","key_limit_reached","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","unprocessable","listing_removed_on_etsy","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","internal_error","write_misconfigured","upstream_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/internal_error","title":"Internal error","status":500,"code":"internal_error","detail":"Internal error","suggestion":"Retry; if it keeps failing, report the request_id.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/internal_error","title":"Internal error","status":500,"code":"internal_error","detail":"Internal error","suggestion":"Retry; if it keeps failing, report the request_id.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"66c0e551-acd7-4ef5-860d-36d1a9fe87e7":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","key_limit_reached","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","unprocessable","listing_removed_on_etsy","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","internal_error","write_misconfigured","upstream_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/credits_unavailable","title":"API credits unavailable","status":503,"code":"credits_unavailable","detail":"API credits unavailable","suggestion":"Retry shortly.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/credits_unavailable","title":"API credits unavailable","status":503,"code":"credits_unavailable","detail":"API credits unavailable","suggestion":"Retry shortly.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"b5a5419a-3250-4a34-9cd9-9bfe20c3f2ea":{"apiKey":{"type":"http","scheme":"bearer","description":"An API key: `Authorization: Bearer alura_sk_...`.","scopes":[],"schemeName":"apiKey"}}},"servers":{"2443e6ea-c396-4f96-855a-269ba2d4eb6a":{"url":"https://api.alura.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key: `Authorization: Bearer alura_sk_...`.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key: `Authorization: Bearer alura_sk_...`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"alura","siteName":"Alura API","title":"Get variation stats - Alura API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-15T07:45:43.663Z","originalFileLocation":"api-reference/workspace/stats/variations.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get which variants of your connected shops\u0026#x27; listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Alura API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get variation stats - Alura API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get which variants of your connected shops\u0026#x27; listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Alura API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.alura.io/api-reference/workspace/stats/variations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://alura.mintlify.site/_mintlify/api/og/v2?division=Stats\u0026amp;title=Get+variation+stats\u0026amp;description=Get+which+variants+of+your+connected+shops%27+listings+sell%3A+for+each+listing%2C+each+combination+of+options+buyers+chose%2C+with+items+sold+and+orders%2C+and+refunded+\u0026amp;theme=1370fe7ac0b7d5ece8a1136a\u0026amp;signature=ae5a14659a694484c3eb8eb7d036293cac0d024f09158174807bd8ab72bd9a56\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get variation stats - Alura API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get which variants of your connected shops\u0026#x27; listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://alura.mintlify.site/_mintlify/api/og/v2?division=Stats\u0026amp;title=Get+variation+stats\u0026amp;description=Get+which+variants+of+your+connected+shops%27+listings+sell%3A+for+each+listing%2C+each+combination+of+options+buyers+chose%2C+with+items+sold+and+orders%2C+and+refunded+\u0026amp;theme=1370fe7ac0b7d5ece8a1136a\u0026amp;signature=ae5a14659a694484c3eb8eb7d036293cac0d024f09158174807bd8ab72bd9a56\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Alura API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155EEF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.alura.io/api-reference/workspace/stats/variations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/workspace/stats/variations.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.alura.io/#organization\",\"name\":\"Alura API\",\"url\":\"https://docs.alura.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/alura/HySS5CT36sWBL9EL/logo/light.svg?fit=max\u0026auto=format\u0026n=HySS5CT36sWBL9EL\u0026q=85\u0026s=6afcc5174d02ee0af4c233126964240a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.alura.io#website\",\"name\":\"Alura API\",\"url\":\"https://docs.alura.io\",\"publisher\":{\"@id\":\"https://docs.alura.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.alura.io/api-reference/workspace/stats/variations#webpage\",\"url\":\"https://docs.alura.io/api-reference/workspace/stats/variations\",\"name\":\"Get variation stats\",\"description\":\"Get which variants of your connected shops' listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart.\",\"dateModified\":\"2026-11-15T07:45:43.663Z\",\"isPartOf\":{\"@id\":\"https://docs.alura.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.alura.io/api-reference/workspace/stats/variations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.alura.io/api-reference/workspace/stats/variations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Your shop\",\"item\":\"https://docs.alura.io/api-reference/workspace/shops/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stats\",\"item\":\"https://docs.alura.io/api-reference/workspace/stats/get\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get variation stats\",\"item\":\"https://docs.alura.io/api-reference/workspace/stats/variations\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.alura.io/api-reference/workspace/stats/variations#apireference\",\"headline\":\"Get variation stats\",\"name\":\"Get variation stats\",\"description\":\"Get which variants of your connected shops' listings sell: for each listing, each combination of options buyers chose, with items sold and orders, and refunded items and orders apart.\",\"url\":\"https://docs.alura.io/api-reference/workspace/stats/variations\",\"mainEntityOfPage\":{\"@id\":\"https://docs.alura.io/api-reference/workspace/stats/variations#webpage\"},\"dateModified\":\"2026-11-15T07:45:43.663Z\",\"publisher\":{\"@id\":\"https://docs.alura.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.alura.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Alura API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Alura API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/workspace/stats/variations.md","siteName":"Alura API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Credits and limits","href":"/api-reference/credits-and-limits"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Research","pages":[{"group":"Lookup","pages":[{"title":"Look up URL or shop","deprecated":null,"version":null,"sidebarTitle":"Look up URL or shop","openapi":"/openapi.json get /v1/research/lookup","href":"/api-reference/research/lookup"}]},{"group":"Products","pages":[{"title":"Search products","deprecated":null,"version":null,"sidebarTitle":"Search products","openapi":"/openapi.json get /v1/research/products","href":"/api-reference/research/products/search"},{"title":"Get trending products","deprecated":null,"version":null,"sidebarTitle":"Get trending products","openapi":"/openapi.json get /v1/research/products/trending","href":"/api-reference/research/products/trending"},{"title":"Get product","deprecated":null,"version":null,"sidebarTitle":"Get product","openapi":"/openapi.json get /v1/research/products/{id}","href":"/api-reference/research/products/get"},{"title":"Get products by ID","openapi":"openapi-variants.json GET /v1/research/products","href":"/api-reference/research/products/getMany"},{"title":"Get similar products","deprecated":null,"version":null,"sidebarTitle":"Get similar products","openapi":"/openapi.json get /v1/research/products/{id}/similar","href":"/api-reference/research/products/similar"},{"title":"Get product history","deprecated":null,"version":null,"sidebarTitle":"Get product history","openapi":"/openapi.json get /v1/research/products/{id}/history","href":"/api-reference/research/products/history"},{"title":"Get sales histories","deprecated":null,"version":null,"sidebarTitle":"Get sales histories","openapi":"/openapi.json get /v1/research/history","href":"/api-reference/research/history/getmany"},{"title":"List product reviews","deprecated":null,"version":null,"sidebarTitle":"List product reviews","openapi":"/openapi.json get /v1/research/products/{id}/reviews","href":"/api-reference/research/products/reviews"}]},{"group":"Shops","pages":[{"title":"Search shops","deprecated":null,"version":null,"sidebarTitle":"Search shops","openapi":"/openapi.json get /v1/research/shops","href":"/api-reference/research/shops/search"},{"title":"Get trending shops","deprecated":null,"version":null,"sidebarTitle":"Get trending shops","openapi":"/openapi.json get /v1/research/shops/trending","href":"/api-reference/research/shops/trending"},{"title":"Get shop","deprecated":null,"version":null,"sidebarTitle":"Get shop","openapi":"/openapi.json get /v1/research/shops/{id}","href":"/api-reference/research/shops/get"},{"title":"List shop products","deprecated":null,"version":null,"sidebarTitle":"List shop products","openapi":"/openapi.json get /v1/research/shops/{id}/products","href":"/api-reference/research/shops/products"},{"title":"Get similar shops","deprecated":null,"version":null,"sidebarTitle":"Get similar shops","openapi":"/openapi.json get /v1/research/shops/{id}/similar","href":"/api-reference/research/shops/similar"},{"title":"List shop reviews","deprecated":null,"version":null,"sidebarTitle":"List shop reviews","openapi":"/openapi.json get /v1/research/shops/{id}/reviews","href":"/api-reference/research/shops/reviews"},{"title":"Get shop history","deprecated":null,"version":null,"sidebarTitle":"Get shop history","openapi":"/openapi.json get /v1/research/shops/{id}/history","href":"/api-reference/research/shops/history"}]},{"group":"Keywords","pages":[{"title":"Look up keywords","deprecated":null,"version":null,"sidebarTitle":"Look up keywords","openapi":"/openapi.json get /v1/research/keywords","href":"/api-reference/research/keywords/lookup"},{"title":"Get trending keywords","deprecated":null,"version":null,"sidebarTitle":"Get trending keywords","openapi":"/openapi.json get /v1/research/keywords/trending","href":"/api-reference/research/keywords/trending"},{"title":"Get keyword","deprecated":null,"version":null,"sidebarTitle":"Get keyword","openapi":"/openapi.json get /v1/research/keywords/{id}","href":"/api-reference/research/keywords/get"},{"title":"Get related keywords","deprecated":null,"version":null,"sidebarTitle":"Get related keywords","openapi":"/openapi.json get /v1/research/keywords/{id}/related","href":"/api-reference/research/keywords/related"},{"title":"Get top products","deprecated":null,"version":null,"sidebarTitle":"Get top products","openapi":"/openapi.json get /v1/research/keywords/{id}/products","href":"/api-reference/research/keywords/products"},{"title":"Get top shops","deprecated":null,"version":null,"sidebarTitle":"Get top shops","openapi":"/openapi.json get /v1/research/keywords/{id}/shops","href":"/api-reference/research/keywords/shops"},{"title":"Get keyword history","deprecated":null,"version":null,"sidebarTitle":"Get keyword history","openapi":"/openapi.json get /v1/research/keywords/{id}/history","href":"/api-reference/research/keywords/history"}]},{"group":"Saved","pages":[{"group":"Folders","pages":[{"title":"List saved folders","deprecated":null,"version":null,"sidebarTitle":"List saved folders","openapi":"/openapi.json get /v1/research/saved/folders","href":"/api-reference/research/saved/folders/list"},{"title":"Create saved folder","deprecated":null,"version":null,"sidebarTitle":"Create saved folder","openapi":"/openapi.json post /v1/research/saved/folders","href":"/api-reference/research/saved/folders/create"},{"title":"Get saved folder","deprecated":null,"version":null,"sidebarTitle":"Get saved folder","openapi":"/openapi.json get /v1/research/saved/folders/{id}","href":"/api-reference/research/saved/folders/get"},{"title":"Update saved folder","deprecated":null,"version":null,"sidebarTitle":"Update saved folder","openapi":"/openapi.json patch /v1/research/saved/folders/{id}","href":"/api-reference/research/saved/folders/update"},{"title":"Delete saved folder","deprecated":null,"version":null,"sidebarTitle":"Delete saved folder","openapi":"/openapi.json delete /v1/research/saved/folders/{id}","href":"/api-reference/research/saved/folders/delete"}]},{"group":"Lists","pages":[{"title":"List saved lists","deprecated":null,"version":null,"sidebarTitle":"List saved lists","openapi":"/openapi.json get /v1/research/saved/lists","href":"/api-reference/research/saved/lists/list"},{"title":"Create saved list","deprecated":null,"version":null,"sidebarTitle":"Create saved list","openapi":"/openapi.json post /v1/research/saved/lists","href":"/api-reference/research/saved/lists/create"},{"title":"Get saved list","deprecated":null,"version":null,"sidebarTitle":"Get saved list","openapi":"/openapi.json get /v1/research/saved/lists/{id}","href":"/api-reference/research/saved/lists/get"},{"title":"Update saved list","deprecated":null,"version":null,"sidebarTitle":"Update saved list","openapi":"/openapi.json patch /v1/research/saved/lists/{id}","href":"/api-reference/research/saved/lists/update"},{"title":"Delete saved list","deprecated":null,"version":null,"sidebarTitle":"Delete saved list","openapi":"/openapi.json delete /v1/research/saved/lists/{id}","href":"/api-reference/research/saved/lists/delete"}]},{"group":"Items","pages":[{"title":"List saved items","deprecated":null,"version":null,"sidebarTitle":"List saved items","openapi":"/openapi.json get /v1/research/saved/lists/{id}/items","href":"/api-reference/research/saved/items/list"},{"title":"List all saved items","deprecated":null,"version":null,"sidebarTitle":"List all saved items","openapi":"/openapi.json get /v1/research/saved/items","href":"/api-reference/research/saved/items/search"},{"title":"Add saved items","deprecated":null,"version":null,"sidebarTitle":"Add saved items","openapi":"/openapi.json post /v1/research/saved/lists/{id}/items","href":"/api-reference/research/saved/items/add"},{"title":"Remove saved items","deprecated":null,"version":null,"sidebarTitle":"Remove saved items","openapi":"/openapi.json delete /v1/research/saved/lists/{id}/items","href":"/api-reference/research/saved/items/remove"}]}]}]},{"group":"Your shop","pages":[{"group":"Shop","pages":[{"title":"List shops","deprecated":null,"version":null,"sidebarTitle":"List shops","openapi":"/openapi.json get /v1/workspace/shops","href":"/api-reference/workspace/shops/list"},{"title":"Get shop","deprecated":null,"version":null,"sidebarTitle":"Get shop","openapi":"/openapi.json get /v1/workspace/shops/{shop_id}","href":"/api-reference/workspace/shops/get"},{"title":"Update shop","deprecated":null,"version":null,"sidebarTitle":"Update shop","openapi":"/openapi.json patch /v1/workspace/shops/{shop_id}","href":"/api-reference/workspace/shops/update"},{"group":"Sections","pages":[{"title":"List sections","deprecated":null,"version":null,"sidebarTitle":"List sections","openapi":"/openapi.json get /v1/workspace/sections","href":"/api-reference/workspace/sections/list"},{"title":"Create section","deprecated":null,"version":null,"sidebarTitle":"Create section","openapi":"/openapi.json post /v1/workspace/sections","href":"/api-reference/workspace/sections/create"},{"title":"Update section","deprecated":null,"version":null,"sidebarTitle":"Update section","openapi":"/openapi.json patch /v1/workspace/sections/{id}","href":"/api-reference/workspace/sections/update"},{"title":"Delete section","deprecated":null,"version":null,"sidebarTitle":"Delete section","openapi":"/openapi.json delete /v1/workspace/sections/{id}","href":"/api-reference/workspace/sections/delete"}]},{"group":"Shipping profiles","pages":[{"title":"List shipping profiles","deprecated":null,"version":null,"sidebarTitle":"List shipping profiles","openapi":"/openapi.json get /v1/workspace/shipping-profiles","href":"/api-reference/workspace/shippingprofiles/list"},{"title":"Get shipping profile","deprecated":null,"version":null,"sidebarTitle":"Get shipping profile","openapi":"/openapi.json get /v1/workspace/shipping-profiles/{id}","href":"/api-reference/workspace/shippingprofiles/get"},{"title":"Create shipping profile","deprecated":null,"version":null,"sidebarTitle":"Create shipping profile","openapi":"/openapi.json post /v1/workspace/shipping-profiles","href":"/api-reference/workspace/shippingprofiles/create"},{"title":"Update shipping profile","deprecated":null,"version":null,"sidebarTitle":"Update shipping profile","openapi":"/openapi.json patch /v1/workspace/shipping-profiles/{id}","href":"/api-reference/workspace/shippingprofiles/update"},{"title":"Delete shipping profile","deprecated":null,"version":null,"sidebarTitle":"Delete shipping profile","openapi":"/openapi.json delete /v1/workspace/shipping-profiles/{id}","href":"/api-reference/workspace/shippingprofiles/delete"},{"group":"Destinations","pages":[{"title":"List destinations","deprecated":null,"version":null,"sidebarTitle":"List destinations","openapi":"/openapi.json get /v1/workspace/shipping-profiles/{id}/destinations","href":"/api-reference/workspace/shippingprofiles/destinations"},{"title":"Create destination","deprecated":null,"version":null,"sidebarTitle":"Create destination","openapi":"/openapi.json post /v1/workspace/shipping-profiles/{id}/destinations","href":"/api-reference/workspace/shippingprofiles/destinations/create"},{"title":"Update destination","deprecated":null,"version":null,"sidebarTitle":"Update destination","openapi":"/openapi.json patch /v1/workspace/shipping-profiles/{id}/destinations/{destination_id}","href":"/api-reference/workspace/shippingprofiles/destinations/update"},{"title":"Delete destination","deprecated":null,"version":null,"sidebarTitle":"Delete destination","openapi":"/openapi.json delete /v1/workspace/shipping-profiles/{id}/destinations/{destination_id}","href":"/api-reference/workspace/shippingprofiles/destinations/delete"}]},{"group":"Upgrades","pages":[{"title":"List delivery upgrades","deprecated":null,"version":null,"sidebarTitle":"List delivery upgrades","openapi":"/openapi.json get /v1/workspace/shipping-profiles/{id}/upgrades","href":"/api-reference/workspace/shippingprofiles/deliveryoptions"},{"title":"Create upgrade","deprecated":null,"version":null,"sidebarTitle":"Create upgrade","openapi":"/openapi.json post /v1/workspace/shipping-profiles/{id}/upgrades","href":"/api-reference/workspace/shippingprofiles/deliveryoptions/create"},{"title":"Update upgrade","deprecated":null,"version":null,"sidebarTitle":"Update upgrade","openapi":"/openapi.json patch /v1/workspace/shipping-profiles/{id}/upgrades/{upgrade_id}","href":"/api-reference/workspace/shippingprofiles/deliveryoptions/update"},{"title":"Delete upgrade","deprecated":null,"version":null,"sidebarTitle":"Delete upgrade","openapi":"/openapi.json delete /v1/workspace/shipping-profiles/{id}/upgrades/{upgrade_id}","href":"/api-reference/workspace/shippingprofiles/deliveryoptions/delete"}]}]},{"group":"Return policies","pages":[{"title":"List return policies","deprecated":null,"version":null,"sidebarTitle":"List return policies","openapi":"/openapi.json get /v1/workspace/return-policies","href":"/api-reference/workspace/returnpolicies/list"},{"title":"Get return policy","deprecated":null,"version":null,"sidebarTitle":"Get return policy","openapi":"/openapi.json get /v1/workspace/return-policies/{id}","href":"/api-reference/workspace/returnpolicies/get"},{"title":"Create return policy","deprecated":null,"version":null,"sidebarTitle":"Create return policy","openapi":"/openapi.json post /v1/workspace/return-policies","href":"/api-reference/workspace/returnpolicies/create"},{"title":"Update return policy","deprecated":null,"version":null,"sidebarTitle":"Update return policy","openapi":"/openapi.json patch /v1/workspace/return-policies/{id}","href":"/api-reference/workspace/returnpolicies/update"},{"title":"Delete return policy","deprecated":null,"version":null,"sidebarTitle":"Delete return policy","openapi":"/openapi.json delete /v1/workspace/return-policies/{id}","href":"/api-reference/workspace/returnpolicies/delete"},{"title":"Move policy listings","deprecated":null,"version":null,"sidebarTitle":"Move policy listings","openapi":"/openapi.json post /v1/workspace/return-policies/{id}/move-listings","href":"/api-reference/workspace/returnpolicies/movelistings"}]},{"group":"Processing profiles","pages":[{"title":"List profiles","deprecated":null,"version":null,"sidebarTitle":"List profiles","openapi":"/openapi.json get /v1/workspace/processing-profiles","href":"/api-reference/workspace/processingprofiles/list"},{"title":"Get profile","deprecated":null,"version":null,"sidebarTitle":"Get profile","openapi":"/openapi.json get /v1/workspace/processing-profiles/{id}","href":"/api-reference/workspace/processingprofiles/get"},{"title":"Create profile","deprecated":null,"version":null,"sidebarTitle":"Create profile","openapi":"/openapi.json post /v1/workspace/processing-profiles","href":"/api-reference/workspace/processingprofiles/create"},{"title":"Update profile","deprecated":null,"version":null,"sidebarTitle":"Update profile","openapi":"/openapi.json patch /v1/workspace/processing-profiles/{id}","href":"/api-reference/workspace/processingprofiles/update"},{"title":"Delete profile","deprecated":null,"version":null,"sidebarTitle":"Delete profile","openapi":"/openapi.json delete /v1/workspace/processing-profiles/{id}","href":"/api-reference/workspace/processingprofiles/delete"}]},{"group":"Holiday settings","pages":[{"title":"Get holiday settings","deprecated":null,"version":null,"sidebarTitle":"Get holiday settings","openapi":"/openapi.json get /v1/workspace/holiday-settings","href":"/api-reference/workspace/holidaysettings/list"},{"title":"Update holiday settings","deprecated":null,"version":null,"sidebarTitle":"Update holiday settings","openapi":"/openapi.json patch /v1/workspace/holiday-settings","href":"/api-reference/workspace/holidaysettings/update"}]},{"group":"Production partners","pages":[{"title":"List partners","deprecated":null,"version":null,"sidebarTitle":"List partners","openapi":"/openapi.json get /v1/workspace/production-partners","href":"/api-reference/workspace/productionpartners/list"}]}]},{"group":"Stats","pages":[{"title":"Get shop stats","description":"Get your connected shops' revenue, costs, Etsy fees and profit over a date range, from Alura's financials. Add a time series, a comparison with the period before, or a split by shop. Etsy's own API has no shop stats.","deprecated":null,"version":null,"sidebarTitle":"Get shop stats","openapi":"/openapi.json get /v1/workspace/stats","href":"/api-reference/workspace/stats/get"},{"title":"Get variation stats","deprecated":null,"version":null,"sidebarTitle":"Get variation stats","openapi":"/openapi.json get /v1/workspace/stats/variations","href":"/api-reference/workspace/stats/variations"}]},{"group":"Listings","pages":[{"title":"Search listings","description":"Search, filter and sort the listings of your connected Etsy shops, including by real sales from your synced orders. Etsy's own API can't do this.","deprecated":null,"version":null,"sidebarTitle":"Search listings","openapi":"/openapi.json get /v1/workspace/listings","href":"/api-reference/workspace/listings/search"},{"title":"Get listing","deprecated":null,"version":null,"sidebarTitle":"Get listing","openapi":"/openapi.json get /v1/workspace/listings/{id}","href":"/api-reference/workspace/listings/get"},{"title":"Get listing stats","deprecated":null,"version":null,"sidebarTitle":"Get listing stats","openapi":"/openapi.json get /v1/workspace/listings/{id}/stats","href":"/api-reference/workspace/listings/stats"},{"title":"Update listing","deprecated":null,"version":null,"sidebarTitle":"Update listing","openapi":"/openapi.json patch /v1/workspace/listings/{id}","href":"/api-reference/workspace/listings/update"},{"title":"Create listing","deprecated":null,"version":null,"sidebarTitle":"Create listing","openapi":"/openapi.json post /v1/workspace/listings","href":"/api-reference/workspace/listings/create"},{"title":"Duplicate listing","deprecated":null,"version":null,"sidebarTitle":"Duplicate listing","openapi":"/openapi.json post /v1/workspace/listings/{id}/duplicate","href":"/api-reference/workspace/listings/duplicate"},{"title":"Delete listing","deprecated":null,"version":null,"sidebarTitle":"Delete listing","openapi":"/openapi.json delete /v1/workspace/listings/{id}","href":"/api-reference/workspace/listings/delete"}]},{"group":"Orders","pages":[{"title":"Search orders","deprecated":null,"version":null,"sidebarTitle":"Search orders","openapi":"/openapi.json get /v1/workspace/orders","href":"/api-reference/workspace/orders/search"},{"title":"Get order","deprecated":null,"version":null,"sidebarTitle":"Get order","openapi":"/openapi.json get /v1/workspace/orders/{id}","href":"/api-reference/workspace/orders/get"},{"title":"Add shipment","deprecated":null,"version":null,"sidebarTitle":"Add shipment","openapi":"/openapi.json post /v1/workspace/orders/{id}/shipments","href":"/api-reference/workspace/orders/shipments/create"}]},{"group":"Reviews","pages":[{"title":"Search reviews","deprecated":null,"version":null,"sidebarTitle":"Search reviews","openapi":"/openapi.json get /v1/workspace/reviews","href":"/api-reference/workspace/reviews/search"}]},{"group":"Customers","pages":[{"title":"Search customers","deprecated":null,"version":null,"sidebarTitle":"Search customers","openapi":"/openapi.json get /v1/workspace/customers","href":"/api-reference/workspace/customers/search"},{"title":"Get customer","deprecated":null,"version":null,"sidebarTitle":"Get customer","openapi":"/openapi.json get /v1/workspace/customers/{id}","href":"/api-reference/workspace/customers/get"}]},{"group":"Changes","pages":[{"title":"List changes","deprecated":null,"version":null,"sidebarTitle":"List changes","openapi":"/openapi.json get /v1/workspace/changes","href":"/api-reference/workspace/changes/list"},{"title":"Get change","deprecated":null,"version":null,"sidebarTitle":"Get change","openapi":"/openapi.json get /v1/workspace/changes/{id}","href":"/api-reference/workspace/changes/get"},{"title":"Revert change","deprecated":null,"version":null,"sidebarTitle":"Revert change","openapi":"/openapi.json post /v1/workspace/changes/{id}/revert","href":"/api-reference/workspace/changes/revert"}]},{"group":"Syncs","pages":[{"title":"Start sync","deprecated":null,"version":null,"sidebarTitle":"Start sync","openapi":"/openapi.json post /v1/workspace/syncs","href":"/api-reference/workspace/syncs/start"},{"title":"Get sync","deprecated":null,"version":null,"sidebarTitle":"Get sync","openapi":"/openapi.json get /v1/workspace/syncs/{id}","href":"/api-reference/workspace/syncs/get"},{"title":"List syncs","deprecated":null,"version":null,"sidebarTitle":"List syncs","openapi":"/openapi.json get /v1/workspace/syncs","href":"/api-reference/workspace/syncs/list"}]}]},{"group":"Etsy","pages":[{"group":"Catalog","pages":[{"title":"Search categories","deprecated":null,"version":null,"sidebarTitle":"Search categories","openapi":"/openapi.json get /v1/etsy/categories","href":"/api-reference/etsy/categories/search"},{"title":"Get category","deprecated":null,"version":null,"sidebarTitle":"Get category","openapi":"/openapi.json get /v1/etsy/categories/{id}","href":"/api-reference/etsy/categories/get"},{"title":"Get category properties","deprecated":null,"version":null,"sidebarTitle":"Get category properties","openapi":"/openapi.json get /v1/etsy/categories/{id}/properties","href":"/api-reference/etsy/categories/properties"},{"title":"List languages","deprecated":null,"version":null,"sidebarTitle":"List languages","openapi":"/openapi.json get /v1/etsy/languages","href":"/api-reference/etsy/languages/list"}]},{"group":"Selling","pages":[{"title":"Get listing rules","deprecated":null,"version":null,"sidebarTitle":"Get listing rules","openapi":"/openapi.json get /v1/etsy/listing-rules","href":"/api-reference/etsy/listingrules/get"},{"title":"Get fees","deprecated":null,"version":null,"sidebarTitle":"Get fees","openapi":"/openapi.json get /v1/etsy/fees","href":"/api-reference/etsy/fees/get"}]},{"group":"Countries \u0026 currencies","pages":[{"title":"List countries","deprecated":null,"version":null,"sidebarTitle":"List countries","openapi":"/openapi.json get /v1/etsy/countries","href":"/api-reference/etsy/countries/list"},{"title":"Get country","deprecated":null,"version":null,"sidebarTitle":"Get country","openapi":"/openapi.json get /v1/etsy/countries/{code}","href":"/api-reference/etsy/countries/get"},{"title":"List currencies","deprecated":null,"version":null,"sidebarTitle":"List currencies","openapi":"/openapi.json get /v1/etsy/currencies","href":"/api-reference/etsy/currencies/list"},{"title":"Get currency","deprecated":null,"version":null,"sidebarTitle":"Get currency","openapi":"/openapi.json get /v1/etsy/currencies/{code}","href":"/api-reference/etsy/currencies/get"}]},{"group":"Shipping","pages":[{"title":"Get shipping carriers","deprecated":null,"version":null,"sidebarTitle":"Get shipping carriers","openapi":"/openapi.json get /v1/etsy/shipping-carriers","href":"/api-reference/etsy/shippingcarriers/get"}]},{"group":"News \u0026 updates","pages":[{"title":"List feed","deprecated":null,"version":null,"sidebarTitle":"List feed","openapi":"/openapi.json get /v1/etsy/feed","href":"/api-reference/etsy/feed/list"},{"title":"List updates","deprecated":null,"version":null,"sidebarTitle":"List updates","openapi":"/openapi.json get /v1/etsy/updates","href":"/api-reference/etsy/updates/list"},{"title":"Get update","deprecated":null,"version":null,"sidebarTitle":"Get update","openapi":"/openapi.json get /v1/etsy/updates/{id}","href":"/api-reference/etsy/updates/get"},{"title":"List news","deprecated":null,"version":null,"sidebarTitle":"List news","openapi":"/openapi.json get /v1/etsy/news","href":"/api-reference/etsy/news/list"},{"title":"Get article","deprecated":null,"version":null,"sidebarTitle":"Get article","openapi":"/openapi.json get /v1/etsy/news/{slug}","href":"/api-reference/etsy/news/get"}]}]},{"group":"Webhooks \u0026 events","pages":[{"group":"Webhook endpoints","pages":[{"title":"Create webhook","deprecated":null,"version":null,"sidebarTitle":"Create webhook","openapi":"/openapi.json post /v1/webhooks","href":"/api-reference/webhooks/endpoints/create"},{"title":"List webhooks","deprecated":null,"version":null,"sidebarTitle":"List webhooks","openapi":"/openapi.json get /v1/webhooks","href":"/api-reference/webhooks/endpoints/list"},{"title":"Get webhook","deprecated":null,"version":null,"sidebarTitle":"Get webhook","openapi":"/openapi.json get /v1/webhooks/{id}","href":"/api-reference/webhooks/endpoints/get"},{"title":"Update webhook","deprecated":null,"version":null,"sidebarTitle":"Update webhook","openapi":"/openapi.json patch /v1/webhooks/{id}","href":"/api-reference/webhooks/endpoints/update"},{"title":"Delete webhook","deprecated":null,"version":null,"sidebarTitle":"Delete webhook","openapi":"/openapi.json delete /v1/webhooks/{id}","href":"/api-reference/webhooks/endpoints/delete"},{"title":"Send test event","deprecated":null,"version":null,"sidebarTitle":"Send test event","openapi":"/openapi.json post /v1/webhooks/{id}/test","href":"/api-reference/webhooks/endpoints/test"},{"title":"Rotate secret","deprecated":null,"version":null,"sidebarTitle":"Rotate secret","openapi":"/openapi.json post /v1/webhooks/{id}/rotate-secret","href":"/api-reference/webhooks/endpoints/rotatesecret"}]},{"group":"Deliveries","pages":[{"title":"List deliveries","deprecated":null,"version":null,"sidebarTitle":"List deliveries","openapi":"/openapi.json get /v1/webhooks/{id}/deliveries","href":"/api-reference/webhooks/deliveries/list"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"sidebarTitle":"List events","openapi":"/openapi.json get /v1/events","href":"/api-reference/events/list"},{"title":"Get event","deprecated":null,"version":null,"sidebarTitle":"Get event","openapi":"/openapi.json get /v1/events/{id}","href":"/api-reference/events/get"}]}]},{"group":"Account","pages":[{"group":"Me","pages":[{"title":"Get current user","deprecated":null,"version":null,"sidebarTitle":"Get current user","openapi":"/openapi.json get /v1/me","href":"/api-reference/account/me/get"}]},{"group":"Workspaces","pages":[{"title":"List workspaces","deprecated":null,"version":null,"sidebarTitle":"List workspaces","openapi":"/openapi.json get /v1/me/workspaces","href":"/api-reference/account/workspaces/list"},{"title":"Switch workspace","deprecated":null,"version":null,"sidebarTitle":"Switch workspace","openapi":"/openapi.json post /v1/me/workspace","href":"/api-reference/account/workspace/switch"}]},{"group":"Usage","pages":[{"title":"Get usage","deprecated":null,"version":null,"sidebarTitle":"Get usage","openapi":"/openapi.json get /v1/usage","href":"/api-reference/account/usage/get"},{"title":"Get usage by day","deprecated":null,"version":null,"sidebarTitle":"Get usage by day","openapi":"/openapi.json get /v1/usage/by-day","href":"/api-reference/account/usage/byday"},{"title":"List usage events","deprecated":null,"version":null,"sidebarTitle":"List usage events","openapi":"/openapi.json get /v1/usage/events","href":"/api-reference/account/usage/events"}]}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/connect-ai"}]}]},"basePath":"","title":"Get variation stats - Alura API","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}