OAuth scope:giveaway_writeAPI keys have full access to this endpoint.
Authorizations
bearerAuthbasicAuth
Authorization
string
header
required
OAuth 2.0 access token, sent as Authorization: Bearer <token>. See https://docs.fourthwall.com/guides/oauth. The scopes an operation requires are listed in its x-fourthwall-scopes.
Path Parameters
id
string
required
Body
application/json
participants
Twitch · object[]
required
Show child attributes
Response
OK
id
string
required
Example:
"gdr_EdJvIXu3SEiXe_QkPavHSA"
type
enum<string>
required
Available options:
INITIAL,
REDO
giveawayId
string
required
Example:
"giv_EdJvIXu3SEiXe_QkPavHSA"
giveawayFriendlyId
string
required
Example:
"D3XZFWPP"
shopId
string
required
Example:
"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb"
offer
Offer Gift Purchase · object
required
Show child attributes
amounts
Amounts · object
required
Show child attributes
email
string
required
Example:
"supporter@fourthwall.com"
gifts
Available · object · Available · object · Available · object · Available · object · Available · object · Cancelled · object · Changed To Gift Card · object · Changed To Promotion · object · Redeemed · object[]
required
Available
Available
Available
Available
Available
Cancelled
Changed To Gift Card
Changed To Promotion
Redeemed
Show child attributes
createdAt
string<date-time>
required
durationSeconds
integer<int64>
required
username
string
Example:
"Johnny123"
message
string
Example:
"Sample message"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fourthwall Developer Docs","colors":{"primary":"#000000","light":"#4D4D4D","dark":"#000000"},"logo":{"light":"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/logo/light.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=44d55b19c2c524eb8e4ee5a9de5c89e7","dark":"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/logo/dark.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=6e05cd1920c11af37f6a6c8f6a894ab6"},"favicon":"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/favicon.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=fe14d6128c59ded57a36fe3a5170ffed","api":{"openapi":["openapi/platform.json","openapi/storefront.json","openapi/membership.json","openapi/channel-api.json"],"playground":{"display":"interactive"},"examples":{"prefill":true}},"navbar":{"links":[{"href":"mailto:support@fourthwall.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://my-shop.fourthwall.com/admin/dashboard?redirect"}},"footer":{"socials":{"x":"https://x.com/fourthwall","github":"https://github.com/FourthwallHQ","discord":"https://discord.com/invite/kc6P68z3Uz"}},"integrations":{"gtm":{"tagId":"GTM-W4JTQQ9"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Fourthwall","icon":"globe","href":"https://fourthwall.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.com/invite/kc6P68z3Uz"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fourthwall","hasAudioNarration":false,"actualSubdomain":"fourthwall","customDomains":["docs.fourthwall.com"],"gitSource":{"type":"github","owner":"fourthwallhq","repo":"fourthwall-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af4defa03dcad41f610b399","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"Platform API","count":79},{"language":"default","tag":"Guides","count":54},{"language":"default","tag":"Memberships API","count":34},{"language":"default","tag":"Webhook Events","count":21},{"language":"default","tag":"Webhooks","count":16},{"language":"default","tag":"Posts","count":15},{"language":"default","tag":"HTML Sections","count":14},{"language":"default","tag":"Collections","count":10},{"language":"default","tag":"Products","count":10},{"language":"default","tag":"Storefront API","count":10}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/platform/gifting/finish-draw","slug":"/api-reference/platform/gifting/finish-draw","pageMetadata":{"title":"Finish Draw","openapi":"openapi/platform.json PUT /open-api/v1.0/gifting/draw/{id}/finish","description":"*Rate limit: 100 requests / 10 seconds per shop. See [Rate limiting](/guides/rate-limiting).*\n\nFinish draw and select winners","href":"/api-reference/platform/gifting/finish-draw"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n em: \"em\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: _jsxs(_components.em, {\n children: [\"Rate limit: 100 requests / 10 seconds per shop. See \", _jsx(_components.a, {\n href: \"/guides/rate-limiting\",\n children: \"Rate limiting\"\n }), \".\"]\n })\n }), \"\\n\", _jsx(_components.p, {\n children: \"Finish draw and select winners\"\n })]\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`OAuth scope:`}),` `,_jsx(_components.code,{children:`giveaway_write`})]}),_jsx(_components.p,{children:`API keys have full access to this endpoint.`})]})}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":"Finish Draw","openapi":"openapi/platform.json PUT /open-api/v1.0/gifting/draw/{id}/finish","description":"*Rate limit: 100 requests / 10 seconds per shop. See [Rate limiting](/guides/rate-limiting).*\n\nFinish draw and select winners","href":"/api-reference/platform/gifting/finish-draw"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Gifting"],"summary":"Finish draw","description":"*Rate limit: 100 requests / 10 seconds per shop. See [Rate limiting](/guides/rate-limiting).*\n\nFinish draw and select winners","externalDocs":{"url":"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw"},"operationId":"finish-draw","parameters":["35f5630b-c8d5-4575-88b1-462b0912aa18"],"requestBody":"3a386248-533d-4639-aae0-c3cb376684f9","responses":{"200":"12454af8-b392-474b-bdb5-fc9f051588c8","400":"5748bac8-5cdb-40f0-acb8-10ee1c239d47","404":"71dadfbf-0aa8-473d-be0f-12a351298c05","429":"7626313d-db44-40a5-9c2b-bb2c0d6b2192"},"security":["90930798-3038-434d-9e4e-9562baea741b","3017da04-a3f2-429e-9ad8-625dbb47a5ac"],"x-fourthwall-scopes":["giveaway_write"],"x-rate-limit":{"capacity":100,"periodSeconds":10,"dimension":"shopId","cacheName":"open-api-rate-limiter","applies":[{"cacheName":"open-api-rate-limiter","filterOrder":10,"capacity":100,"periodSeconds":10,"dimension":"shopId"}]},"x-mint":{"mcp":{"enabled":true}},"method":"put","type":"path","servers":["e4bf77bb-e587-4d84-a6ea-ebac5ee49d6c"],"path":"/open-api/v1.0/gifting/draw/{id}/finish","baseUrlOptions":["https://api.fourthwall.com"],"title":"Finish draw","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.participants.items.0.service":"\u003cstring>","body.participants.items.0.userId":"\u003cstring>","body.participants.items.0.userName":"\u003cstring>"}]},"dependencies":{"parameters":{"35f5630b-c8d5-4575-88b1-462b0912aa18":{"name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"participants":{"type":"array","items":{"type":"object","title":"Twitch","required":["userId","userName","service"],"properties":{"service":{"type":"string","isRequired":true,"uniqueKey":"participants.items.[INDEX].service","typeLabel":"string"},"userId":{"type":"string","isRequired":true,"uniqueKey":"participants.items.[INDEX].userId","typeLabel":"string"},"userName":{"type":"string","isRequired":true,"uniqueKey":"participants.items.[INDEX].userName","typeLabel":"string"}},"uniqueKey":"participants.items.[INDEX]","typeLabel":"Twitch · object"},"isRequired":true,"uniqueKey":"participants","typeLabel":"Twitch · object[]"}},"required":["participants"],"title":"Draw Finished Request","uniqueKey":"","typeLabel":"Draw Finished Request · object"},"examples":{"Example":{"title":"Example","value":{"participants":[{"service":"\u003cstring>","userId":"\u003cstring>","userName":"\u003cstring>"}]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"12454af8-b392-474b-bdb5-fc9f051588c8":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"gdr_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"type":{"type":"string","enum":["INITIAL","REDO"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"giveawayId":{"type":"string","example":"giv_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"giveawayId","typeLabel":"string"},"giveawayFriendlyId":{"type":"string","example":"D3XZFWPP","isRequired":true,"uniqueKey":"giveawayFriendlyId","typeLabel":"string"},"shopId":{"type":"string","example":"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb","isRequired":true,"uniqueKey":"shopId","typeLabel":"string"},"offer":{"type":"object","properties":{"id":{"type":"string","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"offer.id","typeLabel":"string"},"name":{"type":"string","example":"My t-shirt","isRequired":true,"uniqueKey":"offer.name","typeLabel":"string"},"slug":{"type":"string","example":"my-t-shirt","isRequired":true,"uniqueKey":"offer.slug","typeLabel":"string"},"description":{"type":"string","example":"My t-shirt description","isRequired":true,"uniqueKey":"offer.description","typeLabel":"string"},"primaryImage":{"type":"object","properties":{"id":{"type":"string","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"offer.primaryImage.id","typeLabel":"string"},"url":{"type":"string","example":"https://fourthwall.com/image.png","isRequired":true,"uniqueKey":"offer.primaryImage.url","typeLabel":"string"},"width":{"type":"integer","format":"int32","description":"The original width of the image in pixels.","example":800,"isRequired":true,"uniqueKey":"offer.primaryImage.width","typeLabel":"integer\u003cint32>"},"height":{"type":"integer","format":"int32","description":"The original height of the image in pixels.","example":600,"isRequired":true,"uniqueKey":"offer.primaryImage.height","typeLabel":"integer\u003cint32>"},"transformedUrl":{"type":"string","description":"Transformed URL with applied image processing (e.g., resizing, optimization)","example":"https://fourthwall.com/image.png","isRequired":true,"uniqueKey":"offer.primaryImage.transformedUrl","typeLabel":"string"}},"required":["height","id","transformedUrl","url","width"],"title":"Image","uniqueKey":"offer.primaryImage","typeLabel":"Image · object"}},"required":["description","id","name","slug"],"title":"Offer Gift Purchase","isRequired":true,"uniqueKey":"offer","typeLabel":"Offer Gift Purchase · object"},"amounts":{"type":"object","properties":{"subtotal":{"type":"object","properties":{"value":{"type":"number","example":10,"minimum":0,"isRequired":true,"uniqueKey":"amounts.subtotal.value","typeLabel":"number"},"currency":{"type":"string","example":"USD","isRequired":true,"uniqueKey":"amounts.subtotal.currency","typeLabel":"string"}},"required":["currency","value"],"title":"Money","isRequired":true,"uniqueKey":"amounts.subtotal","typeLabel":"Money · object"},"total":{"type":"object","properties":{"value":{"type":"number","example":10,"minimum":0,"isRequired":true,"uniqueKey":"amounts.total.value","typeLabel":"number"},"currency":{"type":"string","example":"USD","isRequired":true,"uniqueKey":"amounts.total.currency","typeLabel":"string"}},"required":["currency","value"],"title":"Money","isRequired":true,"uniqueKey":"amounts.total","typeLabel":"Money · object"}},"required":["subtotal","total"],"title":"Amounts","isRequired":true,"uniqueKey":"amounts","typeLabel":"Amounts · object"},"email":{"type":"string","example":"supporter@fourthwall.com","isRequired":true,"uniqueKey":"email","typeLabel":"string"},"gifts":{"type":"array","items":{"oneOf":[{"type":"object","title":"Available","required":["id","status","orderFriendlyId","orderId","winner"],"properties":{"id":{"type":"string","example":"gft_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.0.id","typeLabel":"string"},"orderId":{"type":"string","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.0.orderId","typeLabel":"string"},"orderFriendlyId":{"type":"string","example":"D3XZFWPP","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.0.orderFriendlyId","typeLabel":"string"},"winner":{"type":"object","title":"Winner","required":["redeemUri","selectedAt"],"properties":{"selectedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.0.winner.selectedAt","typeLabel":"string\u003cdate-time>"},"redeemUri":{"type":"string","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.0.winner.redeemUri","typeLabel":"string"},"email":{"type":"string","example":"supporter@fourthwall.com","uniqueKey":"gifts.items.[INDEX].oneOf.0.winner.email","typeLabel":"string"},"username":{"type":"string","example":"Johnny123","uniqueKey":"gifts.items.[INDEX].oneOf.0.winner.username","typeLabel":"string"}},"isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.0.winner","typeLabel":"Winner · object"},"status":{"type":"string","const":"AVAILABLE","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.0.status","typeLabel":"string"}},"uniqueKey":"gifts.items.[INDEX].oneOf.0","typeLabel":"Available · object"},{"type":"object","title":"Available","required":["id","status"],"properties":{"id":{"type":"string","example":"gft_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.1.id","typeLabel":"string"},"status":{"type":"string","const":"AVAILABLE","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.1.status","typeLabel":"string"},"winner":{"type":"object","properties":{"selectedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.1.winner.selectedAt","typeLabel":"string\u003cdate-time>"},"redeemUri":{"type":"string","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.1.winner.redeemUri","typeLabel":"string"},"email":{"type":"string","example":"supporter@fourthwall.com","uniqueKey":"gifts.items.[INDEX].oneOf.1.winner.email","typeLabel":"string"},"username":{"type":"string","example":"Johnny123","uniqueKey":"gifts.items.[INDEX].oneOf.1.winner.username","typeLabel":"string"}},"required":["redeemUri","selectedAt"],"title":"Winner","uniqueKey":"gifts.items.[INDEX].oneOf.1.winner","typeLabel":"Winner · object"}},"uniqueKey":"gifts.items.[INDEX].oneOf.1","typeLabel":"Available · object"},{"type":"object","title":"Available","required":["id","status"],"properties":{"id":{"type":"string","example":"gft_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.2.id","typeLabel":"string"},"status":{"type":"string","const":"AVAILABLE","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.2.status","typeLabel":"string"},"winner":{"type":"object","title":"Winner","required":["redeemUri","selectedAt"],"properties":{"selectedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.2.winner.selectedAt","typeLabel":"string\u003cdate-time>"},"redeemUri":{"type":"string","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.2.winner.redeemUri","typeLabel":"string"},"email":{"type":"string","example":"supporter@fourthwall.com","uniqueKey":"gifts.items.[INDEX].oneOf.2.winner.email","typeLabel":"string"},"username":{"type":"string","example":"Johnny123","uniqueKey":"gifts.items.[INDEX].oneOf.2.winner.username","typeLabel":"string"}},"uniqueKey":"gifts.items.[INDEX].oneOf.2.winner","typeLabel":"Winner · object"}},"uniqueKey":"gifts.items.[INDEX].oneOf.2","typeLabel":"Available · object"},{"type":"object","title":"Available","required":["id","status","promotionId","winner"],"properties":{"id":{"type":"string","example":"gft_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.3.id","typeLabel":"string"},"promotionId":{"type":"string","example":"prm_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.3.promotionId","typeLabel":"string"},"winner":{"type":"object","title":"Winner","required":["redeemUri","selectedAt"],"properties":{"selectedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.3.winner.selectedAt","typeLabel":"string\u003cdate-time>"},"redeemUri":{"type":"string","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.3.winner.redeemUri","typeLabel":"string"},"email":{"type":"string","example":"supporter@fourthwall.com","uniqueKey":"gifts.items.[INDEX].oneOf.3.winner.email","typeLabel":"string"},"username":{"type":"string","example":"Johnny123","uniqueKey":"gifts.items.[INDEX].oneOf.3.winner.username","typeLabel":"string"}},"isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.3.winner","typeLabel":"Winner · object"},"status":{"type":"string","const":"AVAILABLE","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.3.status","typeLabel":"string"}},"uniqueKey":"gifts.items.[INDEX].oneOf.3","typeLabel":"Available · object"},{"type":"object","title":"Available","required":["id","status","giftCardId","winner"],"properties":{"id":{"type":"string","example":"gft_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.4.id","typeLabel":"string"},"giftCardId":{"type":"string","example":"gcrd_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.4.giftCardId","typeLabel":"string"},"winner":{"type":"object","title":"Winner","required":["redeemUri","selectedAt"],"properties":{"selectedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.4.winner.selectedAt","typeLabel":"string\u003cdate-time>"},"redeemUri":{"type":"string","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.4.winner.redeemUri","typeLabel":"string"},"email":{"type":"string","example":"supporter@fourthwall.com","uniqueKey":"gifts.items.[INDEX].oneOf.4.winner.email","typeLabel":"string"},"username":{"type":"string","example":"Johnny123","uniqueKey":"gifts.items.[INDEX].oneOf.4.winner.username","typeLabel":"string"}},"isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.4.winner","typeLabel":"Winner · object"},"status":{"type":"string","const":"AVAILABLE","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.4.status","typeLabel":"string"}},"uniqueKey":"gifts.items.[INDEX].oneOf.4","typeLabel":"Available · object"},{"type":"object","title":"Cancelled","required":["id"],"properties":{"id":{"type":"string","example":"gft_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.5.id","typeLabel":"string"},"winner":{"type":"object","properties":{"selectedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.5.winner.selectedAt","typeLabel":"string\u003cdate-time>"},"redeemUri":{"type":"string","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.5.winner.redeemUri","typeLabel":"string"},"email":{"type":"string","example":"supporter@fourthwall.com","uniqueKey":"gifts.items.[INDEX].oneOf.5.winner.email","typeLabel":"string"},"username":{"type":"string","example":"Johnny123","uniqueKey":"gifts.items.[INDEX].oneOf.5.winner.username","typeLabel":"string"}},"required":["redeemUri","selectedAt"],"title":"Winner","uniqueKey":"gifts.items.[INDEX].oneOf.5.winner","typeLabel":"Winner · object"},"status":{"type":"string","const":"CANCELLED","uniqueKey":"gifts.items.[INDEX].oneOf.5.status","typeLabel":"string"}},"uniqueKey":"gifts.items.[INDEX].oneOf.5","typeLabel":"Cancelled · object"},{"type":"object","title":"Changed To Gift Card","required":["giftCardId","id","winner"],"properties":{"id":{"type":"string","example":"gft_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.6.id","typeLabel":"string"},"giftCardId":{"type":"string","example":"gcrd_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.6.giftCardId","typeLabel":"string"},"winner":{"type":"object","properties":{"selectedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.6.winner.selectedAt","typeLabel":"string\u003cdate-time>"},"redeemUri":{"type":"string","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.6.winner.redeemUri","typeLabel":"string"},"email":{"type":"string","example":"supporter@fourthwall.com","uniqueKey":"gifts.items.[INDEX].oneOf.6.winner.email","typeLabel":"string"},"username":{"type":"string","example":"Johnny123","uniqueKey":"gifts.items.[INDEX].oneOf.6.winner.username","typeLabel":"string"}},"required":["redeemUri","selectedAt"],"title":"Winner","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.6.winner","typeLabel":"Winner · object"},"status":{"type":"string","const":"CHANGED_TO_GIFT_CARD","uniqueKey":"gifts.items.[INDEX].oneOf.6.status","typeLabel":"string"}},"uniqueKey":"gifts.items.[INDEX].oneOf.6","typeLabel":"Changed To Gift Card · object"},{"type":"object","title":"Changed To Promotion","required":["id","promotionId","winner"],"properties":{"id":{"type":"string","example":"gft_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.7.id","typeLabel":"string"},"promotionId":{"type":"string","example":"prm_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.7.promotionId","typeLabel":"string"},"winner":{"type":"object","properties":{"selectedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.7.winner.selectedAt","typeLabel":"string\u003cdate-time>"},"redeemUri":{"type":"string","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.7.winner.redeemUri","typeLabel":"string"},"email":{"type":"string","example":"supporter@fourthwall.com","uniqueKey":"gifts.items.[INDEX].oneOf.7.winner.email","typeLabel":"string"},"username":{"type":"string","example":"Johnny123","uniqueKey":"gifts.items.[INDEX].oneOf.7.winner.username","typeLabel":"string"}},"required":["redeemUri","selectedAt"],"title":"Winner","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.7.winner","typeLabel":"Winner · object"},"status":{"type":"string","const":"CHANGED_TO_PROMOTION","uniqueKey":"gifts.items.[INDEX].oneOf.7.status","typeLabel":"string"}},"uniqueKey":"gifts.items.[INDEX].oneOf.7","typeLabel":"Changed To Promotion · object"},{"type":"object","title":"Redeemed","required":["id","orderFriendlyId","orderId","winner"],"properties":{"id":{"type":"string","example":"gft_EdJvIXu3SEiXe_QkPavHSA","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.8.id","typeLabel":"string"},"orderId":{"type":"string","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.8.orderId","typeLabel":"string"},"orderFriendlyId":{"type":"string","example":"D3XZFWPP","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.8.orderFriendlyId","typeLabel":"string"},"winner":{"type":"object","properties":{"selectedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.8.winner.selectedAt","typeLabel":"string\u003cdate-time>"},"redeemUri":{"type":"string","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.8.winner.redeemUri","typeLabel":"string"},"email":{"type":"string","example":"supporter@fourthwall.com","uniqueKey":"gifts.items.[INDEX].oneOf.8.winner.email","typeLabel":"string"},"username":{"type":"string","example":"Johnny123","uniqueKey":"gifts.items.[INDEX].oneOf.8.winner.username","typeLabel":"string"}},"required":["redeemUri","selectedAt"],"title":"Winner","isRequired":true,"uniqueKey":"gifts.items.[INDEX].oneOf.8.winner","typeLabel":"Winner · object"},"status":{"type":"string","const":"REDEEMED","uniqueKey":"gifts.items.[INDEX].oneOf.8.status","typeLabel":"string"}},"uniqueKey":"gifts.items.[INDEX].oneOf.8","typeLabel":"Redeemed · object"}],"uniqueKey":"gifts.items.[INDEX]","typeLabel":"Available · object · Available · object · Available · object · Available · object · Available · object · Cancelled · object · Changed To Gift Card · object · Changed To Promotion · object · Redeemed · object"},"isRequired":true,"uniqueKey":"gifts","typeLabel":"Available · object · Available · object · Available · object · Available · object · Available · object · Cancelled · object · Changed To Gift Card · object · Changed To Promotion · object · Redeemed · object[]"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"durationSeconds":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"durationSeconds","typeLabel":"integer\u003cint64>"},"username":{"type":"string","example":"Johnny123","uniqueKey":"username","typeLabel":"string"},"message":{"type":"string","example":"Sample message","uniqueKey":"message","typeLabel":"string"}},"required":["amounts","createdAt","durationSeconds","email","gifts","giveawayFriendlyId","giveawayId","id","offer","shopId","type"],"title":"Gift Draft","uniqueKey":"","typeLabel":"Gift Draft · object"},"examples":{"Example":{"title":"Example","value":{"id":"gdr_EdJvIXu3SEiXe_QkPavHSA","type":"INITIAL","giveawayId":"giv_EdJvIXu3SEiXe_QkPavHSA","giveawayFriendlyId":"D3XZFWPP","shopId":"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb","offer":{"id":"00aa4abd-5778-4199-8161-0b49b2f212e5","name":"My t-shirt","slug":"my-t-shirt","description":"My t-shirt description","primaryImage":{"id":"00aa4abd-5778-4199-8161-0b49b2f212e5","url":"https://fourthwall.com/image.png","width":800,"height":600,"transformedUrl":"https://fourthwall.com/image.png"}},"amounts":{"subtotal":{"value":10,"currency":"USD"},"total":{"value":10,"currency":"USD"}},"email":"supporter@fourthwall.com","gifts":[{"id":"gft_EdJvIXu3SEiXe_QkPavHSA","orderId":"00aa4abd-5778-4199-8161-0b49b2f212e5","orderFriendlyId":"D3XZFWPP","winner":{"selectedAt":"2020-08-13T09:05:36.939Z","redeemUri":"\u003cstring>","email":"supporter@fourthwall.com","username":"Johnny123"},"status":"AVAILABLE"}],"createdAt":"2023-11-07T05:31:56Z","durationSeconds":123,"username":"Johnny123","message":"Sample message"}}},"exampleType":"generated"}},"exampleType":"generated"},"5748bac8-5cdb-40f0-acb8-10ee1c239d47":{"description":"Possible errors: `GIVEAWAY_DRAW_ALREADY_FINISHED`, `GIVEAWAY_DRAW_FINISHED_DATA_MISMATCH`, `GIVEAWAY_DRAW_UNSUPPORTED_PLATFORM_OPERATION`","content":{"application/json":{"examples":{"giveaway-draw-already-finished":{"title":"giveaway-draw-already-finished","value":{"code":"GIVEAWAY_DRAW_ALREADY_FINISHED","drawId":"\u003cgiveawaydrawid>"}},"giveaway-draw-finished-data-mismatch":{"title":"giveaway-draw-finished-data-mismatch","value":{"code":"GIVEAWAY_DRAW_FINISHED_DATA_MISMATCH","availableGifts":"\u003cint>","participants":"\u003cint>"}},"giveaway-draw-unsupported-platform-operation":{"title":"giveaway-draw-unsupported-platform-operation","value":{"code":"GIVEAWAY_DRAW_UNSUPPORTED_PLATFORM_OPERATION","platform":"\u003cgiveawaydraw.platform>"}}},"exampleType":"examples"}},"exampleType":"examples"},"71dadfbf-0aa8-473d-be0f-12a351298c05":{"description":"Possible errors: `GIVEAWAY_DRAW_NOT_FOUND`, `GIVEAWAY_NOT_FOUND_FOR_DRAW_ID`, `OFFER_NOT_FOUND_ERROR`, `OFFER_VARIANT_NOT_FOUND_ERROR`, `SHOP_TEAM_MEMBER_SHOP_NOT_FOUND_ERROR`","content":{"application/json":{"examples":{"giveaway-draw-not-found":{"title":"giveaway-draw-not-found","value":{"code":"GIVEAWAY_DRAW_NOT_FOUND","drawId":"\u003cgiveawaydrawid>"}},"giveaway-not-found-for-draw-id":{"title":"giveaway-not-found-for-draw-id","value":{"code":"GIVEAWAY_NOT_FOUND_FOR_DRAW_ID","shopId":"\u003cshopid>","drawId":"\u003cgiveawaydrawid>"}},"offer-not-found-error":{"title":"offer-not-found-error","value":{"code":"OFFER_NOT_FOUND_ERROR","offerId":"\u003cofferid>"}},"offer-variant-not-found-error":{"title":"offer-variant-not-found-error","value":{"code":"OFFER_VARIANT_NOT_FOUND_ERROR","offerVariantId":"\u003coffervariantid>"}},"shop-team-member-shop-not-found-error":{"title":"shop-team-member-shop-not-found-error","value":{"code":"SHOP_TEAM_MEMBER_SHOP_NOT_FOUND_ERROR","shopId":"\u003cshopid>"}}},"exampleType":"examples"}},"exampleType":"examples"},"7626313d-db44-40a5-9c2b-bb2c0d6b2192":{"description":"Rate limited: 100 requests / 10 seconds per shop.","content":{"application/json":{"examples":{"too-many-requests":{"title":"too-many-requests","value":{"code":"OPEN_API_TOO_MANY_REQUESTS","title":"Too many requests","status":429}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"90930798-3038-434d-9e4e-9562baea741b":{"bearerAuth":{"type":"http","scheme":"bearer","description":"OAuth 2.0 access token, sent as `Authorization: Bearer \u003ctoken>`. See https://docs.fourthwall.com/guides/oauth. The scopes an operation requires are listed in its `x-fourthwall-scopes`.","scopes":[],"schemeName":"bearerAuth"}},"3017da04-a3f2-429e-9ad8-625dbb47a5ac":{"basicAuth":{"type":"http","scheme":"basic","scopes":[],"schemeName":"basicAuth"}}},"servers":{"e4bf77bb-e587-4d84-a6ea-ebac5ee49d6c":{"url":"https://api.fourthwall.com","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"OAuth 2.0 access token, sent as `Authorization: Bearer \u003ctoken>`. See https://docs.fourthwall.com/guides/oauth. The scopes an operation requires are listed in its `x-fourthwall-scopes`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"OAuth 2.0 access token, sent as `Authorization: Bearer \u003ctoken>`. See https://docs.fourthwall.com/guides/oauth. The scopes an operation requires are listed in its `x-fourthwall-scopes`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"basic","scopes":[],"schemeName":"basicAuth"},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication header of the form `Basic \u003cencoded-value>`, where `\u003cencoded-value>` is the base64-encoded string `username:password`.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"basicAuth","name":"Authorization"}],"title":"basicAuth"}]},"originalFileLocation":"openapi/platform.json"},"subdomain":"fourthwall","siteName":"Fourthwall Developer Docs","title":"Finish Draw - Fourthwall Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-03T13:33:28.019Z","originalFileLocation":"api-reference/platform/gifting/finish-draw.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=\"Rate limit: 100 requests / 10 seconds per shop. See Rate limiting. Finish draw and select winners\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fourthwall Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Finish Draw - Fourthwall Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Rate limit: 100 requests / 10 seconds per shop. See Rate limiting. Finish draw and select winners\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fourthwall Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fourthwall.mintlify.site/_mintlify/api/og/v2?division=Gifting\u0026amp;title=Finish+Draw\u0026amp;description=*Rate+limit%3A+100+requests+%2F+10+seconds+per+shop.+See+%5BRate+limiting%5D%28%2Fguides%2Frate-limiting%29.*%0A%0AFinish+draw+and+select+winners\u0026amp;theme=8cdf96ad8403fabe9e5e041f\u0026amp;signature=a461ae1cf90d10a8910aa71cb0d2cfada8f33811815d174e1b85af5665fb1538\">\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=\"Finish Draw - Fourthwall Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Rate limit: 100 requests / 10 seconds per shop. See Rate limiting. Finish draw and select winners\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fourthwall.mintlify.site/_mintlify/api/og/v2?division=Gifting\u0026amp;title=Finish+Draw\u0026amp;description=*Rate+limit%3A+100+requests+%2F+10+seconds+per+shop.+See+%5BRate+limiting%5D%28%2Fguides%2Frate-limiting%29.*%0A%0AFinish+draw+and+select+winners\u0026amp;theme=8cdf96ad8403fabe9e5e041f\u0026amp;signature=a461ae1cf90d10a8910aa71cb0d2cfada8f33811815d174e1b85af5665fb1538\">\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/fourthwall/t-Pr9lNT9Pm8i5rs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fourthwall Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/platform/gifting/finish-draw.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fourthwall.com/#organization\",\"name\":\"Fourthwall Developer Docs\",\"url\":\"https://docs.fourthwall.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/logo/light.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=44d55b19c2c524eb8e4ee5a9de5c89e7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fourthwall.com#website\",\"name\":\"Fourthwall Developer Docs\",\"url\":\"https://docs.fourthwall.com\",\"publisher\":{\"@id\":\"https://docs.fourthwall.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw#webpage\",\"url\":\"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw\",\"name\":\"Finish Draw\",\"description\":\"Rate limit: 100 requests / 10 seconds per shop. See Rate limiting. Finish draw and select winners\",\"dateModified\":\"2026-06-03T13:33:28.019Z\",\"isPartOf\":{\"@id\":\"https://docs.fourthwall.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Gifting\",\"item\":\"https://docs.fourthwall.com/api-reference/platform/gifting/get-draw\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Finish Draw\",\"item\":\"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw#apireference\",\"headline\":\"Finish Draw\",\"name\":\"Finish Draw\",\"description\":\"Rate limit: 100 requests / 10 seconds per shop. See Rate limiting. Finish draw and select winners\",\"url\":\"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fourthwall.com/api-reference/platform/gifting/finish-draw#webpage\"},\"dateModified\":\"2026-06-03T13:33:28.019Z\",\"publisher\":{\"@id\":\"https://docs.fourthwall.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fourthwall.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fourthwall Developer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Fourthwall Developer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/platform/gifting/finish-draw.md","siteName":"Fourthwall Developer Docs","nav":{"global":{"anchors":[{"anchor":"Fourthwall","icon":"globe","href":"https://fourthwall.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.com/invite/kc6P68z3Uz"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Platform API","groups":[{"group":"Shop","pages":[{"title":"Get Current Shop","openapi":"openapi/platform.json GET /open-api/v1.0/shops/current","href":"/api-reference/platform/shop/get-current-shop"},{"title":"Get Shop Contact Info","openapi":"openapi/platform.json GET /open-api/v1.0/shops/current/contact-info","href":"/api-reference/platform/shop/get-shop-contact-info"},{"title":"Get or Create Public Token","openapi":"openapi/platform.json PUT /open-api/v1.0/public-token","href":"/api-reference/platform/shop/get-public-token"}]},{"group":"Products","pages":[{"title":"List Products","openapi":"openapi/platform.json GET /open-api/v1.0/products","href":"/api-reference/platform/products/list-products"},{"title":"Create a product","openapi":"openapi/platform.json POST /open-api/v1.0/products","href":"/api-reference/platform/products/create-product"},{"title":"Get Product","openapi":"openapi/platform.json GET /open-api/v1.0/products/{productId}","href":"/api-reference/platform/products/get-product"},{"title":"Get Product Inventory","openapi":"openapi/platform.json GET /open-api/v1.0/products/{productId}/inventory","href":"/api-reference/platform/products/get-product-inventory"},{"title":"Update Product Availability","openapi":"openapi/platform.json PUT /open-api/v1.0/products/{productId}/availability","href":"/api-reference/platform/products/update-product-availability"},{"title":"Update product (offer) lifecycle state","openapi":"openapi/platform.json PUT /open-api/v1.0/products/{productId}/state","href":"/api-reference/platform/products-(offers)/update-product-state"},{"title":"Archive a product (offer)","openapi":"openapi/platform.json DELETE /open-api/v1.0/products/{productId}","href":"/api-reference/platform/products-(offers)/archive-product"}]},{"group":"Product Templates","pages":[{"title":"List product templates (specific page)","openapi":"openapi/platform.json GET /open-api/v1.0/product-templates/page/{page}","href":"/api-reference/platform/product-templates/list-product-templates-paged"},{"title":"Get product template details","openapi":"openapi/platform.json GET /open-api/v1.0/product-templates/{productId}","href":"/api-reference/platform/product-templates/get-product-template"}]},{"group":"Customization","pages":[{"title":"Create a new customization","openapi":"openapi/platform.json POST /open-api/v1.0/customizations","href":"/api-reference/platform/customization/create-customization"}]},{"group":"Media library","pages":[{"title":"List media library images","openapi":"openapi/platform.json GET /open-api/v1.0/media/images","href":"/api-reference/platform/media-library/list-media-images"},{"title":"Request a pre-signed upload URL","openapi":"openapi/platform.json POST /open-api/v1.0/media/upload-url","href":"/api-reference/platform/media-library/request-media-upload-url"},{"title":"Save an uploaded image to the media library","openapi":"openapi/platform.json POST /open-api/v1.0/media/images","href":"/api-reference/platform/media-library/save-media-image"}]},{"group":"Orders","pages":[{"title":"List Orders","openapi":"openapi/platform.json GET /open-api/v1.0/order","href":"/api-reference/platform/orders/list-orders"},{"title":"Get Order","openapi":"openapi/platform.json GET /open-api/v1.0/order/{orderId}","href":"/api-reference/platform/orders/get-order"},{"title":"Get Order by Friendly ID","openapi":"openapi/platform.json GET /open-api/v1.0/order/by-friendly-id/{friendlyId}","href":"/api-reference/platform/orders/get-order-by-friendly-id"},{"title":"Mark Digital Download Complete","openapi":"openapi/platform.json PUT /open-api/v1.0/order/{orderId}/downloaded","href":"/api-reference/platform/orders/mark-download-complete"},{"title":"Mark Digital Download Complete by Friendly ID","openapi":"openapi/platform.json PUT /open-api/v1.0/order/by-friendly-id/{friendlyId}/downloaded","href":"/api-reference/platform/orders/mark-download-complete-by-friendly-id"}]},{"group":"Fulfillment","pages":[{"title":"Create Fulfillment","openapi":"openapi/platform.json POST /open-api/v1.0/fulfillments","href":"/api-reference/platform/fulfillment/create-fulfillment"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","openapi":"openapi/platform.json GET /open-api/v1.0/webhooks","href":"/api-reference/platform/webhooks/list-webhooks"},{"title":"Create Webhook","openapi":"openapi/platform.json POST /open-api/v1.0/webhooks","href":"/api-reference/platform/webhooks/create-webhook"},{"title":"Get Webhook","openapi":"openapi/platform.json GET /open-api/v1.0/webhooks/{webhookConfigurationId}","href":"/api-reference/platform/webhooks/get-webhook"},{"title":"Update Webhook","openapi":"openapi/platform.json PUT /open-api/v1.0/webhooks/{webhookConfigurationId}","href":"/api-reference/platform/webhooks/update-webhook"},{"title":"Delete Webhook","openapi":"openapi/platform.json DELETE /open-api/v1.0/webhooks/{webhookConfigurationId}","href":"/api-reference/platform/webhooks/delete-webhook"},{"title":"List Webhook Events","openapi":"openapi/platform.json GET /open-api/v1.0/webhook-events","href":"/api-reference/platform/webhooks/list-webhook-events"},{"title":"Get Webhook Event","openapi":"openapi/platform.json GET /open-api/v1.0/webhook-events/{webhookEventId}","href":"/api-reference/platform/webhooks/get-webhook-event"}]},{"group":"Promotions","pages":[{"title":"List Promotions","openapi":"openapi/platform.json GET /open-api/v1.0/promotions","href":"/api-reference/platform/promotions/list-promotions"},{"title":"Create Promotion","openapi":"openapi/platform.json POST /open-api/v1.0/promotions","href":"/api-reference/platform/promotions/create-promotion"},{"title":"Get Promotion","openapi":"openapi/platform.json GET /open-api/v1.0/promotions/{promotionId}","href":"/api-reference/platform/promotions/get-promotion"}]},{"group":"Memberships","pages":[{"title":"List Membership Tiers","openapi":"openapi/platform.json GET /open-api/v1.0/memberships/tiers","href":"/api-reference/platform/memberships/list-tiers"},{"title":"List Members","openapi":"openapi/platform.json GET /open-api/v1.0/memberships/members","href":"/api-reference/platform/memberships/list-members"},{"title":"Get Member","openapi":"openapi/platform.json GET /open-api/v1.0/memberships/members/{id}","href":"/api-reference/platform/memberships/get-member"}]},{"group":"Donations","pages":[{"title":"List Donations","openapi":"openapi/platform.json GET /open-api/v1.0/donations","href":"/api-reference/platform/donations/list-donations"},{"title":"Get Donation","openapi":"openapi/platform.json GET /open-api/v1.0/donations/{donationId}","href":"/api-reference/platform/donations/get-donation"}]},{"group":"Mailing Lists","pages":[{"title":"List Mailing List Entries","openapi":"openapi/platform.json GET /open-api/v1.0/mailing-list-entries","href":"/api-reference/platform/mailing-lists/list-entries"}]},{"group":"Streaming","pages":[{"title":"Get Streaming Status","openapi":"openapi/platform.json GET /open-api/v1.0/streaming","href":"/api-reference/platform/streaming/get-streaming-status"},{"title":"Start Streaming","openapi":"openapi/platform.json PUT /open-api/v1.0/streaming/start","href":"/api-reference/platform/streaming/start-streaming"},{"title":"End Streaming","openapi":"openapi/platform.json PUT /open-api/v1.0/streaming/end","href":"/api-reference/platform/streaming/end-streaming"}]},{"group":"Gifting","pages":[{"title":"Get Draw","openapi":"openapi/platform.json GET /open-api/v1.0/gifting/draw/{id}","description":"*Rate limit: 100 requests / 10 seconds per shop. See [Rate limiting](/guides/rate-limiting).*\n\nGet draw details","href":"/api-reference/platform/gifting/get-draw"},{"title":"Finish Draw","openapi":"openapi/platform.json PUT /open-api/v1.0/gifting/draw/{id}/finish","href":"/api-reference/platform/gifting/finish-draw"},{"title":"Get Gift Purchase","openapi":"openapi/platform.json GET /open-api/v1.0/gift-purchase/{giftPurchaseId}","description":"*Rate limit: 100 requests / 10 seconds per shop. See [Rate limiting](/guides/rate-limiting).*\n\nReturns gift purchase details by id","href":"/api-reference/platform/gift-purchases/get-gift-purchase"}]},{"group":"Giveaway Links","pages":[{"title":"List Giveaway Packages","openapi":"openapi/platform.json GET /open-api/v1.0/giveaway-links/packages","href":"/api-reference/platform/giveaway-links/list-packages"},{"title":"Get Giveaway Package","openapi":"openapi/platform.json GET /open-api/v1.0/giveaway-links/packages/{packageId}","href":"/api-reference/platform/giveaway-links/get-package"},{"title":"Create Giveaway Links","openapi":"openapi/platform.json POST /open-api/v1.0/giveaway-links","href":"/api-reference/platform/giveaway-links/create-giveaway-links"}]},{"group":"Collections","pages":[{"title":"List Collections","openapi":"openapi/platform.json GET /open-api/v1.0/collections","href":"/api-reference/platform/collections/list-collections"},{"title":"Create a new collection","openapi":"openapi/platform.json POST /open-api/v1.0/collections","href":"/api-reference/platform/collections/create-collection"},{"title":"Get collection by ID or slug","openapi":"openapi/platform.json GET /open-api/v1.0/collections/{collectionIdOrSlug}","href":"/api-reference/platform/collections/get-collection"},{"title":"Get products in a collection","openapi":"openapi/platform.json GET /open-api/v1.0/collections/{collectionId}/products","href":"/api-reference/platform/collections/get-collection-products"},{"title":"Update a collection","openapi":"openapi/platform.json PUT /open-api/v1.0/collections/{collectionId}","href":"/api-reference/platform/collections/update-collection"},{"title":"Update collection availability","openapi":"openapi/platform.json PUT /open-api/v1.0/collections/{collectionId}/availability","href":"/api-reference/platform/collections/update-collection-availability"},{"title":"Set collection products","openapi":"openapi/platform.json PUT /open-api/v1.0/collections/{collectionId}/products","href":"/api-reference/platform/collections/update-collection-products"}]},{"group":"Thank Yous","pages":[{"title":"Get Thank You","openapi":"openapi/platform.json GET /open-api/v1.0/thank-yous/{thankYouId}","href":"/api-reference/platform/thank-yous/get-thank-you"},{"title":"List Contributions Awaiting Thank You","openapi":"openapi/platform.json GET /open-api/v1.0/thank-you-contributions","href":"/api-reference/platform/thank-yous/list-contributions"},{"title":"Create Thank You","openapi":"openapi/platform.json POST /open-api/v1.0/thank-you-contributions/{id}","href":"/api-reference/platform/thank-yous/create-thank-you"}]},{"group":"Platform Token","pages":[{"title":"Exchange Token","openapi":"openapi/platform.json POST /open-api/v1.0/platform/token","href":"/api-reference/platform/platform-token/exchange-token"}]},{"group":"Webhook Events","pages":[{"title":"Order placed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook ORDER_PLACED","href":"/api-reference/order-events/order-placed"},{"title":"Order updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook ORDER_UPDATED","href":"/api-reference/order-events/order-updated"},{"title":"Gift purchase","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook GIFT_PURCHASE","href":"/api-reference/order-events/gift-purchase"},{"title":"Product created","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PRODUCT_CREATED","href":"/api-reference/product-events/product-created"},{"title":"Product updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PRODUCT_UPDATED","href":"/api-reference/product-events/product-updated"},{"title":"Donation","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook DONATION","href":"/api-reference/order-events/donation"},{"title":"Subscription purchased","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook SUBSCRIPTION_PURCHASED","href":"/api-reference/membership-events/subscription-purchased"},{"title":"Subscription expired","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook SUBSCRIPTION_EXPIRED","href":"/api-reference/membership-events/subscription-expired"},{"title":"Subscription changed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook SUBSCRIPTION_CHANGED","href":"/api-reference/membership-events/subscription-changed"},{"title":"Newsletter subscribed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook NEWSLETTER_SUBSCRIBED","href":"/api-reference/newsletter-events/newsletter-subscribed"},{"title":"Thank you sent","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook THANK_YOU_SENT","href":"/api-reference/thank-you-events/thank-you-sent"},{"title":"Gift draw started","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook GIFT_DRAW_STARTED","href":"/api-reference/giveaway-events/gift-draw-started"},{"title":"Gift draw ended","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook GIFT_DRAW_ENDED","href":"/api-reference/giveaway-events/gift-draw-ended"},{"title":"Promotion created","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PROMOTION_CREATED","href":"/api-reference/promotion-events/promotion-created"},{"title":"Promotion updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PROMOTION_UPDATED","href":"/api-reference/promotion-events/promotion-updated"},{"title":"Promotion status changed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PROMOTION_STATUS_CHANGED","href":"/api-reference/promotion-events/promotion-status-changed"},{"title":"Platform app disconnected","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PLATFORM_APP_DISCONNECTED","href":"/api-reference/platform-events/platform-app-disconnected"},{"title":"Collection updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook COLLECTION_UPDATED","href":"/api-reference/collection-events/collection-updated"},{"title":"Cart abandoned 1 hour","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook CART_ABANDONED_1H","href":"/api-reference/cart-events/cart-abandoned-1-hour"},{"title":"Cart abandoned 24 hours","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook CART_ABANDONED_24H","href":"/api-reference/cart-events/cart-abandoned-24-hours"},{"title":"Cart abandoned 72 hours","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook CART_ABANDONED_72H","href":"/api-reference/cart-events/cart-abandoned-72-hours"}]}]},{"tab":"Storefront API","pages":[{"title":"Storefront API","href":"/api-reference/storefront/shop/get-shop"}]},{"tab":"Memberships API","hidden":false,"pages":[{"title":"Memberships API","href":"/api-reference/membership/getting-started-images"}]},{"tab":"Channel API","hidden":true,"pages":[{"title":"Channel API","href":"/channel-api/authentication"}]}]},"basePath":"","title":"Finish Draw - Fourthwall Developer Docs","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-jJHA3WSo.js","utils-DbZn3Mjn.js","cloneDeep-CnBnaSyy.js","_Uint8Array-CMQtTgBR.js","isObject-FP1Yky1u.js","utils-Bl2DvzOJ.js","addUniqueKeysToSchema-BwOLo9p1.js","snippetPresets-BBiPpKa-.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-C0px4Tml.js","isEqual-zAyttAAO.js","usePlaygroundInputsStore-Dell6dGw.js","shallow-0VKqkSqN.js","getApiPlaygroundDisplay-CP_ctPEB.js","CodeSnippet-5L35ic0s.js","CodeSnippets-DOXbNhJw.js","Page-DRLI_2Ue.js","getPastedJson-VhzT9m2P.js","icon-CD8_AtCO.js","MethodPill-DGgOMftG.js","DuplicateIcon-DZ6A_EtN.js","createIcon-DUl4oM5f.js","DynamicMarkdown-BGHukeRM.js","SectionHeading-ChrEUs8u.js","axios-vUo_bRtp.js","Markdown-Dj-na-_-.js","dist-C5gjFYHe.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-DEBW87tT.js"]}