Open a support case when you need Zinc’s help with an order: a package that never arrived, a damaged item, a billing question. Zinc support replies on the case, and the whole conversation stays on it. Follow it with Get Case or the case webhooks.The request is a multipart form, not JSON, so photos and PDFs can be attached in the same call:
The reason routes the case to the right people. It doesn’t trigger anything automatically: a damaged_or_wrong_item case doesn’t file a return, and a cancellation case doesn’t cancel the order. To start a return, use Create Return Request.
Reason
When to use
not_received
The order, or a package on it, never arrived
missing_item
A package arrived, but an item from it is missing
late
The order is past its estimated delivery date and hasn’t arrived
damaged_or_wrong_item
An item arrived damaged, or a different item came instead
cancellation
A question about a cancellation, or a request to cancel
address_change
The shipping address needs to change
return
A question about an existing return request. Pass its return_request_id
billing
A charge, credit or wallet question about the order
The order is order_placed, cancelled or cancelled_by_retailer. Otherwise the call fails with 400, code: "case_not_allowed" and details.reason: "order_status".
The order is inside the case window: 30 days after the latest delivery or estimated delivery date across its packages, or 90 days after the order was created when it has no tracking yet. Past the window, the call fails with 400, code: "case_not_allowed" and details.reason: "window_closed".
The order has no other open case. An order has at most one case that isn’t closed. A second one fails with 409, and details.case_id names the open case, so reply on that one with Post Case Message instead:
{ "code": "already_exists", "message": "There is already an open case on this order", "details": { "resource": "SupportCase", "identifier": "550e8400-e29b-41d4-a716-446655440000", "conflict": "case_already_open", "case_id": "3f2c9a8e-1b4d-4e6f-9a7b-2c8d5e1f0a3b" }}
A failed request saves nothing: no case, message or file.
Status
code
Cause
404
not_found
No order with that ID, or it belongs to another team
413
A file is over 25 MB
415
A file isn’t JPEG, PNG, WebP, HEIC or PDF
422
validation_error
No message and no files, a message over 5,000 characters, more than 5 files, reason=return without return_request_id, or a return_request_id from a different order
open — waiting on Zinc. waiting_on_customer — Zinc replied and is waiting on you. on_hold — waiting on the retailer or carrier. closed — resolved; replying reopens it within the case window.
Who opened the case: a teammate's name, or Zinc support when Zinc reached out. (The case.created webhook's opened_by is the side instead: customer or zinc.)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Zinc Docs","colors":{"primary":"#386DF0","light":"#FFFEF9","dark":"#292724"},"logo":{"light":"https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/logo/light.png?fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=633d13238d6799080400fbb91b9d08b7","dark":"https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/logo/dark.png?fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=2838196e697c37fe7cdfd161d33f0650","href":"https://zinc.com"},"favicon":"https://mintcdn.com/zinc/6WBnGJAdgAZ2bveD/favicon.svg?fit=max\u0026auto=format\u0026n=6WBnGJAdgAZ2bveD\u0026q=85\u0026s=ff98cf52a415bcea465dcad9a6720435","navbar":{"links":[{"href":"mailto:support@zinc.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.zinc.com"}},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zinc","hasAudioNarration":false,"actualSubdomain":"zinc","customDomains":["www.zinc.com"],"gitSource":{"type":"github","owner":"zincio","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aee5aa0ffd55714aaac6f06","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":82},{"language":"default","tag":"Guides","count":22},{"language":"default","tag":"Orders","count":14},{"language":"default","tag":"Object Reference","count":13},{"language":"default","tag":"Objects","count":13},{"language":"default","tag":"Getting Started","count":11},{"language":"default","tag":"Cases","count":8},{"language":"default","tag":"Agent Sandbox","count":8},{"language":"default","tag":"Product Data","count":6},{"language":"default","tag":"Introduction","count":5}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"llms-txt-v2","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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#footer{display:none}:root{--primary: 56 109 240;--primary-light: 255 254 249;--primary-dark: 41 39 36;--background-light: 255 254 249;--background-dark: 41 39 36;--grey-900: #29272480 !important}"},{"filePath":"custom.css","content":"table th{text-align:left!important}.frame{background-color:rgba(255, 254, 249, 0.5)!important}.dark .frame{background-color:rgba(41, 39, 36, 0.25)!important}.frame [class*=\"bg-grid\"]{display:none!important}h3+.frame img,h3+.frame video{aspect-ratio:2048 / 1350!important;object-fit:contain;width:100%}"}],"page":{"pagePath":"v2/api-reference/cases/create-case","slug":"/v2/api-reference/cases/create-case","pageMetadata":{"title":"Create Case","description":"Open a support case on a Zinc order, with an optional message and attachments.","openapi":"versions/latest.json POST /cases","href":"/v2/api-reference/cases/create-case"},"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: \"Open a support case on a Zinc order, with an optional message and attachments.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Open a support case when you need Zinc’s help with an order: a package that never arrived, a damaged item, a billing question. Zinc support replies on the case, and the whole conversation stays on it. Follow it with `,_jsx(_components.a,{href:`/v2/api-reference/cases/get-case`,children:`Get Case`}),` or the `,_jsx(_components.a,{href:`/v2/api-reference/introduction/webhooks#case-events`,children:`case webhooks`}),`.`]}),`\n`,_jsx(_components.p,{children:`The request is a multipart form, not JSON, so photos and PDFs can be attached in the same call:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.zinc.com/cases\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003cyour_api_key>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"order_id=550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reason=damaged_or_wrong_item\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"body=The mug arrived cracked. Photo attached.\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"files=@cracked-mug.jpg\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`order_id`}),`: the order the case is about. Any order your team can see works.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`reason`}),`: one of the reasons below.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`body`}),`: your message, up to 5,000 characters. It can be empty if you attach at least one file.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`return_request_id`}),` (optional): links the case to a `,_jsx(_components.a,{href:`/v2/api-reference/returns/get-return`,children:`return request`}),` on the same order. Required when `,_jsx(_components.code,{children:`reason`}),` is `,_jsx(_components.code,{children:`return`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`files`}),` (optional): up to 5 attachments, 25 MB each, as JPEG, PNG, WebP, HEIC or PDF. Repeat the `,_jsx(_components.code,{children:`files`}),` field once per file.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`reasons`,children:`Reasons`}),`\n`,_jsxs(_components.p,{children:[`The reason routes the case to the right people. It doesn’t trigger anything automatically: a `,_jsx(_components.code,{children:`damaged_or_wrong_item`}),` case doesn’t file a return, and a `,_jsx(_components.code,{children:`cancellation`}),` case doesn’t cancel the order. To start a return, use `,_jsx(_components.a,{href:`/v2/api-reference/returns/create-return`,children:`Create Return Request`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Reason`}),_jsx(_components.th,{children:`When to use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_received`})}),_jsx(_components.td,{children:`The order, or a package on it, never arrived`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`missing_item`})}),_jsx(_components.td,{children:`A package arrived, but an item from it is missing`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`late`})}),_jsx(_components.td,{children:`The order is past its estimated delivery date and hasn’t arrived`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`damaged_or_wrong_item`})}),_jsx(_components.td,{children:`An item arrived damaged, or a different item came instead`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancellation`})}),_jsx(_components.td,{children:`A question about a cancellation, or a request to cancel`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address_change`})}),_jsx(_components.td,{children:`The shipping address needs to change`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`return`})}),_jsxs(_components.td,{children:[`A question about an existing return request. Pass its `,_jsx(_components.code,{children:`return_request_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`billing`})}),_jsx(_components.td,{children:`A charge, credit or wallet question about the order`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`other`})}),_jsxs(_components.td,{children:[`Anything else. Explain in `,_jsx(_components.code,{children:`body`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`when-a-case-can-be-opened`,children:`When a case can be opened`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The order is `,_jsx(_components.code,{children:`order_placed`}),`, `,_jsx(_components.code,{children:`cancelled`}),` or `,_jsx(_components.code,{children:`cancelled_by_retailer`}),`. Otherwise the call fails with `,_jsx(_components.code,{children:`400`}),`, `,_jsx(_components.code,{children:`code: \"case_not_allowed\"`}),` and `,_jsx(_components.code,{children:`details.reason: \"order_status\"`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The order is inside the `,_jsx(_components.strong,{children:`case window`}),`: 30 days after the latest delivery or estimated delivery date across its packages, or 90 days after the order was created when it has no tracking yet. Past the window, the call fails with `,_jsx(_components.code,{children:`400`}),`, `,_jsx(_components.code,{children:`code: \"case_not_allowed\"`}),` and `,_jsx(_components.code,{children:`details.reason: \"window_closed\"`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The order has no other open case. An order has at most one case that isn’t `,_jsx(_components.code,{children:`closed`}),`. A second one fails with `,_jsx(_components.code,{children:`409`}),`, and `,_jsx(_components.code,{children:`details.case_id`}),` names the open case, so reply on that one with `,_jsx(_components.a,{href:`/v2/api-reference/cases/post-case-message`,children:`Post Case Message`}),` instead:`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"already_exists\"`}),_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:`\"There is already an open case on this order\"`}),_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:` \"details\"`}),_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:` \"resource\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SupportCase\"`}),_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:` \"identifier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"550e8400-e29b-41d4-a716-446655440000\"`}),_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:` \"conflict\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"case_already_open\"`}),_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:` \"case_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3f2c9a8e-1b4d-4e6f-9a7b-2c8d5e1f0a3b\"`})]}),`\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:`other-errors`,children:`Other errors`}),`\n`,_jsx(_components.p,{children:`A failed request saves nothing: no case, message or file.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.th,{children:`Cause`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{children:`No order with that ID, or it belongs to another team`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`413`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`A file is over 25 MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`415`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`A file isn’t JPEG, PNG, WebP, HEIC or PDF`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`validation_error`})}),_jsxs(_components.td,{children:[`No message and no files, a message over 5,000 characters, more than 5 files, `,_jsx(_components.code,{children:`reason=return`}),` without `,_jsx(_components.code,{children:`return_request_id`}),`, or a `,_jsx(_components.code,{children:`return_request_id`}),` from a different order`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`The new case with `,_jsx(_components.code,{children:`status: \"open\"`}),` and your message as the first entry in `,_jsx(_components.code,{children:`messages`}),`. See `,_jsx(_components.a,{href:`/v2/api-reference/cases/get-case`,children:`Get Case`}),` for the full shape.`]})]})}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":"Create Case","description":"Open a support case on a Zinc order, with an optional message and attachments.","openapi":"versions/latest.json POST /cases","href":"/v2/api-reference/cases/create-case"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Reasons","slug":"reasons","depth":2,"children":[]},{"title":"When a case can be opened","slug":"when-a-case-can-be-opened","depth":2,"children":[]},{"title":"Other errors","slug":"other-errors","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/zinc/a05dd02b586c10cf/zinc-docs-nav.js"],"openApiReferenceData":{"operation":{"tags":["cases"],"summary":"Create Case","description":"Open a support case on a Zinc order, with an optional message and attachments.","operationId":"create_case_cases_post","parameters":["ec54f7b3-f6c2-4b39-9ae1-3f867662d870"],"requestBody":"6334baa1-8159-4707-9d61-74fbf1ebaca3","responses":{"201":"c6b4f8b8-8737-47ff-8033-0a805c5a30ee","400":"33b6657b-8ecd-41d3-8be3-e5a039bdff62","409":"f1c3c036-910c-4fcc-a853-b8c65f45a5a7","422":"a7d9af87-c1c6-494b-bc54-a7fcd6b797aa"},"method":"post","type":"path","servers":["242b190f-f687-4fb1-9e54-e9895cb8dba4"],"security":["26e54330-7172-4776-8e7c-0f9ce0bb9fd6"],"path":"/cases","baseUrlOptions":["https://api.zinc.com"],"title":"Create Case","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ec54f7b3-f6c2-4b39-9ae1-3f867662d870":{"name":"authorization","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"Authorization","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Authorization","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id","isRequired":true,"uniqueKey":"order_id","typeLabel":"string\u003cuuid>"},"reason":{"type":"string","enum":["not_received","missing_item","late","damaged_or_wrong_item","cancellation","address_change","return","billing","other"],"title":"CaseReason","description":"What a support case is about. Routing and reporting only — no reason\ntriggers automation.","isRequired":true,"uniqueKey":"reason","typeLabel":"enum\u003cstring>"},"body":{"type":"string","title":"Body","default":"","uniqueKey":"body","typeLabel":"string"},"return_request_id":{"oneOf":[{"type":"string","title":"Return Request Id","format":"uuid","uniqueKey":"return_request_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Return Request Id","uniqueKey":"return_request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_request_id","typeLabel":"string\u003cuuid> | null"},"files":{"items":{"type":"string","format":"binary","uniqueKey":"files.items.[INDEX]","typeLabel":"file"},"type":"array","title":"Files","default":[],"uniqueKey":"files","typeLabel":"file[]"}},"type":"object","required":["order_id","reason"],"title":"Body_create_case_cases_post","uniqueKey":"","typeLabel":"Body_create_case_cases_post · object"},"examples":{"Example":{"title":"Example","value":{"order_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","body":"","return_request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","files":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c6b4f8b8-8737-47ff-8033-0a805c5a30ee":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"order_id":{"type":"string","format":"uuid","title":"Order Id","isRequired":true,"uniqueKey":"order_id","typeLabel":"string\u003cuuid>"},"reason":{"type":"string","enum":["not_received","missing_item","late","damaged_or_wrong_item","cancellation","address_change","return","billing","other"],"title":"CaseReason","description":"What a support case is about. Routing and reporting only — no reason\ntriggers automation.","isRequired":true,"uniqueKey":"reason","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["open","waiting_on_customer","on_hold","closed"],"title":"CaseStatus","description":"`open` — waiting on Zinc. `waiting_on_customer` — Zinc replied and is waiting on you. `on_hold` — waiting on the retailer or carrier. `closed` — resolved; replying reopens it within the case window.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"return_request_id":{"oneOf":[{"type":"string","title":"Return Request Id","format":"uuid","uniqueKey":"return_request_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Return Request Id","uniqueKey":"return_request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_request_id","typeLabel":"string\u003cuuid> | null"},"credited_amount":{"type":"integer","title":"Credited Amount","description":"Total wallet credit issued from this case, in cents (net of reversals).","default":0,"uniqueKey":"credited_amount","typeLabel":"integer"},"opened_by_name":{"oneOf":[{"type":"string","title":"Opened By Name","description":"Who opened the case: a teammate's name, or `Zinc support` when Zinc reached out. (The `case.created` webhook's `opened_by` is the side instead: `customer` or `zinc`.)","uniqueKey":"opened_by_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Opened By Name","description":"Who opened the case: a teammate's name, or `Zinc support` when Zinc reached out. (The `case.created` webhook's `opened_by` is the side instead: `customer` or `zinc`.)","uniqueKey":"opened_by_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"opened_by_name","typeLabel":"string | null"},"closed_at":{"oneOf":[{"type":"string","title":"Closed At","format":"date-time","uniqueKey":"closed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Closed At","uniqueKey":"closed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"closed_at","typeLabel":"string\u003cdate-time> | null"},"messages":{"items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"messages.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"author":{"type":"string","enum":["customer","zinc","system"],"title":"Author","description":"`customer` (you or a teammate), `zinc` (our support team), or `system` (status changes, reopens, credits).","isRequired":true,"uniqueKey":"messages.items.[INDEX].author","typeLabel":"enum\u003cstring>"},"body":{"type":"string","title":"Body","isRequired":true,"uniqueKey":"messages.items.[INDEX].body","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"messages.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"author_name":{"oneOf":[{"type":"string","title":"Author Name","description":"Who wrote it: the teammate's name for `customer` messages, `Zinc support` for `zinc` (`Zinc support (AI assistant)` when our AI assistant wrote it), null for `system` lines.","uniqueKey":"messages.items.[INDEX].author_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Author Name","description":"Who wrote it: the teammate's name for `customer` messages, `Zinc support` for `zinc` (`Zinc support (AI assistant)` when our AI assistant wrote it), null for `system` lines.","uniqueKey":"messages.items.[INDEX].author_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].author_name","typeLabel":"string | null"},"from_you":{"type":"boolean","title":"From You","description":"True when the caller wrote this message.","default":false,"uniqueKey":"messages.items.[INDEX].from_you","typeLabel":"boolean"},"attachments":{"items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"filename":{"type":"string","title":"Filename","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].filename","typeLabel":"string"},"content_type":{"type":"string","title":"Content Type","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].content_type","typeLabel":"string"},"size_bytes":{"type":"integer","title":"Size Bytes","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].size_bytes","typeLabel":"integer"},"url":{"oneOf":[{"type":"string","title":"Url","description":"Presigned download URL, valid for 7 days from the response. Re-fetch the case for a fresh one.","uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url","description":"Presigned download URL, valid for 7 days from the response. Re-fetch the case for a fresh one.","uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].url","typeLabel":"string | null"}},"type":"object","required":["id","filename","content_type","size_bytes"],"title":"CaseAttachment","uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX]","typeLabel":"CaseAttachment · object"},"type":"array","title":"Attachments","default":[],"uniqueKey":"messages.items.[INDEX].attachments","typeLabel":"CaseAttachment · object[]"}},"type":"object","required":["id","author","body","created_at"],"title":"CaseMessageResponse","uniqueKey":"messages.items.[INDEX]","typeLabel":"CaseMessageResponse · object"},"type":"array","title":"Messages","default":[],"uniqueKey":"messages","typeLabel":"CaseMessageResponse · object[]"}},"type":"object","required":["id","order_id","reason","status","created_at","updated_at"],"title":"CaseResponse","uniqueKey":"","typeLabel":"CaseResponse · object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","order_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","reason":"not_received","status":"open","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","return_request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","credited_amount":0,"opened_by_name":"\u003cstring>","closed_at":"2023-11-07T05:31:56Z","messages":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"33b6657b-8ecd-41d3-8be3-e5a039bdff62":{"description":"The order can't take a case: wrong status, or past the case window (30 days after delivery / estimated delivery, 90 days after the order otherwise)","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","enum":["unauthorized","forbidden","invalid_token","token_expired","account_suspended","not_found","already_exists","validation_error","insufficient_funds","authorization_pending","slow_down","expired_token","access_denied","payment_failed","payment_method_required","payment_required","invalid_payment_method","card_verification_required","invalid_shipping_address","url_unreachable","non_us_retailer","unsupported_retailer","unsupported_country","retailer_country_not_supported","guest_checkout_not_supported","invalid_variant","out_of_stock","shipping_unavailable","order_not_cancellable","return_not_allowed","case_not_allowed","external_service_error","stripe_error","stytch_error","internal_error","bad_request","rate_limit_exceeded","service_unavailable"],"title":"ErrorCode","description":"Standardized error codes for the API.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","title":"Details","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"}},"type":"object","required":["code","message"],"title":"ErrorDetail","description":"Standard error response body.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetail · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"Wrapper for error responses.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"f1c3c036-910c-4fcc-a853-b8c65f45a5a7":{"description":"The order already has an open case — reply on it instead (`details.case_id`)","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","enum":["unauthorized","forbidden","invalid_token","token_expired","account_suspended","not_found","already_exists","validation_error","insufficient_funds","authorization_pending","slow_down","expired_token","access_denied","payment_failed","payment_method_required","payment_required","invalid_payment_method","card_verification_required","invalid_shipping_address","url_unreachable","non_us_retailer","unsupported_retailer","unsupported_country","retailer_country_not_supported","guest_checkout_not_supported","invalid_variant","out_of_stock","shipping_unavailable","order_not_cancellable","return_not_allowed","case_not_allowed","external_service_error","stripe_error","stytch_error","internal_error","bad_request","rate_limit_exceeded","service_unavailable"],"title":"ErrorCode","description":"Standardized error codes for the API.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","title":"Details","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"}},"type":"object","required":["code","message"],"title":"ErrorDetail","description":"Standard error response body.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetail · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"Wrapper for error responses.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"a7d9af87-c1c6-494b-bc54-a7fcd6b797aa":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"26e54330-7172-4776-8e7c-0f9ce0bb9fd6":{"BearerAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Zinc API key (Bearer zn_...)","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"242b190f-f687-4fb1-9e54-e9895cb8dba4":{"url":"https://api.zinc.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Zinc API key (Bearer zn_...)","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Authorization","type":"string","description":"Zinc API key (Bearer zn_...)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"versions/latest.json"},"subdomain":"zinc","siteName":"Zinc Docs","title":"Create Case - Zinc Docs","navMaps":{"firstHrefInVersion":{"v1":{"href":"/v1/api-reference/cases/create","matchLevel":2},"v2 - 2026-10-30":{"href":"/v2/api-reference/cases/create-case","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T04:07:45.371Z","originalFileLocation":"v2/api-reference/cases/create-case.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=\"Open a support case on a Zinc order, with an optional message and attachments.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Zinc Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_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=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Case - Zinc Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Open a support case on a Zinc order, with an optional message and attachments.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Zinc Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.zinc.com/docs/v2/api-reference/cases/create-case\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zinc.mintlify.site/docs/_mintlify/api/og/v2?division=Cases\u0026amp;title=Create+Case\u0026amp;description=Open+a+support+case+on+a+Zinc+order%2C+with+an+optional+message+and+attachments.\u0026amp;theme=cd1766f847aa1443e7760441\u0026amp;signature=c74d4ec370630b86c410a6c802c963c79da747dd963b91e91c7c4dec258d7e4e\">\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=\"Create Case - Zinc Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Open a support case on a Zinc order, with an optional message and attachments.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zinc.mintlify.site/docs/_mintlify/api/og/v2?division=Cases\u0026amp;title=Create+Case\u0026amp;description=Open+a+support+case+on+a+Zinc+order%2C+with+an+optional+message+and+attachments.\u0026amp;theme=cd1766f847aa1443e7760441\u0026amp;signature=c74d4ec370630b86c410a6c802c963c79da747dd963b91e91c7c4dec258d7e4e\">\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=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Zinc Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#386DF0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.zinc.com/docs/v2/api-reference/cases/create-case\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/v2/api-reference/cases/create-case.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.zinc.com/#organization\",\"name\":\"Zinc Docs\",\"url\":\"https://www.zinc.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/logo/light.png?fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=633d13238d6799080400fbb91b9d08b7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.zinc.com/docs#website\",\"name\":\"Zinc Docs\",\"url\":\"https://www.zinc.com/docs\",\"publisher\":{\"@id\":\"https://www.zinc.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.zinc.com/docs/v2/api-reference/cases/create-case#webpage\",\"url\":\"https://www.zinc.com/docs/v2/api-reference/cases/create-case\",\"name\":\"Create Case\",\"description\":\"Open a support case on a Zinc order, with an optional message and attachments.\",\"dateModified\":\"2026-10-19T04:07:45.371Z\",\"isPartOf\":{\"@id\":\"https://www.zinc.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.zinc.com/docs/v2/api-reference/cases/create-case#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.zinc.com/docs/v2/api-reference/cases/create-case#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Zinc Docs\",\"item\":\"https://www.zinc.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Case\",\"item\":\"https://www.zinc.com/docs/v2/api-reference/cases/create-case\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.zinc.com/docs/v2/api-reference/cases/create-case#apireference\",\"headline\":\"Create Case\",\"name\":\"Create Case\",\"description\":\"Open a support case on a Zinc order, with an optional message and attachments.\",\"url\":\"https://www.zinc.com/docs/v2/api-reference/cases/create-case\",\"mainEntityOfPage\":{\"@id\":\"https://www.zinc.com/docs/v2/api-reference/cases/create-case#webpage\"},\"dateModified\":\"2026-10-19T04:07:45.371Z\",\"publisher\":{\"@id\":\"https://www.zinc.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.zinc.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Zinc Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Zinc Docs","nav":{"global":null,"versions":[{"version":"v1","pages":[{"title":"v1","href":"/v1/api-reference/cases/create"}]},{"version":"v2 - 2026-10-30","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Authentication","icon":"key","href":"/v2/api-reference/introduction/authentication"},{"title":"Idempotency","icon":"repeat-1","href":"/v2/api-reference/introduction/idempotency"},{"title":"Sandbox \u0026 Testing","icon":"flask-vial","href":"/v2/api-reference/introduction/sandbox"},{"title":"Error Handling","icon":"triangle-exclamation","href":"/v2/api-reference/introduction/error-handling"},{"title":"Webhooks","icon":"bell","href":"/v2/api-reference/introduction/webhooks"},{"title":"API Changelog","icon":"code-compare","href":"/v2/api-reference/introduction/api-changelog"}]},{"group":"Agent Sandbox","pages":[{"title":"Agent Sandbox","sidebarTitle":"Overview","icon":"robot","href":"/v2/api-reference/sandbox/overview"},{"title":"Mint a Sandbox Key","openapi":"versions/latest.json POST /sandbox/keys","href":"/v2/api-reference/sandbox/mint-sandbox-key"},{"title":"Agent Quickstart","openapi":"versions/latest.json GET /sandbox/quickstart","href":"/v2/api-reference/sandbox/get-agent-quickstart"},{"title":"Claim a Sandbox","openapi":"versions/latest.json POST /sandbox/claim","href":"/v2/api-reference/sandbox/claim-sandbox"},{"title":"Get Sandbox Status","openapi":"versions/latest.json GET /sandbox/status","href":"/v2/api-reference/sandbox/get-sandbox-status"}]},{"group":"Device Approval","pages":[{"title":"Start a Device Code","openapi":"versions/latest.json POST /device/code","href":"/v2/api-reference/device/start-device-code"},{"title":"Redeem a Device Code","openapi":"versions/latest.json POST /device/token","href":"/v2/api-reference/device/redeem-device-code"},{"title":"Describe a Device Code","openapi":"versions/latest.json GET /device/codes/{user_code}","href":"/v2/api-reference/device/describe-device-code"},{"title":"Approve a Device Code","openapi":"versions/latest.json POST /device/approve","href":"/v2/api-reference/device/approve-device-code"}]},{"group":"Search (Beta)","pages":[{"title":"Cross-Retailer Search","openapi":"versions/latest.json GET /search","href":"/v2/api-reference/search/cross-retailer"}]},{"group":"Orders","pages":[{"title":"Create Order","openapi":"versions/latest.json POST /orders","href":"/v2/api-reference/orders/create-order"},{"title":"List Orders","openapi":"versions/latest.json GET /orders","href":"/v2/api-reference/orders/list-orders"},{"title":"Get Order","openapi":"versions/latest.json GET /orders/{order_id}","href":"/v2/api-reference/orders/get-order"},{"title":"Get Order Timeline","openapi":"versions/latest.json GET /orders/{order_id}/timeline","href":"/v2/api-reference/orders/get-order-timeline"},{"title":"Cancel Order","openapi":"versions/latest.json POST /orders/{order_id}/cancel","href":"/v2/api-reference/orders/cancel-order"},{"title":"Order Tracking","icon":"truck-fast","href":"/v2/api-reference/orders/tracking"},{"title":"Get Public Tracking","openapi":"versions/latest.json GET /track/{order_id}","href":"/v2/api-reference/orders/get-public-tracking"},{"title":"Export Orders","openapi":"versions/latest.json GET /orders/export","href":"/v2/api-reference/orders/export-orders"},{"title":"The Products Array","icon":"boxes-stacked","href":"/v2/api-reference/orders/multiple-products-quantities"}]},{"group":"Bulk Orders","pages":[{"title":"Validate Bulk Upload","openapi":"versions/latest.json POST /orders/bulk/validate","href":"/v2/api-reference/orders/validate-bulk-upload"},{"title":"Create Bulk Upload","openapi":"versions/latest.json POST /orders/bulk","href":"/v2/api-reference/orders/create-bulk-upload"},{"title":"List Bulk Uploads","openapi":"versions/latest.json GET /orders/bulk","href":"/v2/api-reference/orders/list-bulk-uploads"},{"title":"Get Bulk Upload","openapi":"versions/latest.json GET /orders/bulk/{batch_id}","href":"/v2/api-reference/orders/get-bulk-upload"},{"title":"Download Bulk Results","openapi":"versions/latest.json GET /orders/bulk/{batch_id}/results.csv","href":"/v2/api-reference/orders/download-bulk-results"}]},{"group":"Managed Accounts","pages":[{"title":"List Managed Accounts","openapi":"versions/latest.json GET /managed-accounts","href":"/v2/api-reference/managed-accounts/list-managed-accounts"},{"title":"Create Managed Account","openapi":"versions/latest.json POST /managed-accounts","href":"/v2/api-reference/managed-accounts/create-managed-account"},{"title":"Update Managed Account","openapi":"versions/latest.json PUT /managed-accounts/{short_id}","href":"/v2/api-reference/managed-accounts/update-managed-account"},{"title":"Delete Managed Account","openapi":"versions/latest.json DELETE /managed-accounts/{short_id}","href":"/v2/api-reference/managed-accounts/delete-managed-account"},{"title":"Retailer Credentials","sidebarTitle":"Configuration","icon":"key-skeleton","href":"/v2/api-reference/configuration/managed-accounts"}]},{"group":"Returns","pages":[{"title":"Create Return Request","openapi":"versions/latest.json POST /returns","href":"/v2/api-reference/returns/create-return"},{"title":"List Return Requests","openapi":"versions/latest.json GET /returns","href":"/v2/api-reference/returns/list-returns"},{"title":"Get Return Request","description":"Retrieve the status and details of a specific Zinc return request by ID.","openapi":"versions/latest.json GET /returns/{return_request_id}","href":"/v2/api-reference/returns/get-return"}]},{"group":"Cases","pages":[{"title":"Create Case","openapi":"versions/latest.json POST /cases","href":"/v2/api-reference/cases/create-case"},{"title":"List Cases","description":"List your team's Zinc support cases, filtered by status, reason or order.","openapi":"versions/latest.json GET /cases","href":"/v2/api-reference/cases/list-cases"},{"title":"Get Case","openapi":"versions/latest.json GET /cases/{case_id}","href":"/v2/api-reference/cases/get-case"},{"title":"Post Case Message","openapi":"versions/latest.json POST /cases/{case_id}/messages","href":"/v2/api-reference/cases/post-case-message"},{"title":"Close Case","openapi":"versions/latest.json POST /cases/{case_id}/close","href":"/v2/api-reference/cases/close-case"}]},{"group":"Product Data","pages":[{"title":"Search Products","openapi":"versions/latest.json GET /products/search","href":"/v2/api-reference/products/search"},{"title":"Get Product Details","openapi":"versions/latest.json GET /products/{product_id}","href":"/v2/api-reference/products/get-product"},{"title":"Get Product Offers","openapi":"versions/latest.json GET /products/{product_id}/offers","href":"/v2/api-reference/products/get-product-offers"}]},{"group":"Retailers","pages":[{"title":"List Retailers","openapi":"versions/latest.json GET /retailers","href":"/v2/api-reference/retailers/list-retailers"},{"title":"Check a Retailer","openapi":"versions/latest.json GET /retailers/check","href":"/v2/api-reference/retailers/check-retailer"}]},{"group":"Agent","pages":[{"title":"Create Agent Order","openapi":"versions/latest.json POST /agent/orders","href":"/v2/api-reference/agent/create-order"},{"title":"Agent Search","openapi":"versions/latest.json POST /agent/search","href":"/v2/api-reference/agent/search"},{"title":"Agent Product Search","openapi":"versions/latest.json POST /agent/products/search","href":"/v2/api-reference/agent/product-search"},{"title":"Agent Product Offers","openapi":"versions/latest.json POST /agent/products/offers","href":"/v2/api-reference/agent/product-offers"},{"title":"Agent Product Details","openapi":"versions/latest.json POST /agent/products/details","href":"/v2/api-reference/agent/product-details"}]},{"group":"Wallet","pages":[{"title":"Get Wallet","openapi":"versions/latest.json GET /wallet/me","href":"/v2/api-reference/wallet/get-wallet"}]},{"group":"Webhooks","pages":[{"title":"Get Webhook Endpoint","openapi":"versions/latest.json GET /webhooks/endpoint","href":"/v2/api-reference/webhooks/get-webhook-endpoint"},{"title":"Set Webhook Endpoint","openapi":"versions/latest.json PUT /webhooks/endpoint","href":"/v2/api-reference/webhooks/set-webhook-endpoint"},{"title":"Clear Webhook Endpoint","openapi":"versions/latest.json DELETE /webhooks/endpoint","href":"/v2/api-reference/webhooks/clear-webhook-endpoint"}]},{"group":"Usage","pages":[{"title":"Get My Usage","openapi":"versions/latest.json GET /usage","href":"/v2/api-reference/usage/get-my-usage"}]}]}]}]},"basePath":"","title":"Create Case - Zinc Docs","buildId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","deploymentId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CW3yP2DK.js","utils-BN0nty2W.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C8_MydSG.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bsl5xDMQ.js","snippetPresets-DYv9OBej.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-9OnYPrVf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-xr67xWGO.js","shallow-DO1aDdBF.js","getApiPlaygroundDisplay-o7cLzFL-.js","CodeSnippet-CGr2yOA8.js","CodeSnippets-CzBbqPNh.js","Page-CBlOSKZG.js","getPastedJson-dpi9sn5Y.js","icon-aIWHt8Pn.js","MethodPill-Bv2zLsGY.js","DuplicateIcon-DxFSz0J6.js","createIcon-uDNv6jwj.js","DynamicMarkdown-C91yhnNP.js","SectionHeading-DG_xjOLR.js","axios-vUo_bRtp.js","Markdown-B4M_Eo1P.js","clsx-DShopWo_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BX6wab7q.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-48h67xm_.js"]}