Results object containing response for each order creation attempt. Keys are dynamically generated as create_1, create_2, etc.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Quickbutik Developers","colors":{"primary":"#5754f9","light":"#5754f9","dark":"#5754f9"},"logo":{"light":"https://mintcdn.com/quickbutik/wZjxa2oQAPnz_31l/logo.svg?fit=max\u0026auto=format\u0026n=wZjxa2oQAPnz_31l\u0026q=85\u0026s=8623e173bd73f9c85e937bc3039de7de","dark":"https://mintcdn.com/quickbutik/wZjxa2oQAPnz_31l/logo.svg?fit=max\u0026auto=format\u0026n=wZjxa2oQAPnz_31l\u0026q=85\u0026s=8623e173bd73f9c85e937bc3039de7de"},"favicon":"https://mintcdn.com/quickbutik/JplMtZ7XkqvGH0jM/new-favicon.png?fit=max\u0026auto=format\u0026n=JplMtZ7XkqvGH0jM\u0026q=85\u0026s=65d076f670c0645b4c3f90fa250ebc80","appearance":{"default":"light"},"background":{"color":{"light":"#f1f2ff"}},"navbar":{"links":[{"href":"https://help.quickbutik.com/","label":"Helpcenter"},{"href":"https://quickbutik.com/sv/support","label":"Support"}]},"fonts":{"heading":{"family":"DM Sans"},"body":{"family":"DM Sans"}},"integrations":{"ga4":{"measurementId":"G-2L6XH20LK0"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Quickbutik","icon":"globe","href":"https://quickbutik.com/sv"},{"anchor":"Support","icon":"headset","href":"https://quickbutik.com/sv/support"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"quickbutik","hasAudioNarration":false,"actualSubdomain":"quickbutik","customDomains":["quickbutik.dev"],"gitSource":{"type":"github","owner":"quickbutik","repo":"documentation","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad0bb465ee9fc6a32da2af5","collectionId":"f26b55e5-2db9-4abe-9864-9d4672d1d0d1","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad0bb465ee9fc6a32da2af5"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae470cfc4061e91428d7d41","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Storefront Kit","count":37},{"language":"default","tag":"API \u0026 Webhooks","count":29},{"language":"default","tag":"Theme Development","count":18},{"language":"default","tag":"Getting Started","count":11},{"language":"default","tag":"Concepts","count":11},{"language":"default","tag":"API Reference","count":10},{"language":"default","tag":"Global Objects","count":6},{"language":"default","tag":"Page Objects","count":5},{"language":"default","tag":"Products","count":5},{"language":"default","tag":"React","count":4}]},"assistantConfig":{},"basePath":"","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":"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":"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":"billing-updated-9-15","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":"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}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-v1/orders/create-orders","slug":"/api-v1/orders/create-orders","pageMetadata":{"title":"Create orders","description":"Create new order and add order content. Status for new orders will always be set to **unpaid**","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/orders","href":"/api-v1/orders/create-orders","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create new order and add order content. Status for new orders will always be set to \", _jsx(_components.strong, {\n children: \"unpaid\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create orders","description":"Create new order and add order content. Status for new orders will always be set to **unpaid**","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/orders","href":"/api-v1/orders/create-orders","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Orders"],"summary":"Create orders","description":"Create new order and add order content. Status for new orders will always be set to **unpaid**","operationId":"create-orders","requestBody":"f919315d-9098-47d2-aca3-8a9da6c6efd6","responses":{"200":"9e115bba-8403-4251-8371-6d93c8d5e9ff","400":"e3764a66-e1a9-4d3a-9cb4-bbc147fcc6eb","401":"be19844c-f928-4df6-a0aa-7b2edab19860"},"method":"post","type":"path","servers":["72f63153-df7c-41fb-adf4-5277815f529f"],"security":["278b66e5-cd12-4269-9783-882f28180892"],"path":"/v1/orders","baseUrlOptions":["https://api.quickbutik.com"],"title":"Create orders","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["order_id","customer","payment","products"],"properties":{"order_id":{"type":"string","example":"create","description":"Must be the value **create** to create a new order.","isRequired":true,"uniqueKey":"items.[INDEX].order_id","typeLabel":"string"},"customer":{"type":"object","description":"Customer details for the new order.","properties":{"type":{"type":"string","enum":["consumer","business"],"example":"consumer","description":"Customer type","uniqueKey":"items.[INDEX].customer.type","typeLabel":"enum\u003cstring>"},"email":{"type":"string","format":"email","example":"customer@example.com","description":"Customer email address","uniqueKey":"items.[INDEX].customer.email","typeLabel":"string\u003cemail>"},"phone":{"type":"string","example":"+46701234567","description":"Customer phone number","uniqueKey":"items.[INDEX].customer.phone","typeLabel":"string"},"login_create":{"type":"boolean","example":false,"description":"Create customer account","uniqueKey":"items.[INDEX].customer.login_create","typeLabel":"boolean"},"billing_details":{"type":"object","properties":{"company_name":{"type":"string","example":"Bolaget AB","uniqueKey":"items.[INDEX].customer.billing_details.company_name","typeLabel":"string"},"firstname":{"type":"string","example":"Kalle","uniqueKey":"items.[INDEX].customer.billing_details.firstname","typeLabel":"string"},"lastname":{"type":"string","example":"Ankasson","uniqueKey":"items.[INDEX].customer.billing_details.lastname","typeLabel":"string"},"address":{"type":"string","example":"Gladagatan 10","uniqueKey":"items.[INDEX].customer.billing_details.address","typeLabel":"string"},"address2":{"type":"string","uniqueKey":"items.[INDEX].customer.billing_details.address2","typeLabel":"string"},"city":{"type":"string","example":"Ankeborg","uniqueKey":"items.[INDEX].customer.billing_details.city","typeLabel":"string"},"zipcode":{"type":"string","example":"12345","uniqueKey":"items.[INDEX].customer.billing_details.zipcode","typeLabel":"string"},"country":{"type":"string","example":"SE","description":"Two-letter country code (ISO 3166-1 alpha-2 format)","uniqueKey":"items.[INDEX].customer.billing_details.country","typeLabel":"string"}},"uniqueKey":"items.[INDEX].customer.billing_details","typeLabel":"object"},"shipping_details":{"type":"object","properties":{"company_name":{"type":"string","description":"Required if customer.type is business","example":"Bolaget AB","uniqueKey":"items.[INDEX].customer.shipping_details.company_name","typeLabel":"string"},"firstname":{"type":"string","example":"Kalle","uniqueKey":"items.[INDEX].customer.shipping_details.firstname","typeLabel":"string"},"lastname":{"type":"string","example":"Ankasson","uniqueKey":"items.[INDEX].customer.shipping_details.lastname","typeLabel":"string"},"address":{"type":"string","example":"Gladagatan 10","uniqueKey":"items.[INDEX].customer.shipping_details.address","typeLabel":"string"},"address2":{"type":"string","uniqueKey":"items.[INDEX].customer.shipping_details.address2","typeLabel":"string"},"city":{"type":"string","example":"Ankeborg","uniqueKey":"items.[INDEX].customer.shipping_details.city","typeLabel":"string"},"zipcode":{"type":"string","example":"12345","uniqueKey":"items.[INDEX].customer.shipping_details.zipcode","typeLabel":"string"},"country":{"type":"string","example":"SE","description":"Two-letter country code (ISO 3166-1 alpha-2 format)","uniqueKey":"items.[INDEX].customer.shipping_details.country","typeLabel":"string"}},"uniqueKey":"items.[INDEX].customer.shipping_details","typeLabel":"object"},"newsletter_subscribe":{"type":"boolean","example":true,"description":"Subscribe customer to newsletter","uniqueKey":"items.[INDEX].customer.newsletter_subscribe","typeLabel":"boolean"},"note":{"type":"string","description":"Customer note","uniqueKey":"items.[INDEX].customer.note","typeLabel":"string"}},"isRequired":true,"uniqueKey":"items.[INDEX].customer","typeLabel":"object"},"payment":{"type":"object","description":"Payment information for the new order.","properties":{"method":{"type":"string","example":"MySaleChannel","description":"Payment method identifier","uniqueKey":"items.[INDEX].payment.method","typeLabel":"string"},"transaction_id":{"type":"string","example":"TX-2024-0001","description":"Order reference from the payment method","uniqueKey":"items.[INDEX].payment.transaction_id","typeLabel":"string"},"currency":{"type":"string","enum":["SEK","DKK","EUR","GBP","NOK","USD","PLN","CZK","CAD"],"example":"SEK","description":"Order currency","uniqueKey":"items.[INDEX].payment.currency","typeLabel":"enum\u003cstring>"},"log":{"type":"string","description":"Additional payment information","uniqueKey":"items.[INDEX].payment.log","typeLabel":"string"}},"isRequired":true,"uniqueKey":"items.[INDEX].payment","typeLabel":"object"},"products":{"type":"array","description":"Products to add to the order. Required when creating an order.","items":{"type":"object","properties":{"product_id":{"type":"integer","description":"Product ID","uniqueKey":"items.[INDEX].products.items.[INDEX].product_id","typeLabel":"integer"},"variant_id":{"type":"integer","description":"Product variant ID","uniqueKey":"items.[INDEX].products.items.[INDEX].variant_id","typeLabel":"integer"},"sku":{"type":"string","description":"Product SKU","uniqueKey":"items.[INDEX].products.items.[INDEX].sku","typeLabel":"string"},"qty":{"type":"integer","minimum":1,"default":1,"description":"Product quantity","uniqueKey":"items.[INDEX].products.items.[INDEX].qty","typeLabel":"integer"},"price":{"type":"number","description":"Custom price for this order item (overrides the catalog price)","uniqueKey":"items.[INDEX].products.items.[INDEX].price","typeLabel":"number"}},"uniqueKey":"items.[INDEX].products.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"items.[INDEX].products","typeLabel":"object[]"},"shipping":{"type":"object","description":"Shipping method for the new order.","properties":{"id":{"type":"integer","example":1,"description":"Shipping method ID","uniqueKey":"items.[INDEX].shipping.id","typeLabel":"integer"},"name":{"type":"string","example":"Postnord Parcel","description":"Shipping method name (optional, falls back to the method's title)","uniqueKey":"items.[INDEX].shipping.name","typeLabel":"string"},"price":{"type":"number","example":49,"description":"Shipping cost (optional, falls back to the method's price)","uniqueKey":"items.[INDEX].shipping.price","typeLabel":"number"}},"uniqueKey":"items.[INDEX].shipping","typeLabel":"object"},"discount_add":{"type":"object","description":"Optional. Set only if you would like to add a discount for this order","properties":{"amount":{"type":"number","description":"Optional. Enter discount value","uniqueKey":"items.[INDEX].discount_add.amount","typeLabel":"number"}},"uniqueKey":"items.[INDEX].discount_add","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"items.[INDEX].metadata.additionalProperties","typeLabel":"string"},"description":"Custom metadata for the order","uniqueKey":"items.[INDEX].metadata","typeLabel":"object"}},"example":[{"order_id":"create","customer":{"type":"consumer","email":"customer@example.com","phone":"+46701234567","login_create":false,"newsletter_subscribe":true,"note":"Leave at the front door","billing_details":{"firstname":"Kalle","lastname":"Ankasson","address":"Gladagatan 10","address2":"","city":"Ankeborg","zipcode":"12345","country":"SE"},"shipping_details":{"firstname":"Kalle","lastname":"Ankasson","address":"Gladagatan 10","address2":"","city":"Ankeborg","zipcode":"12345","country":"SE","company_name":""}},"payment":{"method":"MySaleChannel","transaction_id":"TX-2024-0001","currency":"SEK","log":"Paid via external sales channel"},"shipping":{"id":1,"name":"Postnord Parcel","price":49},"products":[{"product_id":12345,"variant_id":67890,"sku":"SHIRT-123","qty":2,"price":199}],"discount_add":{"amount":50},"metadata":{"external_ref":"ERP-55213"}}],"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[[{"order_id":"create","customer":{"type":"consumer","email":"customer@example.com","phone":"+46701234567","login_create":false,"newsletter_subscribe":true,"note":"Leave at the front door","billing_details":{"firstname":"Kalle","lastname":"Ankasson","address":"Gladagatan 10","address2":"","city":"Ankeborg","zipcode":"12345","country":"SE"},"shipping_details":{"firstname":"Kalle","lastname":"Ankasson","address":"Gladagatan 10","address2":"","city":"Ankeborg","zipcode":"12345","country":"SE","company_name":""}},"payment":{"method":"MySaleChannel","transaction_id":"TX-2024-0001","currency":"SEK","log":"Paid via external sales channel"},"shipping":{"id":1,"name":"Postnord Parcel","price":49},"products":[{"product_id":12345,"variant_id":67890,"sku":"SHIRT-123","qty":2,"price":199}],"discount_add":{"amount":50},"metadata":{"external_ref":"ERP-55213"}}]]}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"9e115bba-8403-4251-8371-6d93c8d5e9ff":{"description":"Order created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"object","description":"Results object containing response for each order creation attempt. Keys are dynamically generated as create_1, create_2, etc.","additionalProperties":{"type":"object","properties":{"success":{"type":"integer","example":1,"description":"Indicates if order was created successfully (1 = success, 0 = failure)","uniqueKey":"results.additionalProperties.success","typeLabel":"integer"},"new_order_id":{"type":"integer","example":10462,"description":"The ID of the newly created order","uniqueKey":"results.additionalProperties.new_order_id","typeLabel":"integer"},"checkout_url":{"type":"string","example":"https://example.quickbutik.com/checkout/order/abc123","description":"URL to the checkout page for the order","uniqueKey":"results.additionalProperties.checkout_url","typeLabel":"string"},"variants":{"type":"array","items":{"type":"object","uniqueKey":"results.additionalProperties.variants.items.[INDEX]","typeLabel":"object"},"description":"Created product variants (optional)","uniqueKey":"results.additionalProperties.variants","typeLabel":"object[]"},"notices":{"type":"array","items":{"type":"string","uniqueKey":"results.additionalProperties.notices.items.[INDEX]","typeLabel":"string"},"description":"Optional warning or error messages","uniqueKey":"results.additionalProperties.notices","typeLabel":"string[]"}},"uniqueKey":"results.additionalProperties","typeLabel":"object"},"uniqueKey":"results","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"results":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"e3764a66-e1a9-4d3a-9cb4-bbc147fcc6eb":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","example":404,"uniqueKey":"code","typeLabel":"integer"},"error":{"type":"string","example":"Resource not found","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":404,"error":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"be19844c-f928-4df6-a0aa-7b2edab19860":{"description":"Unauthorized - Invalid or missing authentication","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","example":404,"uniqueKey":"code","typeLabel":"integer"},"error":{"type":"string","example":"Resource not found","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":404,"error":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"278b66e5-cd12-4269-9783-882f28180892":{"BasicAuth":{"type":"http","scheme":"basic","description":"**Basic Authentication with API Keys**\n\nThe Quickbutik API uses Basic Authentication where you use your API key as both the username and password.\n\n**How it works:**\n1. Format your credentials as `api_key:api_key` (using the SAME API key for both username and password)\n2. Base64 encode the formatted string\n3. Include in the Authorization header as: `Authorization: Basic ENCODED_STRING`\n\n**Example:**\n- API Key: `sk_live_abc123`\n- Formatted: `sk_live_abc123:sk_live_abc123`\n- Base64 Encoded: `c2tfbGl2ZV9hYmMxMjM6c2tfbGl2ZV9hYmMxMjM=`\n- Header: `Authorization: Basic c2tfbGl2ZV9hYmMxMjM6c2tfbGl2ZV9hYmMxMjM=`\n\n**cURL Example:**\n```bash\ncurl https://api.quickbutik.com/v1/orders -u your_api_key:your_api_key\n```\n\nAll API requests must be made over HTTPS. Requests made over HTTP will be rejected.\n\nAPI keys can be generated in the Quickbutik Control Panel under Settings → API.\n","scopes":[],"schemeName":"BasicAuth"}}},"servers":{"72f63153-df7c-41fb-adf4-5277815f529f":{"url":"https://api.quickbutik.com","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"**Basic Authentication with API Keys**\n\nThe Quickbutik API uses Basic Authentication where you use your API key as both the username and password.\n\n**How it works:**\n1. Format your credentials as `api_key:api_key` (using the SAME API key for both username and password)\n2. Base64 encode the formatted string\n3. Include in the Authorization header as: `Authorization: Basic ENCODED_STRING`\n\n**Example:**\n- API Key: `sk_live_abc123`\n- Formatted: `sk_live_abc123:sk_live_abc123`\n- Base64 Encoded: `c2tfbGl2ZV9hYmMxMjM6c2tfbGl2ZV9hYmMxMjM=`\n- Header: `Authorization: Basic c2tfbGl2ZV9hYmMxMjM6c2tfbGl2ZV9hYmMxMjM=`\n\n**cURL Example:**\n```bash\ncurl https://api.quickbutik.com/v1/orders -u your_api_key:your_api_key\n```\n\nAll API requests must be made over HTTPS. Requests made over HTTP will be rejected.\n\nAPI keys can be generated in the Quickbutik Control Panel under Settings → API.\n","scopes":[],"schemeName":"BasicAuth"},"schema":{"title":"Basic Auth","type":"object","description":"**Basic Authentication with API Keys**\n\nThe Quickbutik API uses Basic Authentication where you use your API key as both the username and password.\n\n**How it works:**\n1. Format your credentials as `api_key:api_key` (using the SAME API key for both username and password)\n2. Base64 encode the formatted string\n3. Include in the Authorization header as: `Authorization: Basic ENCODED_STRING`\n\n**Example:**\n- API Key: `sk_live_abc123`\n- Formatted: `sk_live_abc123:sk_live_abc123`\n- Base64 Encoded: `c2tfbGl2ZV9hYmMxMjM6c2tfbGl2ZV9hYmMxMjM=`\n- Header: `Authorization: Basic c2tfbGl2ZV9hYmMxMjM6c2tfbGl2ZV9hYmMxMjM=`\n\n**cURL Example:**\n```bash\ncurl https://api.quickbutik.com/v1/orders -u your_api_key:your_api_key\n```\n\nAll API requests must be made over HTTPS. Requests made over HTTP will be rejected.\n\nAPI keys can be generated in the Quickbutik Control Panel under Settings → API.\n","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"BasicAuth","name":"Authorization"}],"title":"BasicAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"quickbutik","siteName":"Quickbutik Developers","title":"Create orders - Quickbutik Developers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-07T08:06:23.360Z","originalFileLocation":"api-v1/orders/create-orders.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=\"light\"}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=\"Create new order and add order content. Status for new orders will always be set to unpaid\">\u003cmeta data-mint-head name=\"application-name\" content=\"Quickbutik 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/quickbutik/qIyEIo8_UqlkEfOo/_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/quickbutik/qIyEIo8_UqlkEfOo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/quickbutik/qIyEIo8_UqlkEfOo/_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/quickbutik/qIyEIo8_UqlkEfOo/_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/quickbutik/qIyEIo8_UqlkEfOo/_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/quickbutik/qIyEIo8_UqlkEfOo/_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/quickbutik/qIyEIo8_UqlkEfOo/_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/quickbutik/qIyEIo8_UqlkEfOo/_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/quickbutik/qIyEIo8_UqlkEfOo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create orders - Quickbutik Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create new order and add order content. Status for new orders will always be set to unpaid\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Quickbutik Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://quickbutik.dev/api-v1/orders/create-orders\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://quickbutik.mintlify.app/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+orders\u0026amp;description=Create+new+order+and+add+order+content.+Status+for+new+orders+will+always+be+set+to+**unpaid**\u0026amp;theme=89e8182f417817553aff8919\u0026amp;signature=86e380de0b81c1695832765697d17c6474d87b29379faa7a75a9b08c2a703751\">\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 orders - Quickbutik Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create new order and add order content. Status for new orders will always be set to unpaid\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://quickbutik.mintlify.app/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+orders\u0026amp;description=Create+new+order+and+add+order+content.+Status+for+new+orders+will+always+be+set+to+**unpaid**\u0026amp;theme=89e8182f417817553aff8919\u0026amp;signature=86e380de0b81c1695832765697d17c6474d87b29379faa7a75a9b08c2a703751\">\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/quickbutik/qIyEIo8_UqlkEfOo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Quickbutik Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5754f9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://quickbutik.dev/api-v1/orders/create-orders\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-v1/orders/create-orders.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://quickbutik.dev/#organization\",\"name\":\"Quickbutik Developers\",\"url\":\"https://quickbutik.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/quickbutik/wZjxa2oQAPnz_31l/logo.svg?fit=max\u0026auto=format\u0026n=wZjxa2oQAPnz_31l\u0026q=85\u0026s=8623e173bd73f9c85e937bc3039de7de\"}},{\"@type\":\"WebSite\",\"@id\":\"https://quickbutik.dev#website\",\"name\":\"Quickbutik Developers\",\"url\":\"https://quickbutik.dev\",\"publisher\":{\"@id\":\"https://quickbutik.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://quickbutik.dev/api-v1/orders/create-orders#webpage\",\"url\":\"https://quickbutik.dev/api-v1/orders/create-orders\",\"name\":\"Create orders\",\"description\":\"Create new order and add order content. Status for new orders will always be set to unpaid\",\"dateModified\":\"2026-04-07T08:06:23.360Z\",\"isPartOf\":{\"@id\":\"https://quickbutik.dev#website\"},\"breadcrumb\":{\"@id\":\"https://quickbutik.dev/api-v1/orders/create-orders#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://quickbutik.dev/api-v1/orders/create-orders#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Orders\",\"item\":\"https://quickbutik.dev/api-v1/orders/get-orders\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create orders\",\"item\":\"https://quickbutik.dev/api-v1/orders/create-orders\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://quickbutik.dev/api-v1/orders/create-orders#apireference\",\"headline\":\"Create orders\",\"name\":\"Create orders\",\"description\":\"Create new order and add order content. Status for new orders will always be set to unpaid\",\"url\":\"https://quickbutik.dev/api-v1/orders/create-orders\",\"mainEntityOfPage\":{\"@id\":\"https://quickbutik.dev/api-v1/orders/create-orders#webpage\"},\"dateModified\":\"2026-04-07T08:06:23.360Z\",\"publisher\":{\"@id\":\"https://quickbutik.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://quickbutik.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Quickbutik Developers\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Quickbutik Developers","nav":{"global":{"anchors":[{"anchor":"Quickbutik","icon":"globe","href":"https://quickbutik.com/sv"},{"anchor":"Support","icon":"headset","href":"https://quickbutik.com/sv/support"}]},"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":""}]},{"tab":"Theme Development","pages":[{"title":"Theme Development","href":"/theme-development/introduction"}]},{"tab":"Storefront Kit","pages":[{"title":"Storefront Kit","href":"/kit/introduction"}]},{"tab":"API \u0026 Webhooks","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/api-v1/introduction"},{"title":"Authentication","href":"/api-v1/authentication"},{"title":"Quickstart Tutorial","href":"/api-v1/quickstart-tutorial"}]},{"group":"Guides","pages":[{"title":"Order Synchronization Tutorial","href":"/api-v1/guides/order-sync-tutorial"},{"title":"Inventory Management","href":"/api-v1/guides/inventory-management"}]},{"group":"Settings","pages":[{"openapi":"get /v1/preorders","title":null,"href":"/api-v1/settings/get-preorders"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks/introduction"},{"title":"Events","href":"/webhooks/events"},{"title":"Webhook Setup","href":"/webhooks/setup"}]},{"group":"Settings","pages":[{"title":"Get preorder options","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/settings/preorders","href":"/api-v1/settings/get-preorder-options"}]},{"group":"Scripts","pages":[{"title":"Get scripts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/scripts","href":"/api-v1/scripts/get-scripts"},{"title":"Create script","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/scripts","href":"/api-v1/scripts/create-script"},{"title":"Update or create script","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/scripts/{id}","href":"/api-v1/scripts/update-or-create-script"},{"title":"Delete script","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/scripts/{id}","href":"/api-v1/scripts/delete-script"}]},{"group":"Orders","pages":[{"title":"Get orders","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/orders","href":"/api-v1/orders/get-orders"},{"title":"Update orders","description":"Update one or more existing orders. Each request object must include the `order_id` of the order to update, plus any fields you want to change","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/orders","href":"/api-v1/orders/update-orders"},{"title":"Create orders","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/orders","href":"/api-v1/orders/create-orders"}]},{"group":"Products","pages":[{"title":"Get products","description":"Fetch products in store with optional filtering. When no specific product_id or sku is provided,\nthe following filters can be used to search and filter products.\n\n**Important - Response Structure Varies:**\n- When using the `search` parameter: Returns a direct array `[...]`\n- When NOT using the `search` parameter: Returns `{product: [...]}`\n- When requesting a specific product by `product_id` or `sku`: Returns `{product: {...}}`\n","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/products","href":"/api-v1/products/get-products"},{"title":"Update products","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/products","href":"/api-v1/products/update-products"},{"title":"Create products","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/products","href":"/api-v1/products/create-products"},{"title":"Delete products","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/products","href":"/api-v1/products/delete-products"},{"title":"Count products","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/products/count","href":"/api-v1/products/count-products"}]},{"group":"Categories","pages":[{"title":"Get categories","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/categories","href":"/api-v1/categories/get-categories"},{"title":"Create category","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/categories","href":"/api-v1/categories/create-category"}]},{"group":"Payment Methods","pages":[{"title":"Get payment methods","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/paymentmethods","href":"/api-v1/payment-methods/get-payment-methods"}]},{"group":"Shipping Methods","pages":[{"title":"Get shipping methods","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/shippingmethods","href":"/api-v1/shipping-methods/get-shipping-methods"}]},{"group":"Metadata","pages":[{"title":"Get metadata","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/metadata/{scope}/{id}","href":"/api-v1/metadata/get-metadata"},{"title":"Update metadata","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/metadata/{scope}/{id}","href":"/api-v1/metadata/update-metadata"},{"title":"Create metadata","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/metadata/{scope}/{id}","href":"/api-v1/metadata/create-metadata"}]}]}]},"title":"Create orders - Quickbutik Developers","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}