{
"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"
}
{
"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"
}
{
"type": "https://docs.alura.io/errors/etsy_changed",
"title": "Data temporarily unavailable",
"status": 502,
"code": "etsy_changed",
"detail": "Data temporarily unavailable",
"suggestion": "This data is temporarily unavailable; Alura has been alerted. Retry later.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/base_unverifiable",
"title": "Base not verifiable",
"status": 503,
"code": "base_unverifiable",
"detail": "Base not verifiable",
"suggestion": "Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/upstream_timeout",
"title": "Timed out",
"status": 504,
"code": "upstream_timeout",
"detail": "Timed out",
"suggestion": "A read is safe to retry after Retry-After. If it keeps failing, narrow the request or report the request_id. Never resend a write whose result is unknown.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
Etsy Sales
List promotions
List your shop’s Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started.
{
"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"
}
{
"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"
}
{
"type": "https://docs.alura.io/errors/etsy_changed",
"title": "Data temporarily unavailable",
"status": 502,
"code": "etsy_changed",
"detail": "Data temporarily unavailable",
"suggestion": "This data is temporarily unavailable; Alura has been alerted. Retry later.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/base_unverifiable",
"title": "Base not verifiable",
"status": 503,
"code": "base_unverifiable",
"detail": "Base not verifiable",
"suggestion": "Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/upstream_timeout",
"title": "Timed out",
"status": 504,
"code": "upstream_timeout",
"detail": "Timed out",
"suggestion": "A read is safe to retry after Retry-After. If it keeps failing, narrow the request or report the request_id. Never resend a write whose result is unknown.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
Cost: 1 API credit per page.
Needs the seller’s Chrome open somewhere, with the Alura extension and signed in to Etsy for this shop. The script or agent can run on another computer. An offline extension answers extension_offline; the live status can name a more specific connection problem. Errors cost no API credits. See Chrome extension.
Needs the promotions:read scope. Nothing is stored. Promotions come newest start first, 20 a page. For order revenue, use Get shop stats.
Filter promotions
To find
Use
Promotions in a state
status: active (running now), scheduled (starts later) or ended
One kind of promotion
type: sale (a public sale buyers see on listings), coupon (a code buyers enter) or automated_offer (a code Etsy sends buyers for the seller)
Read a promotion
start_day and end_day are the dates Etsy’s own pages show. Etsy’s days are US Eastern for every shop.
A promotion ended early keeps its start, so its end can come before its start (ended_early).
A sale’s scope is shop or listings. Etsy doesn’t say which listings.
stats is null when Etsy sends results in a shape Alura hasn’t verified. summary.stats_status says so.
A complete list or none
Etsy pages the list in no date order, so Alura reads all of it. A read Etsy serves short, or with one promotion Alura can’t read, answers 502etsy_changed, never a shorter list.
Limits
429live_rate_limited means the shop had too many live reads: more than 2 at a time or 30 a minute. Wait for Retry-After.The list is one live read. Its later pages are kept 10 minutes for the cursor, and an expired cursor answers 400invalid_cursor.An empty page and every failure are free. See Credits and limits.
Authorizations
Authorization
string
header
required
An API key: Authorization: Bearer alura_sk_....
Query Parameters
shop_id
string
The Etsy shop ID of one of the workspace's connected shops; optional when the workspace has one.
Pattern: ^[0-9]{1,20}$
Example:
"22841907"
status
enum<string>
Only promotions in this state: active (running now), scheduled (starts later) or ended.
Available options:
active,
scheduled,
ended
Example:
"active"
type
enum<string>
Only this kind: sale (a public sale buyers see on listings), coupon (a code buyers enter) or automated_offer (a code Etsy sends buyers for the seller).
Available options:
sale,
coupon,
automated_offer
limit
integer
Page size: at most 20, the default. A larger whole number gets 20 rows and limit_applied.
Required range: x >= 1
cursor
string
The next_cursor of the previous page. Bound to the query, the workspace and the key.
fields
string
Comma-separated dotted paths to return; id, object and as_of always come back.
Response
OK
object
string
required
Allowed value: "list"
data
object[]
required
Show child attributes
has_more
boolean
required
next_cursor
string | null
required
total
object
required
Show child attributes
summary
object
required
Show child attributes
limit_applied
integer
Present only when limit asked for more than 20: the page size used instead, 20.
{"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":"6b03642e44961eaca6db4173","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API reference","count":199},{"language":"default","tag":"Your shop","count":89},{"language":"default","tag":"Chrome extension","count":51},{"language":"default","tag":"Research","count":37},{"language":"default","tag":"Documentation","count":36},{"language":"default","tag":"Shop","count":34},{"language":"default","tag":"Knowledge","count":21},{"language":"default","tag":"Etsy Ads","count":20},{"language":"default","tag":"Etsy","count":16},{"language":"default","tag":"MCP","count":15}]},"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","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/promotions/search","slug":"/api-reference/workspace/promotions/search","pageMetadata":{"title":"List promotions","description":"List your shop's Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started.","deprecated":null,"version":null,"sidebarTitle":"List promotions","openapi":"/openapi.json get /v1/workspace/promotions","href":"/api-reference/workspace/promotions/search","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: \"List your shop’s Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started.\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;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 page.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Needs the seller’s Chrome open somewhere, with the Alura extension and signed in to Etsy for this shop. The script or agent can run on another computer. An offline extension answers `,_jsx(_components.a,{href:`/errors/extension_offline`,children:_jsx(_components.code,{children:`extension_offline`})}),`; the `,_jsx(_components.a,{href:`/api-reference/workspace/shops/live/get`,children:`live status`}),` can name a more specific connection problem. Errors cost no API credits. See `,_jsx(_components.a,{href:`/api-reference/chrome-extension`,children:`Chrome extension`}),`.`]})}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,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:`5`,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/promotions\"`}),_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:` \"shop_id=22841907\"`}),_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:` \"status=active\"`}),_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:` \"type=coupon\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Needs the `,_jsx(_components.code,{children:`promotions:read`}),` scope. Nothing is stored. Promotions come newest start first, 20 a page. For order revenue, use `,_jsx(_components.a,{href:`/api-reference/workspace/stats/get`,children:`Get shop stats`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`filter-promotions`,children:`Filter promotions`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`To find`}),_jsx(_components.th,{children:`Use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Promotions in a state`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`status`}),`: `,_jsx(_components.code,{children:`active`}),` (running now), `,_jsx(_components.code,{children:`scheduled`}),` (starts later) or `,_jsx(_components.code,{children:`ended`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`One kind of promotion`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`type`}),`: `,_jsx(_components.code,{children:`sale`}),` (a public sale buyers see on listings), `,_jsx(_components.code,{children:`coupon`}),` (a code buyers enter) or `,_jsx(_components.code,{children:`automated_offer`}),` (a code Etsy sends buyers for the seller)`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`read-a-promotion`,children:`Read a promotion`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`start_day`}),` and `,_jsx(_components.code,{children:`end_day`}),` are the dates Etsy’s own pages show. Etsy’s days are US Eastern for every shop.`]}),`\n`,_jsxs(_components.li,{children:[`A promotion ended early keeps its start, so its end can come before its start (`,_jsx(_components.code,{children:`ended_early`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`A sale’s `,_jsx(_components.code,{children:`scope`}),` is `,_jsx(_components.code,{children:`shop`}),` or `,_jsx(_components.code,{children:`listings`}),`. Etsy doesn’t say which listings.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`stats`}),` is `,_jsx(_components.code,{children:`null`}),` when Etsy sends results in a shape Alura hasn’t verified. `,_jsx(_components.code,{children:`summary.stats_status`}),` says so.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`a-complete-list-or-none`,children:`A complete list or none`}),`\n`,_jsxs(_components.p,{children:[`Etsy pages the list in no date order, so Alura reads all of it. A read Etsy serves short, or with one promotion Alura can’t read, answers `,_jsx(_components.code,{children:`502`}),` `,_jsx(_components.a,{href:`/errors/etsy_changed`,children:_jsx(_components.code,{children:`etsy_changed`})}),`, never a shorter list.`]}),`\n`,_jsx(Heading,{level:`2`,id:`limits`,children:`Limits`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`429`}),` `,_jsx(_components.a,{href:`/errors/live_rate_limited`,children:_jsx(_components.code,{children:`live_rate_limited`})}),` means the shop had too many live reads: more than 2 at a time or 30 a minute. Wait for `,_jsx(_components.code,{children:`Retry-After`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The list is one live read. Its later pages are kept 10 minutes for the cursor, and an expired cursor answers `,_jsx(_components.code,{children:`400`}),` `,_jsx(_components.a,{href:`/errors/invalid_cursor`,children:_jsx(_components.code,{children:`invalid_cursor`})}),`.`]}),`\n`,_jsxs(_components.p,{children:[`An empty page and every failure are free. See `,_jsx(_components.a,{href:`/api-reference/credits-and-limits`,children:`Credits and limits`}),`.`]})]})}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":"List promotions","description":"List your shop's Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started.","deprecated":null,"version":null,"sidebarTitle":"List promotions","openapi":"/openapi.json get /v1/workspace/promotions","href":"/api-reference/workspace/promotions/search","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Filter promotions","slug":"filter-promotions","depth":2,"children":[]},{"title":"Read a promotion","slug":"read-a-promotion","depth":2,"children":[]},{"title":"A complete list or none","slug":"a-complete-list-or-none","depth":2,"children":[]},{"title":"Limits","slug":"limits","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"workspace.promotions.search","summary":"List promotions","description":"List your shop's Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started.","parameters":["74f35e27-7f64-49a9-9232-53a3660642a3","ab0f64e1-768b-4a3b-82e5-e10a347eee81","c3883566-65cc-48d9-8b3e-05c1c57c38d5","b47a91be-2c69-4874-aa09-c58cda726ea2","03482736-552c-44ae-95c3-3e572c423de1","eef70253-155d-4e19-b6ce-99922a080e8c"],"responses":{"200":"7f711a4d-5cdc-4db6-a284-11c6df226899","400":"57238809-ec26-421f-aece-498049e0a96b","401":"6e700b50-ec3a-4069-8237-4a19dd4e1064","402":"c218c834-23ab-4857-aeef-abe558e55b54","403":"55afb687-6ca6-4e36-8970-3c0349681d04","404":"4148ce26-5ca0-450d-af5f-6c3e83003301","405":"fe621d3b-c231-41df-ad7e-36906babf794","409":"85668b99-7ee8-4d7f-85ec-e98672497cd3","429":"8cc5e29e-96ee-444c-8bad-2e8982129f17","500":"c01de264-6d12-4d62-b709-5f507a0bae47","502":"79832dfb-7745-4ca2-8be0-be4c190181f1","503":"45bd8a74-b576-4797-ac21-6cba6a44430e","504":"7eda175e-1b56-41d1-8da4-cb34700ab453"},"x-alura-credits":{"credits":1,"unit":"page"},"x-alura-scopes":["promotions:read"],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl \"https://api.alura.io/v1/workspace/promotions?shop_id=22841907\u0026status=active\" \\\n -H \"Authorization: Bearer $ALURA_API_KEY\""},{"lang":"typescript","label":"TypeScript","source":"const res = await fetch('https://api.alura.io/v1/workspace/promotions?shop_id=22841907\u0026status=active', {\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/promotions?shop_id=22841907\u0026status=active\",\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/promotions/search","metadata":{"sidebarTitle":"List promotions","description":"List your shop's Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started."},"content":"**Cost:** 1 API credit per page.\n\n\u003cNote>\nNeeds the seller's Chrome open somewhere, with the Alura extension and signed in to Etsy for this shop. The script or agent can run on another computer. An offline extension answers [`extension_offline`](/errors/extension_offline); the [live status](/api-reference/workspace/shops/live/get) can name a more specific connection problem. Errors cost no API credits. See [Chrome extension](/api-reference/chrome-extension).\n\u003c/Note>\n\n```bash\ncurl -G \"https://api.alura.io/v1/workspace/promotions\" \\\n -H \"Authorization: Bearer $ALURA_API_KEY\" \\\n --data-urlencode \"shop_id=22841907\" \\\n --data-urlencode \"status=active\" \\\n --data-urlencode \"type=coupon\"\n```\n\nNeeds the `promotions:read` scope. Nothing is stored. Promotions come newest start first, 20 a page. For order revenue, use [Get shop stats](/api-reference/workspace/stats/get).\n\n## Filter promotions\n\n| To find | Use |\n|---|---|\n| Promotions in a state | `status`: `active` (running now), `scheduled` (starts later) or `ended` |\n| One kind of promotion | `type`: `sale` (a public sale buyers see on listings), `coupon` (a code buyers enter) or `automated_offer` (a code Etsy sends buyers for the seller) |\n\n## Read a promotion\n\n- `start_day` and `end_day` are the dates Etsy's own pages show. Etsy's days are US Eastern for every shop.\n- A promotion ended early keeps its start, so its end can come before its start (`ended_early`).\n- A sale's `scope` is `shop` or `listings`. Etsy doesn't say which listings.\n- `stats` is `null` when Etsy sends results in a shape Alura hasn't verified. `summary.stats_status` says so.\n\n## A complete list or none\n\nEtsy pages the list in no date order, so Alura reads all of it. A read Etsy serves short, or with one promotion Alura can't read, answers `502` [`etsy_changed`](/errors/etsy_changed), never a shorter list.\n\n## Limits\n\n`429` [`live_rate_limited`](/errors/live_rate_limited) means the shop had too many live reads: more than 2 at a time or 30 a minute. Wait for `Retry-After`.\n\nThe list is one live read. Its later pages are kept 10 minutes for the cursor, and an expired cursor answers `400` [`invalid_cursor`](/errors/invalid_cursor).\n\nAn empty page and every failure are free. See [Credits and limits](/api-reference/credits-and-limits)."},"method":"get","type":"path","servers":["616e7fd8-7d97-4980-bf47-ea03e1349236"],"security":["2aa7a7e0-c8b1-479f-b276-7bae04f815a2"],"path":"/v1/workspace/promotions","baseUrlOptions":["https://api.alura.io"],"title":"List promotions","codeSamples":[{"label":"cURL","lang":"bash","source":"curl \"https://api.alura.io/v1/workspace/promotions?shop_id=22841907\u0026status=active\" \\\n -H \"Authorization: Bearer $ALURA_API_KEY\""},{"label":"TypeScript","lang":"typescript","source":"const res = await fetch('https://api.alura.io/v1/workspace/promotions?shop_id=22841907\u0026status=active', {\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/promotions?shop_id=22841907\u0026status=active\",\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":{"74f35e27-7f64-49a9-9232-53a3660642a3":{"name":"shop_id","in":"query","required":false,"description":"The Etsy shop ID of one of the workspace's connected shops; optional when the workspace has one.","schema":{"description":"The Etsy shop ID of one of the workspace's connected shops; optional when the workspace has one.","type":"string","pattern":"^[0-9]{1,20}$","example":"22841907","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"ab0f64e1-768b-4a3b-82e5-e10a347eee81":{"name":"status","in":"query","required":false,"description":"Only promotions in this state: `active` (running now), `scheduled` (starts later) or `ended`.","schema":{"description":"Only promotions in this state: `active` (running now), `scheduled` (starts later) or `ended`.","type":"string","enum":["active","scheduled","ended"],"example":"active","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"c3883566-65cc-48d9-8b3e-05c1c57c38d5":{"name":"type","in":"query","required":false,"description":"Only this kind: `sale` (a public sale buyers see on listings), `coupon` (a code buyers enter) or `automated_offer` (a code Etsy sends buyers for the seller).","schema":{"description":"Only this kind: `sale` (a public sale buyers see on listings), `coupon` (a code buyers enter) or `automated_offer` (a code Etsy sends buyers for the seller).","type":"string","enum":["sale","coupon","automated_offer"],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"b47a91be-2c69-4874-aa09-c58cda726ea2":{"name":"limit","in":"query","required":false,"description":"Page size: at most 20, the default. A larger whole number gets 20 rows and `limit_applied`.","schema":{"type":"integer","minimum":1,"isRequired":false,"description":"Page size: at most 20, the default. A larger whole number gets 20 rows and `limit_applied`.","uniqueKey":"","typeLabel":"integer"}},"03482736-552c-44ae-95c3-3e572c423de1":{"name":"cursor","in":"query","required":false,"description":"The `next_cursor` of the previous page. Bound to the query, the workspace and the key.","schema":{"type":"string","isRequired":false,"description":"The `next_cursor` of the previous page. Bound to the query, the workspace and the key.","uniqueKey":"","typeLabel":"string"}},"eef70253-155d-4e19-b6ce-99922a080e8c":{"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":{"7f711a4d-5cdc-4db6-a284-11c6df226899":{"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":"list","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"data":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","const":"workspace.promotion","isRequired":true,"uniqueKey":"data.items.[INDEX].object","typeLabel":"string"},"id":{"type":"string","description":"The promotion's Etsy ID, as a string.","isRequired":true,"uniqueKey":"data.items.[INDEX].id","typeLabel":"string"},"shop_id":{"type":"string","isRequired":true,"uniqueKey":"data.items.[INDEX].shop_id","typeLabel":"string"},"name":{"oneOf":[{"description":"The name the seller gave it: a coupon's code, or a sale's name. null when Etsy sent none Alura can read.","type":"string","isRequired":true,"uniqueKey":"data.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"description":"The name the seller gave it: a coupon's code, or a sale's name. null when Etsy sent none Alura can read.","type":"null","isRequired":true,"uniqueKey":"data.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].name","typeLabel":"string | null"},"type":{"type":"string","enum":["sale","coupon","automated_offer"],"description":"`sale`, `coupon` or `automated_offer`.","isRequired":true,"uniqueKey":"data.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["active","scheduled","ended"],"description":"`active`, `scheduled` or `ended`, at `fetched_at`. A sale or coupon by its dates; an automated offer by Etsy's own on/off state for it (stopping one is final).","isRequired":true,"uniqueKey":"data.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"scope":{"oneOf":[{"type":"string","description":"Sales only: `shop` (every listing) or `listings` (listings the seller picked; Etsy does not say which here); `unknown` when Etsy named another kind, never read as the whole shop. null for coupons and offers.","enum":["shop","listings","unknown"],"isRequired":true,"uniqueKey":"data.items.[INDEX].scope.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Sales only: `shop` (every listing) or `listings` (listings the seller picked; Etsy does not say which here); `unknown` when Etsy named another kind, never read as the whole shop. null for coupons and offers.","isRequired":true,"uniqueKey":"data.items.[INDEX].scope.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].scope","typeLabel":"enum\u003cstring> | null"},"offer_trigger":{"oneOf":[{"type":"string","description":"Automated offers only: what makes Etsy send it (`abandoned_basket`, `favorited`, `thank_you`, `interested_shopper`, or `other`). null for sales and coupons.","enum":["abandoned_basket","favorited","thank_you","interested_shopper","other"],"isRequired":true,"uniqueKey":"data.items.[INDEX].offer_trigger.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Automated offers only: what makes Etsy send it (`abandoned_basket`, `favorited`, `thank_you`, `interested_shopper`, or `other`). null for sales and coupons.","isRequired":true,"uniqueKey":"data.items.[INDEX].offer_trigger.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].offer_trigger","typeLabel":"enum\u003cstring> | null"},"percent_off":{"oneOf":[{"description":"The discount in percent (20 for 20% off); null when it is not a percentage (an amount off, free delivery) or Etsy did not say.","type":"number","isRequired":true,"uniqueKey":"data.items.[INDEX].percent_off.oneOf.0","typeLabel":"number"},{"description":"The discount in percent (20 for 20% off); null when it is not a percentage (an amount off, free delivery) or Etsy did not say.","type":"null","isRequired":true,"uniqueKey":"data.items.[INDEX].percent_off.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].percent_off","typeLabel":"number | null"},"starts_at":{"type":"string","description":"When it starts (ISO 8601, UTC).","isRequired":true,"uniqueKey":"data.items.[INDEX].starts_at","typeLabel":"string"},"ends_at":{"oneOf":[{"type":"string","description":"When it ends; null for one with no end date. A promotion ended early ends when it was ended, which can be before `starts_at`.","isRequired":true,"uniqueKey":"data.items.[INDEX].ends_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When it ends; null for one with no end date. A promotion ended early ends when it was ended, which can be before `starts_at`.","isRequired":true,"uniqueKey":"data.items.[INDEX].ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].ends_at","typeLabel":"string | null"},"start_day":{"type":"string","description":"The day it starts on Etsy's calendar (US Eastern for every shop), as Etsy's own pages show it.","isRequired":true,"uniqueKey":"data.items.[INDEX].start_day","typeLabel":"string"},"end_day":{"oneOf":[{"type":"string","description":"The day it ends on Etsy's calendar; null with `ends_at`.","isRequired":true,"uniqueKey":"data.items.[INDEX].end_day.oneOf.0","typeLabel":"string"},{"type":"null","description":"The day it ends on Etsy's calendar; null with `ends_at`.","isRequired":true,"uniqueKey":"data.items.[INDEX].end_day.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].end_day","typeLabel":"string | null"},"ended_early":{"type":"boolean","description":"Whether the seller ended it before it started (its end is before its start): it never ran.","isRequired":true,"uniqueKey":"data.items.[INDEX].ended_early","typeLabel":"boolean"},"stats":{"oneOf":[{"type":"object","description":"Its results since it started; null when Etsy gave none for it, or gave them in a shape Alura has not verified (`summary.stats_status`).","required":["uses","revenue","offers_sent"],"properties":{"uses":{"oneOf":[{"type":"integer","description":"Orders that used it; null when Etsy did not give it.","isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.uses.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Orders that used it; null when Etsy did not give it.","isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.uses.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.uses","typeLabel":"integer | null"},"revenue":{"oneOf":[{"type":"object","description":"Revenue from those orders; null when Etsy did not give it in a currency with cents.","required":["amount","currency"],"properties":{"amount":{"type":"string","description":"Decimal string with the currency's decimals.","isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.revenue.oneOf.0.amount","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217. Etsy Ads money (budget, spend, revenue) is `USD` for every shop, whatever the shop's own currency; a listing's price is in the currency Etsy names for it.","isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.revenue.oneOf.0.currency","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.revenue.oneOf.0","typeLabel":"object"},{"type":"null","description":"Revenue from those orders; null when Etsy did not give it in a currency with cents.","isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.revenue.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.revenue","typeLabel":"object | null"},"offers_sent":{"oneOf":[{"type":"integer","description":"Automated offers only: offers Etsy sent to buyers; null for other promotions or when Etsy did not give it.","isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.offers_sent.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Automated offers only: offers Etsy sent to buyers; null for other promotions or when Etsy did not give it.","isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.offers_sent.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0.offers_sent","typeLabel":"integer | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.0","typeLabel":"object"},{"type":"null","description":"Its results since it started; null when Etsy gave none for it, or gave them in a shape Alura has not verified (`summary.stats_status`).","isRequired":true,"uniqueKey":"data.items.[INDEX].stats.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].stats","typeLabel":"object | null"}},"required":["object","id","shop_id","name","type","status","scope","offer_trigger","percent_off","starts_at","ends_at","start_day","end_day","ended_early","stats"],"additionalProperties":false,"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data","typeLabel":"object[]"},"has_more":{"type":"boolean","isRequired":true,"uniqueKey":"has_more","typeLabel":"boolean"},"next_cursor":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"next_cursor.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"next_cursor.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"next_cursor","typeLabel":"string | null"},"total":{"type":"object","properties":{"value":{"type":"integer","isRequired":true,"uniqueKey":"total.value","typeLabel":"integer"},"relation":{"type":"string","enum":["eq","gte"],"isRequired":true,"uniqueKey":"total.relation","typeLabel":"enum\u003cstring>"}},"required":["value","relation"],"additionalProperties":false,"isRequired":true,"uniqueKey":"total","typeLabel":"object"},"summary":{"type":"object","properties":{"shop_id":{"type":"string","isRequired":true,"uniqueKey":"summary.shop_id","typeLabel":"string"},"promotions_count":{"type":"integer","description":"How many promotions Etsy holds for the shop, every kind and state (before the filters): sales, coupons and automated offers.","isRequired":true,"uniqueKey":"summary.promotions_count","typeLabel":"integer"},"stats_status":{"type":"string","enum":["served","shape_unverified","not_sent"],"description":"`served`: Etsy sent results in the shape Alura reads; `shape_unverified`: Etsy sent them in a newer shape Alura has not verified yet, so every `stats` is null rather than guessed; `not_sent`: Etsy sent none.","isRequired":true,"uniqueKey":"summary.stats_status","typeLabel":"enum\u003cstring>"},"fetched_at":{"type":"string","description":"When Alura read it from Etsy.","isRequired":true,"uniqueKey":"summary.fetched_at","typeLabel":"string"},"source":{"type":"string","const":"live","description":"Live Etsy data (needs Chrome open with the Alura extension, logged into Etsy).","isRequired":true,"uniqueKey":"summary.source","typeLabel":"string"}},"required":["shop_id","promotions_count","stats_status","fetched_at","source"],"additionalProperties":false,"isRequired":true,"uniqueKey":"summary","typeLabel":"object"},"limit_applied":{"description":"Present only when `limit` asked for more than 20: the page size used instead, 20.","type":"integer","uniqueKey":"limit_applied","typeLabel":"integer"}},"required":["object","data","has_more","next_cursor","total","summary"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"object":"list","data":[{"object":"workspace.promotion","id":"1507646063801","shop_id":"22841907","name":"OCTOBER20","type":"sale","status":"active","scope":"shop","offer_trigger":null,"percent_off":20,"starts_at":"2026-10-15T04:00:00.000Z","ends_at":"2026-10-20T03:59:59.000Z","start_day":"2026-10-15","end_day":"2026-10-19","ended_early":false,"stats":{"uses":12,"revenue":{"amount":"415.80","currency":"USD"},"offers_sent":null}},{"object":"workspace.promotion","id":"1507646063803","shop_id":"22841907","name":"WELCOME10","type":"coupon","status":"active","scope":null,"offer_trigger":null,"percent_off":10,"starts_at":"2026-01-05T05:00:00.000Z","ends_at":null,"start_day":"2026-01-05","end_day":null,"ended_early":false,"stats":null},{"object":"workspace.promotion","id":"1507646063804","shop_id":"22841907","name":"COMEBACK","type":"automated_offer","status":"active","scope":null,"offer_trigger":"abandoned_basket","percent_off":10,"starts_at":"2025-06-01T04:00:00.000Z","ends_at":null,"start_day":"2025-06-01","end_day":null,"ended_early":false,"stats":{"uses":9,"revenue":{"amount":"302.40","currency":"USD"},"offers_sent":640}}],"has_more":false,"next_cursor":null,"total":{"value":3,"relation":"eq"},"summary":{"shop_id":"22841907","promotions_count":5,"stats_status":"served","fetched_at":"2026-10-17T12:00:00.000Z","source":"live"}},"examples":{"Example":{"title":"Example","value":{"object":"list","data":[{"object":"workspace.promotion","id":"1507646063801","shop_id":"22841907","name":"OCTOBER20","type":"sale","status":"active","scope":"shop","offer_trigger":null,"percent_off":20,"starts_at":"2026-10-15T04:00:00.000Z","ends_at":"2026-10-20T03:59:59.000Z","start_day":"2026-10-15","end_day":"2026-10-19","ended_early":false,"stats":{"uses":12,"revenue":{"amount":"415.80","currency":"USD"},"offers_sent":null}},{"object":"workspace.promotion","id":"1507646063803","shop_id":"22841907","name":"WELCOME10","type":"coupon","status":"active","scope":null,"offer_trigger":null,"percent_off":10,"starts_at":"2026-01-05T05:00:00.000Z","ends_at":null,"start_day":"2026-01-05","end_day":null,"ended_early":false,"stats":null},{"object":"workspace.promotion","id":"1507646063804","shop_id":"22841907","name":"COMEBACK","type":"automated_offer","status":"active","scope":null,"offer_trigger":"abandoned_basket","percent_off":10,"starts_at":"2025-06-01T04:00:00.000Z","ends_at":null,"start_day":"2025-06-01","end_day":null,"ended_early":false,"stats":{"uses":9,"revenue":{"amount":"302.40","currency":"USD"},"offers_sent":640}}],"has_more":false,"next_cursor":null,"total":{"value":3,"relation":"eq"},"summary":{"shop_id":"22841907","promotions_count":5,"stats_status":"served","fetched_at":"2026-10-17T12:00:00.000Z","source":"live"}}}},"exampleType":"examples"}},"exampleType":"examples"},"57238809-ec26-421f-aece-498049e0a96b":{"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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"},"6e700b50-ec3a-4069-8237-4a19dd4e1064":{"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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"},"c218c834-23ab-4857-aeef-abe558e55b54":{"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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"},"55afb687-6ca6-4e36-8970-3c0349681d04":{"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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"},"4148ce26-5ca0-450d-af5f-6c3e83003301":{"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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"},"fe621d3b-c231-41df-ad7e-36906babf794":{"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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"},"85668b99-7ee8-4d7f-85ec-e98672497cd3":{"description":"Error. `etsy_shop_mismatch` carries `state`, `holder`, `last_served_at`, `action`. `holder_offline` carries `shop_id`, `state`, `holder`, `last_served_at`, `action`. `login_expired` carries `shop_id`, `state`, `holder`, `last_served_at`, `action`. `never_connected` carries `shop_id`, `state`, `holder`, `last_served_at`, `action`.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","required":["type","title","status","code","detail","suggestion","retryable","request_id"],"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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>"},"shop_id":{"description":"The Etsy shop ID Alura read for.","type":"string","uniqueKey":"shop_id","typeLabel":"string"},"state":{"description":"The shop's live state, the same as GET /v1/workspace/live shows for it.","type":"string","enum":["login_expired","etsy_shop_mismatch","holder_offline","never_connected","saved_shops_off"],"uniqueKey":"state","typeLabel":"enum\u003cstring>"},"holder":{"oneOf":[{"type":"object","description":"The browser the state is about; null when none holds the shop, or it is not known.","required":["label","last_seen_at"],"properties":{"label":{"type":"string","description":"The browser's name, as Settings lists it (\"Chrome on macOS · 64NN\").","isRequired":true,"uniqueKey":"holder.oneOf.0.label","typeLabel":"string"},"last_seen_at":{"oneOf":[{"description":"When it was last online (ISO 8601); null when unknown.","type":"string","isRequired":true,"uniqueKey":"holder.oneOf.0.last_seen_at.oneOf.0","typeLabel":"string"},{"description":"When it was last online (ISO 8601); null when unknown.","type":"null","isRequired":true,"uniqueKey":"holder.oneOf.0.last_seen_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"holder.oneOf.0.last_seen_at","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"holder.oneOf.0","typeLabel":"object"},{"type":"null","description":"The browser the state is about; null when none holds the shop, or it is not known.","uniqueKey":"holder.oneOf.1","typeLabel":"null"}],"uniqueKey":"holder","typeLabel":"object | null"},"last_served_at":{"oneOf":[{"description":"When a browser last served this shop (ISO 8601); null when none did.","type":"string","uniqueKey":"last_served_at.oneOf.0","typeLabel":"string"},{"description":"When a browser last served this shop (ISO 8601); null when none did.","type":"null","uniqueKey":"last_served_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"last_served_at","typeLabel":"string | null"},"action":{"description":"What fixes it, in one sentence for the seller.","type":"string","uniqueKey":"action","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>","suggestion":"\u003cstring>","retryable":true,"request_id":"\u003cstring>","upgrade_url":"\u003cstring>","credits_needed":123,"credits_remaining":123,"resets_at":"2023-11-07T05:31:56Z","shop_id":"\u003cstring>","state":"login_expired","holder":{"label":"\u003cstring>","last_seen_at":"\u003cstring>"},"last_served_at":"\u003cstring>","action":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"8cc5e29e-96ee-444c-8bad-2e8982129f17":{"description":"Error. `live_rate_limited` carries `retry_after_seconds`. `etsy_rate_limited` carries `retry_after_seconds`.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","required":["type","title","status","code","detail","suggestion","retryable","request_id"],"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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>"},"retry_after_seconds":{"type":"integer","minimum":1,"description":"Seconds to wait before retrying, the same as the Retry-After header.","uniqueKey":"retry_after_seconds","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>","suggestion":"\u003cstring>","retryable":true,"request_id":"\u003cstring>","upgrade_url":"\u003cstring>","credits_needed":123,"credits_remaining":123,"resets_at":"2023-11-07T05:31:56Z","retry_after_seconds":2}}},"exampleType":"generated"}},"exampleType":"generated"},"c01de264-6d12-4d62-b709-5f507a0bae47":{"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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"},"79832dfb-7745-4ca2-8be0-be4c190181f1":{"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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/etsy_changed","title":"Data temporarily unavailable","status":502,"code":"etsy_changed","detail":"Data temporarily unavailable","suggestion":"This data is temporarily unavailable; Alura has been alerted. Retry later.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/etsy_changed","title":"Data temporarily unavailable","status":502,"code":"etsy_changed","detail":"Data temporarily unavailable","suggestion":"This data is temporarily unavailable; Alura has been alerted. Retry later.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"45bd8a74-b576-4797-ac21-6cba6a44430e":{"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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/base_unverifiable","title":"Base not verifiable","status":503,"code":"base_unverifiable","detail":"Base not verifiable","suggestion":"Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/base_unverifiable","title":"Base not verifiable","status":503,"code":"base_unverifiable","detail":"Base not verifiable","suggestion":"Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"7eda175e-1b56-41d1-8da4-cb34700ab453":{"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","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","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","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","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","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_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/upstream_timeout","title":"Timed out","status":504,"code":"upstream_timeout","detail":"Timed out","suggestion":"A read is safe to retry after Retry-After. If it keeps failing, narrow the request or report the request_id. Never resend a write whose result is unknown.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/upstream_timeout","title":"Timed out","status":504,"code":"upstream_timeout","detail":"Timed out","suggestion":"A read is safe to retry after Retry-After. If it keeps failing, narrow the request or report the request_id. Never resend a write whose result is unknown.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2aa7a7e0-c8b1-479f-b276-7bae04f815a2":{"apiKey":{"type":"http","scheme":"bearer","description":"An API key: `Authorization: Bearer alura_sk_...`.","scopes":[],"schemeName":"apiKey"}}},"servers":{"616e7fd8-7d97-4980-bf47-ea03e1349236":{"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":"List promotions - Alura API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-22T21:53:07.762Z","originalFileLocation":"api-reference/workspace/promotions/search.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=\"List your shop\u0026#x27;s Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started.\">\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=\"List promotions - Alura API\">\u003cmeta data-mint-head property=\"og:description\" content=\"List your shop\u0026#x27;s Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started.\">\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/promotions/search\">\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=Etsy+Sales\u0026amp;title=List+promotions\u0026amp;description=List+your+shop%27s+Etsy+Sales+and+Discounts%2C+read+live+from+Etsy%3A+public+sales%2C+coupon+codes+and+automated+offers%2C+with+their+status%2C+discount%2C+dates+and+results+\u0026amp;theme=1370fe7ac0b7d5ece8a1136a\u0026amp;signature=2fc50038971c5f42e83655b4bf22e129633c20994b56277cabbf5a69b9132f4b\">\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=\"List promotions - Alura API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List your shop\u0026#x27;s Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://alura.mintlify.site/_mintlify/api/og/v2?division=Etsy+Sales\u0026amp;title=List+promotions\u0026amp;description=List+your+shop%27s+Etsy+Sales+and+Discounts%2C+read+live+from+Etsy%3A+public+sales%2C+coupon+codes+and+automated+offers%2C+with+their+status%2C+discount%2C+dates+and+results+\u0026amp;theme=1370fe7ac0b7d5ece8a1136a\u0026amp;signature=2fc50038971c5f42e83655b4bf22e129633c20994b56277cabbf5a69b9132f4b\">\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/promotions/search\">\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/promotions/search.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/promotions/search#webpage\",\"url\":\"https://docs.alura.io/api-reference/workspace/promotions/search\",\"name\":\"List promotions\",\"description\":\"List your shop's Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started.\",\"dateModified\":\"2026-11-22T21:53:07.762Z\",\"isPartOf\":{\"@id\":\"https://docs.alura.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.alura.io/api-reference/workspace/promotions/search#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.alura.io/api-reference/workspace/promotions/search#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Chrome extension\",\"item\":\"https://docs.alura.io/api-reference/chrome-extension\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List promotions\",\"item\":\"https://docs.alura.io/api-reference/workspace/promotions/search\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.alura.io/api-reference/workspace/promotions/search#apireference\",\"headline\":\"List promotions\",\"name\":\"List promotions\",\"description\":\"List your shop's Etsy Sales and Discounts, read live from Etsy: public sales, coupon codes and automated offers, with their status, discount, dates and results since each started.\",\"url\":\"https://docs.alura.io/api-reference/workspace/promotions/search\",\"mainEntityOfPage\":{\"@id\":\"https://docs.alura.io/api-reference/workspace/promotions/search#webpage\"},\"dateModified\":\"2026-11-22T21:53:07.762Z\",\"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/promotions/search.md","siteName":"Alura API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"group":"Get started","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","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"},{"title":"List ledger entries","deprecated":null,"version":null,"sidebarTitle":"List ledger entries","openapi":"/openapi.json get /v1/workspace/ledger","href":"/api-reference/workspace/ledger/list"}]},{"group":"Listings","pages":[{"title":"Search listings","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":"Customer service","pages":[{"title":"Get customer service","deprecated":null,"version":null,"sidebarTitle":"Get customer service","openapi":"/openapi.json get /v1/workspace/customer-service","href":"/api-reference/workspace/customer_service/get"},{"title":"List service history","deprecated":null,"version":null,"sidebarTitle":"List service history","openapi":"/openapi.json get /v1/workspace/customer-service/history","href":"/api-reference/workspace/customer_service/history"}]},{"group":"API contract","pages":[{"title":"Get API contract","deprecated":null,"version":null,"sidebarTitle":"Get API contract","openapi":"/openapi.json get /v1/workspace/openapi.json","href":"/api-reference/workspace/openapi/get"}]},{"group":"Knowledge","pages":[{"title":"List saved replies","deprecated":null,"version":null,"sidebarTitle":"List saved replies","openapi":"/openapi.json get /v1/workspace/conversations/saved-replies","href":"/api-reference/workspace/conversations/savedreplies"},{"title":"Get voice","deprecated":null,"version":null,"sidebarTitle":"Get voice","openapi":"/openapi.json get /v1/workspace/knowledge/voice","href":"/api-reference/workspace/knowledge/voice/get"},{"title":"Update voice","deprecated":null,"version":null,"sidebarTitle":"Update voice","openapi":"/openapi.json patch /v1/workspace/knowledge/voice","href":"/api-reference/workspace/knowledge/voice/update"},{"title":"Get shop voice","deprecated":null,"version":null,"sidebarTitle":"Get shop voice","openapi":"/openapi.json get /v1/workspace/knowledge/voice/shops/{shop_id}","href":"/api-reference/workspace/knowledge/shopvoice/get"},{"title":"Update shop voice","deprecated":null,"version":null,"sidebarTitle":"Update shop voice","openapi":"/openapi.json patch /v1/workspace/knowledge/voice/shops/{shop_id}","href":"/api-reference/workspace/knowledge/shopvoice/update"},{"title":"List policies","deprecated":null,"version":null,"sidebarTitle":"List policies","openapi":"/openapi.json get /v1/workspace/knowledge/policies","href":"/api-reference/workspace/knowledge/policies/list"},{"title":"List guidance","deprecated":null,"version":null,"sidebarTitle":"List guidance","openapi":"/openapi.json get /v1/workspace/knowledge/guidance","href":"/api-reference/workspace/knowledge/guidance/list"},{"title":"Get guidance","deprecated":null,"version":null,"sidebarTitle":"Get guidance","openapi":"/openapi.json get /v1/workspace/knowledge/guidance/{id}","href":"/api-reference/workspace/knowledge/guidance/get"},{"title":"Create guidance","deprecated":null,"version":null,"sidebarTitle":"Create guidance","openapi":"/openapi.json post /v1/workspace/knowledge/guidance","href":"/api-reference/workspace/knowledge/guidance/create"},{"title":"Update guidance","deprecated":null,"version":null,"sidebarTitle":"Update guidance","openapi":"/openapi.json patch /v1/workspace/knowledge/guidance/{id}","href":"/api-reference/workspace/knowledge/guidance/update"},{"title":"Delete guidance","deprecated":null,"version":null,"sidebarTitle":"Delete guidance","openapi":"/openapi.json delete /v1/workspace/knowledge/guidance/{id}","href":"/api-reference/workspace/knowledge/guidance/delete"},{"title":"List articles","deprecated":null,"version":null,"sidebarTitle":"List articles","openapi":"/openapi.json get /v1/workspace/knowledge/articles","href":"/api-reference/workspace/knowledge/articles/list"},{"title":"Get article","deprecated":null,"version":null,"sidebarTitle":"Get article","openapi":"/openapi.json get /v1/workspace/knowledge/articles/{id}","href":"/api-reference/workspace/knowledge/articles/get"},{"title":"Create article","deprecated":null,"version":null,"sidebarTitle":"Create article","openapi":"/openapi.json post /v1/workspace/knowledge/articles","href":"/api-reference/workspace/knowledge/articles/create"},{"title":"Update article","deprecated":null,"version":null,"sidebarTitle":"Update article","openapi":"/openapi.json patch /v1/workspace/knowledge/articles/{id}","href":"/api-reference/workspace/knowledge/articles/update"},{"title":"Delete article","deprecated":null,"version":null,"sidebarTitle":"Delete article","openapi":"/openapi.json delete /v1/workspace/knowledge/articles/{id}","href":"/api-reference/workspace/knowledge/articles/delete"},{"title":"Approve guidance","deprecated":null,"version":null,"sidebarTitle":"Approve guidance","openapi":"/openapi.json post /v1/workspace/knowledge/guidance/{id}/approve","href":"/api-reference/workspace/knowledge/guidance/approve"},{"title":"Reject guidance","deprecated":null,"version":null,"sidebarTitle":"Reject guidance","openapi":"/openapi.json post /v1/workspace/knowledge/guidance/{id}/reject","href":"/api-reference/workspace/knowledge/guidance/reject"},{"title":"Approve article","deprecated":null,"version":null,"sidebarTitle":"Approve article","openapi":"/openapi.json post /v1/workspace/knowledge/articles/{id}/approve","href":"/api-reference/workspace/knowledge/articles/approve"},{"title":"Reject article","deprecated":null,"version":null,"sidebarTitle":"Reject article","openapi":"/openapi.json post /v1/workspace/knowledge/articles/{id}/reject","href":"/api-reference/workspace/knowledge/articles/reject"},{"title":"Search knowledge","deprecated":null,"version":null,"sidebarTitle":"Search knowledge","openapi":"/openapi.json post /v1/workspace/knowledge/search","href":"/api-reference/workspace/knowledge/search"}]}]},{"group":"Chrome extension","pages":[{"group":"Get started","pages":[{"title":"Using the Chrome extension","sidebarTitle":"Overview","href":"/api-reference/chrome-extension"},{"title":"Get shop live status","deprecated":null,"version":null,"sidebarTitle":"Get shop live status","openapi":"/openapi.json get /v1/workspace/shops/{shop_id}/live","href":"/api-reference/workspace/shops/live/get"},{"title":"Get live status","deprecated":null,"version":null,"sidebarTitle":"Get live status","openapi":"/openapi.json get /v1/workspace/live","href":"/api-reference/workspace/live/get"}]},{"group":"Etsy Ads","pages":[{"title":"Get Etsy Ads","deprecated":null,"version":null,"sidebarTitle":"Get Etsy Ads","openapi":"/openapi.json get /v1/workspace/ads","href":"/api-reference/workspace/ads/get"},{"title":"Get Etsy Ads stats","deprecated":null,"version":null,"sidebarTitle":"Get Etsy Ads stats","openapi":"/openapi.json get /v1/workspace/ads/stats","href":"/api-reference/workspace/ads/stats"},{"title":"Update Etsy Ads","deprecated":null,"version":null,"sidebarTitle":"Update Etsy Ads","openapi":"/openapi.json patch /v1/workspace/ads","href":"/api-reference/workspace/ads/update"},{"title":"Search ad listings","deprecated":null,"version":null,"sidebarTitle":"Search ad listings","openapi":"/openapi.json get /v1/workspace/ads/listings","href":"/api-reference/workspace/ads/listings/search"},{"title":"Get ad listing","deprecated":null,"version":null,"sidebarTitle":"Get ad listing","openapi":"/openapi.json get /v1/workspace/ads/listings/{listing_id}","href":"/api-reference/workspace/ads/listings/get"},{"title":"Update ad listings","deprecated":null,"version":null,"sidebarTitle":"Update ad listings","openapi":"/openapi.json patch /v1/workspace/ads/listings","href":"/api-reference/workspace/ads/listings/update"},{"title":"List ad search terms","deprecated":null,"version":null,"sidebarTitle":"List ad search terms","openapi":"/openapi.json get /v1/workspace/ads/listings/{listing_id}/search-terms","href":"/api-reference/workspace/ads/listings/searchterms"},{"title":"List ad orders","deprecated":null,"version":null,"sidebarTitle":"List ad orders","openapi":"/openapi.json get /v1/workspace/ads/orders","href":"/api-reference/workspace/ads/orders/search"},{"group":"Ad groups","pages":[{"title":"List ad groups","deprecated":null,"version":null,"sidebarTitle":"List ad groups","openapi":"/openapi.json get /v1/workspace/ads/groups","href":"/api-reference/workspace/ads/groups/list"},{"title":"Create ad group","deprecated":null,"version":null,"sidebarTitle":"Create ad group","openapi":"/openapi.json post /v1/workspace/ads/groups","href":"/api-reference/workspace/ads/groups/create"},{"title":"Rename ad group","deprecated":null,"version":null,"sidebarTitle":"Rename ad group","openapi":"/openapi.json patch /v1/workspace/ads/groups/{group_id}","href":"/api-reference/workspace/ads/groups/rename"},{"title":"Delete ad group","deprecated":null,"version":null,"sidebarTitle":"Delete ad group","openapi":"/openapi.json delete /v1/workspace/ads/groups/{group_id}","href":"/api-reference/workspace/ads/groups/delete"},{"title":"Set listings ad group","deprecated":null,"version":null,"sidebarTitle":"Set listings ad group","openapi":"/openapi.json put /v1/workspace/ads/groups/listings","href":"/api-reference/workspace/ads/groups/listings"}]},{"group":"Optimize","pages":[{"title":"Get optimizer settings","deprecated":null,"version":null,"sidebarTitle":"Get optimizer settings","openapi":"/openapi.json get /v1/workspace/ads/optimize/settings","href":"/api-reference/workspace/ads/optimize/settings/get"},{"title":"Save optimizer settings","deprecated":null,"version":null,"sidebarTitle":"Save optimizer settings","openapi":"/openapi.json put /v1/workspace/ads/optimize/settings","href":"/api-reference/workspace/ads/optimize/settings/put"},{"title":"Preview optimizer run","deprecated":null,"version":null,"sidebarTitle":"Preview optimizer run","openapi":"/openapi.json post /v1/workspace/ads/optimize/runs","href":"/api-reference/workspace/ads/optimize/runs/preview"},{"title":"Get optimizer run","deprecated":null,"version":null,"sidebarTitle":"Get optimizer run","openapi":"/openapi.json get /v1/workspace/ads/optimize/runs/{id}","href":"/api-reference/workspace/ads/optimize/runs/get"},{"title":"List optimizer runs","deprecated":null,"version":null,"sidebarTitle":"List optimizer runs","openapi":"/openapi.json get /v1/workspace/ads/optimize/runs","href":"/api-reference/workspace/ads/optimize/runs/list"},{"title":"Apply optimizer run","deprecated":null,"version":null,"sidebarTitle":"Apply optimizer run","openapi":"/openapi.json post /v1/workspace/ads/optimize/runs/{id}/apply","href":"/api-reference/workspace/ads/optimize/runs/apply"},{"title":"Revert optimizer run","description":"Undo an Etsy Ads optimizer run, as Alura's Etsy Ads page undoes it: a paused listing is advertised again, a strategy goes back, a search term turns back on.","deprecated":null,"version":null,"sidebarTitle":"Revert optimizer run","openapi":"/openapi.json post /v1/workspace/ads/optimize/runs/{id}/revert","href":"/api-reference/workspace/ads/optimize/runs/revert"}]}]},{"group":"Etsy Sales","pages":[{"title":"List promotions","deprecated":null,"version":null,"sidebarTitle":"List promotions","openapi":"/openapi.json get /v1/workspace/promotions","href":"/api-reference/workspace/promotions/search"},{"title":"Get promotion","description":"Get one Etsy promotion of your shop by its ID, read live from Etsy, with its results since it started: uses, revenue and, for an automated offer, offers sent.","deprecated":null,"version":null,"sidebarTitle":"Get promotion","openapi":"/openapi.json get /v1/workspace/promotions/{id}","href":"/api-reference/workspace/promotions/get"}]},{"group":"Marketplace Insights","pages":[{"title":"Get search insights","deprecated":null,"version":null,"sidebarTitle":"Get search insights","openapi":"/openapi.json get /v1/workspace/marketplace-insights/searches","href":"/api-reference/workspace/marketplaceinsights/searches/get"},{"title":"List related terms","deprecated":null,"version":null,"sidebarTitle":"List related terms","openapi":"/openapi.json get /v1/workspace/marketplace-insights/searches/terms","href":"/api-reference/workspace/marketplaceinsights/searches/terms"}]},{"group":"Traffic and search terms","pages":[{"title":"Get listing traffic","deprecated":null,"version":null,"sidebarTitle":"Get listing traffic","openapi":"/openapi.json get /v1/workspace/listings/{id}/traffic","href":"/api-reference/workspace/listings/traffic"},{"title":"Listing search terms","deprecated":null,"version":null,"sidebarTitle":"Listing search terms","openapi":"/openapi.json get /v1/workspace/listings/{id}/search-terms","href":"/api-reference/workspace/listings/searchterms"},{"title":"Search terms, batch","deprecated":null,"version":null,"sidebarTitle":"Search terms, batch","openapi":"/openapi.json get /v1/workspace/listings/search-terms","href":"/api-reference/workspace/listings/searchterms/batch"},{"title":"List shop search terms","deprecated":null,"version":null,"sidebarTitle":"List shop search terms","openapi":"/openapi.json get /v1/workspace/search-terms","href":"/api-reference/workspace/searchterms/search"}]},{"group":"Messages","pages":[{"title":"List conversations","deprecated":null,"version":null,"sidebarTitle":"List conversations","openapi":"/openapi.json get /v1/workspace/conversations","href":"/api-reference/workspace/conversations/search"},{"title":"Search conversations","deprecated":null,"version":null,"sidebarTitle":"Search conversations","openapi":"/openapi.json post /v1/workspace/conversations/search","href":"/api-reference/workspace/conversations/query"},{"title":"Get conversation","deprecated":null,"version":null,"sidebarTitle":"Get conversation","openapi":"/openapi.json get /v1/workspace/conversations/{id}","href":"/api-reference/workspace/conversations/get"},{"title":"Get order conversation","deprecated":null,"version":null,"sidebarTitle":"Get order conversation","openapi":"/openapi.json get /v1/workspace/orders/{id}/conversation","href":"/api-reference/workspace/orders/conversation/get"},{"title":"List labels","deprecated":null,"version":null,"sidebarTitle":"List labels","openapi":"/openapi.json get /v1/workspace/conversations/labels","href":"/api-reference/workspace/conversations/labels"},{"title":"Update conversation","deprecated":null,"version":null,"sidebarTitle":"Update conversation","openapi":"/openapi.json patch /v1/workspace/conversations/{id}","href":"/api-reference/workspace/conversations/update"},{"title":"Set buyer note","deprecated":null,"version":null,"sidebarTitle":"Set buyer note","openapi":"/openapi.json put /v1/workspace/conversations/{id}/buyer-note","href":"/api-reference/workspace/conversations/buyernote/set"},{"title":"Hand off conversation","deprecated":null,"version":null,"sidebarTitle":"Hand off conversation","openapi":"/openapi.json post /v1/workspace/conversations/{id}/handoff","href":"/api-reference/workspace/conversations/handoff"},{"title":"Send message","deprecated":null,"version":null,"sidebarTitle":"Send message","openapi":"/openapi.json post /v1/workspace/conversations/{id}/messages","href":"/api-reference/workspace/conversations/messages/send"},{"title":"Send order message","deprecated":null,"version":null,"sidebarTitle":"Send order message","openapi":"/openapi.json post /v1/workspace/orders/{id}/messages","href":"/api-reference/workspace/orders/messages/send"},{"title":"Upload attachment","deprecated":null,"version":null,"sidebarTitle":"Upload attachment","openapi":"/openapi.json post /v1/workspace/conversations/attachments","href":"/api-reference/workspace/conversations/attachments/upload"},{"group":"Drafts","pages":[{"title":"List draft replies","deprecated":null,"version":null,"sidebarTitle":"List draft replies","openapi":"/openapi.json get /v1/workspace/conversations/{id}/drafts","href":"/api-reference/workspace/conversations/drafts/list"},{"title":"Create draft reply","deprecated":null,"version":null,"sidebarTitle":"Create draft reply","openapi":"/openapi.json post /v1/workspace/conversations/{id}/drafts","href":"/api-reference/workspace/conversations/drafts/create"},{"title":"Dismiss draft reply","deprecated":null,"version":null,"sidebarTitle":"Dismiss draft reply","openapi":"/openapi.json delete /v1/workspace/conversations/{id}/drafts/{draft_id}","href":"/api-reference/workspace/conversations/drafts/dismiss"}]}]},{"group":"Reviews and orders","pages":[{"title":"Reply to review","deprecated":null,"version":null,"sidebarTitle":"Reply to review","openapi":"/openapi.json post /v1/workspace/reviews/{id}/reply","href":"/api-reference/workspace/reviews/reply"},{"title":"Set order note","deprecated":null,"version":null,"sidebarTitle":"Set order note","openapi":"/openapi.json put /v1/workspace/orders/{id}/note","href":"/api-reference/workspace/orders/note/set"}]}]},{"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":"List promotions - Alura API","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}