This gift link can be sent to the recipient or shared with the sender.
For privacy reasons, this gift link does not display tracking
information. A separate link, the recipient link, is sent directly to
the recipient after they accept their gift, which does contain
tracking information.
If this gift was swapped by the recipient. Swapping allows a recipient to select another product or products, which replaces the cart. The original products are saved to original_cart.
The reference ID displayed on receipts and other locations as the ID for this order.
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Goody Developers","description":"Build on Goody: send gifts and physical products programmatically with the Goody API, or gift in natural language from Claude and other AI assistants with the Goody MCP server.","colors":{"primary":"#9159D6","light":"#B584F1","dark":"#9159D6"},"logo":{"light":"https://mintcdn.com/goody/UtvUnxw3LhFrdzGW/logo.svg?fit=max\u0026auto=format\u0026n=UtvUnxw3LhFrdzGW\u0026q=85\u0026s=271862d59190ae3cec0a504caf00f0dc","dark":"https://mintcdn.com/goody/UtvUnxw3LhFrdzGW/logo.svg?fit=max\u0026auto=format\u0026n=UtvUnxw3LhFrdzGW\u0026q=85\u0026s=271862d59190ae3cec0a504caf00f0dc"},"favicon":"https://mintcdn.com/goody/UtvUnxw3LhFrdzGW/favicon.png?fit=max\u0026auto=format\u0026n=UtvUnxw3LhFrdzGW\u0026q=85\u0026s=974bb2155b182f71382074bbbd8d109c","api":{"openapi":"goody-api-openapi.json","mdx":{"auth":{"method":"bearer"},"server":"https://api.ongoody.com"}},"navbar":{"links":[{"href":"https://www.ongoody.com/plus/organization/api/commerce","label":"Commerce API Keys"},{"href":"https://www.ongoody.com/plus/organization/api/automation","label":"Automation API Keys"}]},"footer":{"socials":{"twitter":"https://twitter.com/goodygifting","linkedin":"https://www.linkedin.com/company/ongoody","instagram":"https://instagram.com/ongoody"}},"seo":{"metatags":{"og:site_name":"Goody Developers","twitter:card":"summary_large_image","keywords":"Goody API, Goody MCP server, gifting API, gift API, MCP server, send gifts with AI, Claude gifting connector, business gifting, autogift"}},"integrations":{"ga4":{"measurementId":"G-7CST37MNCX"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"goody","hasAudioNarration":false,"actualSubdomain":"goody","customDomains":["developer.ongoody.com"],"gitSource":{"type":"github","owner":"mark-goody","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac7a8825b1873d75a499d88","collectionId":"f8a426a1-1ab1-423e-bb23-3c796a6f3de8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac7a8825b1873d75a499d88"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ac7a8825b1873d75a499d88","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Schemas","count":46},{"language":"default","tag":"API Reference","count":44},{"language":"default","tag":"Documentation","count":38},{"language":"default","tag":"MCP Reference","count":31},{"language":"default","tag":"Webhooks","count":12},{"language":"default","tag":"Events","count":10},{"language":"default","tag":"Commerce API","count":8},{"language":"default","tag":"Automation API","count":7},{"language":"default","tag":"Send \u0026 track gifts","count":7},{"language":"default","tag":"Order Batches","count":6}]},"assistantConfig":{},"hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"webhooks/events/order.canceled","slug":"/webhooks/events/order.canceled","pageMetadata":{"title":"Event: order.canceled","sidebarTitle":"order.canceled","description":"Emitted when an order has been canceled.","href":"/webhooks/events/order.canceled"},"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: \"Emitted when an order has been canceled.\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`56`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`56`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"order.canceled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ad097c47-bf12-45c9-8feb-0536a0012c09\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8999f804-d731-440d-a67d-35444c12c493\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"individual_gift_link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://gifts.ongoody.com/gift/IsDyQQWtqrOyGPgZ9bVm6ptz\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient_first_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Alena\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient_last_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Kenter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient_email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"alena@ongoody.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"card_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7e79fd96-212b-4468-9989-57b896ca22f4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Thank you!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"thank_you_note\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"view_count_recipient\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_swapped\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_batch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"d158184c-6b31-4a72-b39f-8f8ca04ecbdd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cart\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3ff7dab1-ae03-4b20-a2c8-82a3f3326b83\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"284dc74f-a2c4-4b62-bfe5-94c464d56ea7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quantity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"product\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10227d72-c355-4881-8007-aad34f501055\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cookies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"brand\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fe370ec6-1208-4d23-b936-de857ceeae6d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cookie Company\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"shipments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amounts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_product\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_shipping\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_processing_fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_pre_tax_total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_tax\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_global_relay_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sender\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"first_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Test\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"User\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"15551494889@test.ongoody.com\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dfe0d5cb-2c98-4800-a950-b40cca509250\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Test Team\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"original_cart\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"original_amounts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reference_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2MUPN0YMGIDT7TJNPPFPB7WE\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`schema`,children:`Schema`}),`\n`,_jsx(ParamField,{query:`event_type`,type:`string`,required:true,id:`param-event-type`,children:_jsx(_components.p,{children:`The type of event that occurred`})}),`\n`,_jsx(ParamField,{query:`event_id`,type:`string`,required:true,id:`param-event-id`,children:_jsx(_components.p,{children:`The unique ID for this event`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`An individual order contains the gift link to be sent to the recipient (if applicable) and other information about the order.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,required:true,id:`param-id`}),_jsx(ResponseField,{name:`recipient_first_name`,type:`string`,required:true,id:`param-recipient-first-name`}),_jsx(ResponseField,{name:`recipient_last_name`,type:`string`,id:`param-recipient-last-name`}),_jsx(ResponseField,{name:`recipient_email`,type:`string`,id:`param-recipient-email`}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:_jsxs(_components.p,{children:[`Allowed values: `,_jsx(_components.code,{children:`created`}),` `,_jsx(_components.code,{children:`notified`}),` `,_jsx(_components.code,{children:`opened`}),` `,_jsx(_components.code,{children:`accepted`}),`\n`,_jsx(_components.code,{children:`pending_payment`}),` `,_jsx(_components.code,{children:`paid`}),` `,_jsx(_components.code,{children:`ordered`}),` `,_jsx(_components.code,{children:`shipped`}),` `,_jsx(_components.code,{children:`delivered`}),` `,_jsx(_components.code,{children:`failed`}),`\n`,_jsx(_components.code,{children:`canceled`})]})}),_jsx(ResponseField,{name:`individual_gift_link`,type:`string`,required:true,id:`param-individual-gift-link`,children:_jsx(_components.p,{children:`This gift link can be sent to the recipient or shared with the sender.\nFor privacy reasons, this gift link does not display tracking\ninformation. A separate link, the recipient link, is sent directly to\nthe recipient after they accept their gift, which does contain\ntracking information.`})}),_jsxs(ResponseField,{name:`cart`,type:`object`,required:true,id:`param-cart`,children:[_jsxs(_components.p,{children:[`The cart currently on this order. If the order is a gift that was\nswapped, `,_jsx(_components.code,{children:`cart`}),` displays the most recent products selected (i.e.\npost-swap).`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,required:true,id:`param-id-1`}),_jsx(ResponseField,{name:`items`,type:`array[object]`,id:`param-items`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,required:true,id:`param-id-2`}),_jsx(ResponseField,{name:`product`,type:`object`,required:true,id:`param-product`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,required:true,id:`param-id-3`}),_jsx(ResponseField,{name:`name`,type:`string`,required:true,id:`param-name`}),_jsxs(ResponseField,{name:`brand`,type:`object`,required:true,id:`param-brand`,children:[_jsx(_components.p,{children:`The brand that this product is from.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,required:true,id:`param-id-4`}),_jsx(ResponseField,{name:`name`,type:`string`,required:true,id:`param-name-1`})]})]})]})}),_jsx(ResponseField,{name:`quantity`,type:`integer`,required:true,id:`param-quantity`})]})})]})]}),_jsxs(ResponseField,{name:`shipments`,type:`array[object]`,required:true,id:`param-shipments`,children:[_jsx(_components.p,{children:`A list of the shipments for the order.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,required:true,id:`param-id-5`}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-1`,children:_jsxs(_components.p,{children:[`Allowed values: `,_jsx(_components.code,{children:`pending`}),` `,_jsx(_components.code,{children:`tracking`}),` `,_jsx(_components.code,{children:`shipped`}),` `,_jsx(_components.code,{children:`delivered`}),` `,_jsx(_components.code,{children:`delivered_override`}),` `,_jsx(_components.code,{children:`failed`}),` `,_jsx(_components.code,{children:`failed_unset_tracking`}),` `,_jsx(_components.code,{children:`failed_with_reship`})]})}),_jsx(ResponseField,{name:`brand_name`,type:`string`,required:true,id:`param-brand-name`,children:_jsx(_components.p,{children:`The name of the brand that this shipment is from`})}),_jsx(ResponseField,{name:`tracking_carrier`,type:`string`,id:`param-tracking-carrier`,children:_jsx(_components.p,{children:`The carrier for this shipment, e.g. UPS.`})}),_jsx(ResponseField,{name:`tracking_number`,type:`string`,id:`param-tracking-number`,children:_jsx(_components.p,{children:`Only for approved distribution partners.`})}),_jsx(ResponseField,{name:`shipped_at`,type:`string\u003cdate-time>`,id:`param-shipped-at`,children:_jsx(_components.p,{children:`ISO 8601`})}),_jsx(ResponseField,{name:`delivered_at`,type:`string\u003cdate-time>`,id:`param-delivered-at`,children:_jsx(_components.p,{children:`ISO 8601`})}),_jsx(ResponseField,{name:`delivery_eta`,type:`string\u003cdate-time>`,id:`param-delivery-eta`,children:_jsx(_components.p,{children:`The estimated delivery time of this shipment.`})})]})]}),_jsx(ResponseField,{name:`workspace_id`,type:`string\u003cuuid>`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`Organizations are sub-divided into workspaces. Orders are contained in workspaces, identified by this ID.`})}),_jsx(ResponseField,{name:`workspace_name`,type:`string`,id:`param-workspace-name`}),_jsx(ResponseField,{name:`expires_at`,type:`string\u003cdate-time>`,id:`param-expires-at`,children:_jsx(_components.p,{children:`For gifts, the date and time the gift is set to expire.`})}),_jsx(ResponseField,{name:`card_id`,type:`string`,id:`param-card-id`,children:_jsx(_components.p,{children:`The digital greeting card on this gift.`})}),_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`The message in this gift, provided by the sender.`})}),_jsx(ResponseField,{name:`thank_you_note`,type:`string`,id:`param-thank-you-note`,children:_jsx(_components.p,{children:`A thank you note sent by the recipient.`})}),_jsx(ResponseField,{name:`view_count_recipient`,type:`integer`,id:`param-view-count-recipient`,children:_jsx(_components.p,{children:`The number of times the recipient viewed the gift.`})}),_jsx(ResponseField,{name:`is_swapped`,type:`boolean`,id:`param-is-swapped`,children:_jsxs(_components.p,{children:[`If this gift was swapped by the recipient. Swapping allows a recipient to select another product or products, which replaces the `,_jsx(_components.code,{children:`cart`}),`. The original products are saved to `,_jsx(_components.code,{children:`original_cart`}),`.`]})}),_jsx(ResponseField,{name:`order_batch_id`,type:`string\u003cuuid>`,id:`param-order-batch-id`,children:_jsx(_components.p,{children:`On Goody for Business, all orders are attached to a order batch, which is a collection of one or more orders.`})}),_jsxs(ResponseField,{name:`amounts`,type:`object`,required:true,id:`param-amounts`,children:[_jsxs(_components.p,{children:[`Costs in USD cents (i.e. $1.00 = 100). If the order was swapped, `,_jsx(_components.code,{children:`amounts`}),` displays the most recent amounts (i.e. post-swap).`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`amount_product`,type:`integer`,required:true,id:`param-amount-product`,children:_jsx(_components.p,{children:`Total cost of the products in this order.`})}),_jsx(ResponseField,{name:`amount_shipping`,type:`integer`,required:true,id:`param-amount-shipping`,children:_jsx(_components.p,{children:`Total cost of shipping for this order.`})}),_jsx(ResponseField,{name:`amount_processing_fee`,type:`integer`,id:`param-amount-processing-fee`,children:_jsx(_components.p,{children:`Total cost of processing fees for this order.`})}),_jsx(ResponseField,{name:`amount_credit_applied`,type:`integer`,id:`param-amount-credit-applied`,children:_jsx(_components.p,{children:`Total amount of credit applied to this order.`})}),_jsx(ResponseField,{name:`amount_pre_tax_total`,type:`integer`,required:true,id:`param-amount-pre-tax-total`,children:_jsx(_components.p,{children:`Total cost of the products, shipping, and processing fees in this order.`})}),_jsx(ResponseField,{name:`amount_tax`,type:`integer`,id:`param-amount-tax`,children:_jsx(_components.p,{children:`Total tax for this order.`})}),_jsx(ResponseField,{name:`amount_total`,type:`integer`,id:`param-amount-total`,children:_jsx(_components.p,{children:`Total cost of the products, shipping, processing fees, tax, and global shipping costs in this order.`})}),_jsx(ResponseField,{name:`amount_global_relay_cost`,type:`integer`,id:`param-amount-global-relay-cost`,children:_jsx(_components.p,{children:`Total cost of global shipping for this order through the Global Relay service.`})})]})]}),_jsxs(ResponseField,{name:`event_times`,type:`object`,id:`param-event-times`,children:[_jsx(_components.p,{children:`Only provided when calling the /orders/:id endpoint.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`created_at`,type:`string\u003cdate-time>`,required:true,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601`})}),_jsx(ResponseField,{name:`notified_at`,type:`string\u003cdate-time>`,id:`param-notified-at`,children:_jsx(_components.p,{children:`When the recipient was notified of the order.`})}),_jsx(ResponseField,{name:`opened_at`,type:`string\u003cdate-time>`,id:`param-opened-at`,children:_jsx(_components.p,{children:`For gifts, when the recipient opened the order.`})}),_jsx(ResponseField,{name:`accepted_at`,type:`string\u003cdate-time>`,id:`param-accepted-at`,children:_jsx(_components.p,{children:`For gifts, when the recipient accepted the order.`})}),_jsx(ResponseField,{name:`pending_payment_at`,type:`string\u003cdate-time>`,required:true,id:`param-pending-payment-at`,children:_jsx(_components.p,{children:`When the order entered pending payment status.`})}),_jsx(ResponseField,{name:`paid_at`,type:`string\u003cdate-time>`,id:`param-paid-at`,children:_jsx(_components.p,{children:`When the order was paid for.`})}),_jsx(ResponseField,{name:`shipped_at`,type:`string\u003cdate-time>`,id:`param-shipped-at-1`,children:_jsx(_components.p,{children:`When the order was first shipped. If there are multiple shipments, this is when the first shipment shipped.`})}),_jsx(ResponseField,{name:`delivered_at`,type:`string\u003cdate-time>`,id:`param-delivered-at-1`,children:_jsx(_components.p,{children:`When the order was delivered. If there are multiple shipments, this is when all shipments were delivered.`})})]})]}),_jsxs(ResponseField,{name:`original_cart`,type:`object`,id:`param-original-cart`,children:[_jsx(_components.p,{children:`If this order is a gift that was swapped, this displays the original cart that was sent to the recipient.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,id:`param-id-6`}),_jsx(ResponseField,{name:`items`,type:`array[object]`,id:`param-items-1`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,required:true,id:`param-id-7`}),_jsx(ResponseField,{name:`product`,type:`object`,required:true,id:`param-product-1`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,required:true,id:`param-id-8`}),_jsx(ResponseField,{name:`name`,type:`string`,required:true,id:`param-name-2`}),_jsxs(ResponseField,{name:`brand`,type:`object`,required:true,id:`param-brand-1`,children:[_jsx(_components.p,{children:`The brand that this product is from.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,required:true,id:`param-id-9`}),_jsx(ResponseField,{name:`name`,type:`string`,required:true,id:`param-name-3`})]})]})]})}),_jsx(ResponseField,{name:`quantity`,type:`integer`,required:true,id:`param-quantity-1`})]})})]})]}),_jsxs(ResponseField,{name:`original_amounts`,type:`object`,id:`param-original-amounts`,children:[_jsx(_components.p,{children:`If this order is a gift that was swapped, this displays the original amounts of the cart that was sent to the recipient.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`original_amount_product`,type:`integer`,id:`param-original-amount-product`}),_jsx(ResponseField,{name:`original_amount_shipping`,type:`integer`,id:`param-original-amount-shipping`}),_jsx(ResponseField,{name:`original_amount_credit_applied`,type:`integer`,id:`param-original-amount-credit-applied`}),_jsx(ResponseField,{name:`original_amount_pre_tax_total`,type:`integer`,id:`param-original-amount-pre-tax-total`})]})]}),_jsxs(ResponseField,{name:`sender`,type:`object`,required:true,id:`param-sender`,children:[_jsx(_components.p,{children:`The Goody user who sent this order.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`first_name`,type:`string`,required:true,id:`param-first-name`}),_jsx(ResponseField,{name:`last_name`,type:`string`,required:true,id:`param-last-name`}),_jsx(ResponseField,{name:`email`,type:`string`,required:true,id:`param-email`})]})]}),_jsx(ResponseField,{name:`reference_id`,type:`string`,required:true,id:`param-reference-id`,children:_jsx(_components.p,{children:`The reference ID displayed on receipts and other locations as the ID for this order.`})})]})]})]})}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":"Event: order.canceled","sidebarTitle":"order.canceled","description":"Emitted when an order has been canceled.","href":"/webhooks/events/order.canceled"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Schema","slug":"schema","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"goody","siteName":"Goody Developers","title":"Event: order.canceled - Goody Developers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-11-05T17:26:00.953Z","originalFileLocation":"webhooks/events/order.canceled.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=\"Emitted when an order has been canceled.\">\u003cmeta data-mint-head name=\"keywords\" content=\"Goody API, Goody MCP server, gifting API, gift API, MCP server, send gifts with AI, Claude gifting connector, business gifting, autogift\">\u003cmeta data-mint-head name=\"application-name\" content=\"Goody Developers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/goody/cgM3s1zMuye1hA-n/_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/goody/cgM3s1zMuye1hA-n/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/goody/cgM3s1zMuye1hA-n/_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/goody/cgM3s1zMuye1hA-n/_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/goody/cgM3s1zMuye1hA-n/_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/goody/cgM3s1zMuye1hA-n/_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/goody/cgM3s1zMuye1hA-n/_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/goody/cgM3s1zMuye1hA-n/_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/goody/cgM3s1zMuye1hA-n/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Event: order.canceled - Goody Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Emitted when an order has been canceled.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Goody Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.ongoody.com/webhooks/events/order.canceled\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://goody.mintlify.app/_mintlify/api/og/v2?division=Events\u0026amp;title=Event%3A+order.canceled\u0026amp;description=Emitted+when+an+order+has+been+canceled.\u0026amp;theme=9ccd498c0c106549735ac92d\u0026amp;signature=b3c21c3c08ce8ef6e08af97e65c7693c7db47ba17011d9b1ea8a8e1a2e3f3cef\">\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=\"Event: order.canceled - Goody Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Emitted when an order has been canceled.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://goody.mintlify.app/_mintlify/api/og/v2?division=Events\u0026amp;title=Event%3A+order.canceled\u0026amp;description=Emitted+when+an+order+has+been+canceled.\u0026amp;theme=9ccd498c0c106549735ac92d\u0026amp;signature=b3c21c3c08ce8ef6e08af97e65c7693c7db47ba17011d9b1ea8a8e1a2e3f3cef\">\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/goody/cgM3s1zMuye1hA-n/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Goody Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9159D6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.ongoody.com/webhooks/events/order.canceled\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/webhooks/events/order.canceled.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.ongoody.com/#organization\",\"name\":\"Goody Developers\",\"url\":\"https://developer.ongoody.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/goody/UtvUnxw3LhFrdzGW/logo.svg?fit=max\u0026auto=format\u0026n=UtvUnxw3LhFrdzGW\u0026q=85\u0026s=271862d59190ae3cec0a504caf00f0dc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.ongoody.com#website\",\"name\":\"Goody Developers\",\"url\":\"https://developer.ongoody.com\",\"publisher\":{\"@id\":\"https://developer.ongoody.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.ongoody.com/webhooks/events/order.canceled#webpage\",\"url\":\"https://developer.ongoody.com/webhooks/events/order.canceled\",\"name\":\"Event: order.canceled\",\"description\":\"Emitted when an order has been canceled.\",\"dateModified\":\"2025-11-05T17:26:00.953Z\",\"isPartOf\":{\"@id\":\"https://developer.ongoody.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.ongoody.com/webhooks/events/order.canceled#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.ongoody.com/webhooks/events/order.canceled#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://developer.ongoody.com/webhooks/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Events\",\"item\":\"https://developer.ongoody.com/webhooks/events/order_batch.created\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Event: order.canceled\",\"item\":\"https://developer.ongoody.com/webhooks/events/order.canceled\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developer.ongoody.com/webhooks/events/order.canceled#article\",\"headline\":\"Event: order.canceled\",\"name\":\"Event: order.canceled\",\"description\":\"Emitted when an order has been canceled.\",\"url\":\"https://developer.ongoody.com/webhooks/events/order.canceled\",\"mainEntityOfPage\":{\"@id\":\"https://developer.ongoody.com/webhooks/events/order.canceled#webpage\"},\"dateModified\":\"2025-11-05T17:26:00.953Z\",\"publisher\":{\"@id\":\"https://developer.ongoody.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.ongoody.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Goody Developers\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Goody Developers","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Introduction","pages":[{"title":"Goody for developers","sidebarTitle":"Overview","href":"/introduction/overview"},{"title":"Order lifecycle","href":"/introduction/order-lifecycle"},{"title":"Send methods","href":"/introduction/send-methods"},{"title":"Developer mode","href":"/introduction/developer-mode"},{"title":"Ship to address","href":"/introduction/send-to-address"}]},{"group":"Commerce API","pages":[{"title":"Goody Commerce API","sidebarTitle":"Overview","href":"/commerce-api/overview"},{"title":"Commerce API: Authentication","sidebarTitle":"Authentication","href":"/commerce-api/authentication"},{"title":"Commerce API: Access the product catalog","sidebarTitle":"Access the catalog","href":"/commerce-api/access-the-catalog"},{"title":"Commerce API: Create an order","sidebarTitle":"Create an order","href":"/commerce-api/create-an-order"},{"title":"Commerce API: Retrieve order status","sidebarTitle":"Retrieve order status","href":"/commerce-api/retrieve-order-status"},{"title":"Commerce API: Webhooks","sidebarTitle":"Webhooks","href":"/commerce-api/webhooks"},{"title":"Commerce API: Payment","sidebarTitle":"Payment","href":"/commerce-api/payment"},{"title":"Embedded Payment Form","href":"/commerce-api/embedded-payment-form"}]},{"group":"Automation API","pages":[{"title":"Goody Automation API","sidebarTitle":"Overview","href":"/automation-api/overview"},{"title":"Automation API: Authentication","sidebarTitle":"Authentication","href":"/automation-api/authentication"},{"title":"Automation API: Create an order","sidebarTitle":"Create an order","href":"/automation-api/create-an-order"},{"title":"Automation API: Retrieve order status","sidebarTitle":"Retrieve order status","href":"/automation-api/retrieve-order-status"},{"title":"Automation API: Webhooks","sidebarTitle":"Webhooks","href":"/automation-api/webhooks"},{"title":"Automation API: Access the product catalog","sidebarTitle":"Access the catalog","href":"/automation-api/access-the-catalog"},{"title":"Automation API: Zapier","sidebarTitle":"Zapier","href":"/automation-api/zapier"}]},{"group":"MCP server","pages":[{"title":"Goody MCP Server","sidebarTitle":"Overview","href":"/mcp/overview"},{"title":"Connect Goody to Claude","sidebarTitle":"Connect","href":"/mcp/connect"},{"title":"Authentication \u0026 permissions","sidebarTitle":"Authentication","href":"/mcp/authentication"},{"title":"The gifting flow","sidebarTitle":"Gifting flow","href":"/mcp/gifting-flow"},{"title":"Data handling \u0026 support","sidebarTitle":"Data handling","href":"/mcp/data-handling"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","sidebarTitle":"Webhook Setup","href":"/webhooks/overview"},{"title":"Webhook security","sidebarTitle":"Security","href":"/webhooks/webhook-security"},{"group":"Events","pages":[{"sidebarTitle":"order_batch.created","title":null,"href":"/webhooks/events/order_batch.created"},{"title":"Event: order_batch.completed","sidebarTitle":"order_batch.completed","href":"/webhooks/events/order_batch.completed"},{"title":"Event: order.created","sidebarTitle":"order.created","href":"/webhooks/events/order.created"},{"title":"Event: order.gift_opened","sidebarTitle":"order.gift_opened","href":"/webhooks/events/order.gift_opened"},{"title":"Event: order.gift_accepted","sidebarTitle":"order.gift_accepted","href":"/webhooks/events/order.gift_accepted"},{"title":"Event: order.thank_you_note_added","sidebarTitle":"order.thank_you_note_added","href":"/webhooks/events/order.thank_you_note_added"},{"title":"Event: order.shipped","sidebarTitle":"order.shipped","href":"/webhooks/events/order.shipped"},{"title":"Event: order.delivered","sidebarTitle":"order.delivered","description":"Emitted when an order has been delivered. If the order has multiple shipments, this is emitted when all shipments have been delivered.","href":"/webhooks/events/order.delivered"},{"title":"Event: order.canceled","sidebarTitle":"order.canceled","href":"/webhooks/events/order.canceled"},{"title":"Event: order.refunded","sidebarTitle":"order.refunded","description":"Emitted when an order has been refunded.","href":"/webhooks/events/order.refunded"}]}]},{"group":"Resources","pages":[{"title":"Changelog","href":"/resources/changelog"}]}]},{"anchor":"API Reference","icon":"square-terminal","pages":[{"title":"API Reference","href":"/api-reference/order-batches/create-an-order-batch"}]},{"anchor":"MCP Reference","icon":"robot","pages":[{"title":"MCP Reference","href":"/mcp-reference/capabilities"}]}]},"title":"Event: order.canceled - Goody Developers","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":[],"chunks":[]}