{ "success": false, "error": "VALIDATION_ERROR", "message": "orderCode is required and must be a non-empty string"}
{ "success": false, "error": "CONFLICT", "code": "DUPLICATE_ORDER", "message": "Order with external id ORD-000123 already exists for this vendor.", "data": { "id": "6f1c2b9e-3a1d-4c55-9b7e-0d2f6a7c8e10", "externalOrderId": "ORD-000123", "status": "COMPLETED" }}
Creates an order in Fire with the body in Fire format: the same as
Inject order, unchanged. Fire doesn’t translate it: it validates it and
creates the order directly.This is version 1. If your system sends orders with the POS and kiosk structure or the
aggregator structure, use Create order (v2). Both versions are
current and end up in the same place: same validations, same response.Once created, the order follows the same lifecycle as any Fire order: taxes, business day, fiscal
document, and events.
Your Fire API key with the orders:write scope. Authorization: Bearer <api_key> is also accepted.
The key must be bound to your account and to a vendor. You don’t need to send the account header.
totals[] and paymentMethods[], with at least one item each. The payments’ transactionStatus
decides whether the order is closed (APPROVED) or stays open, pending payment (PENDING).
orderCode is missing or the body is not in Fire format
400
BUSINESS_ERROR
Store inactive, business day closed, or the order breaks a validation rule enabled for your vendor (ORDER_INVARIANT_VIOLATION)
404
NOT_FOUND
The store doesn’t exist
401
UNAUTHORIZED
Invalid, expired, or revoked API key
403
FORBIDDEN
API key without the orders:write scope or not bound to your account
409
CONFLICT / DUPLICATE_ORDER
The order already existed for your vendor. data carries the existing order’s id, externalOrderId, and status
Every request is recorded in Fire with its body and the rejection reason, including rejected
ones. If you retry an order that was already created, the response is 409 and it isn’t duplicated.
{ "success": false, "error": "VALIDATION_ERROR", "message": "orderCode is required and must be a non-empty string"}
{ "success": false, "error": "CONFLICT", "code": "DUPLICATE_ORDER", "message": "Order with external id ORD-000123 already exists for this vendor.", "data": { "id": "6f1c2b9e-3a1d-4c55-9b7e-0d2f6a7c8e10", "externalOrderId": "ORD-000123", "status": "COMPLETED" }}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fire Docs","colors":{"primary":"#E6293D","light":"#E6293D","dark":"#E6293D"},"logo":{"light":"https://mintcdn.com/firepos/gddYq9ZzZKtuBajb/logo/firedocs-light.png?fit=max\u0026auto=format\u0026n=gddYq9ZzZKtuBajb\u0026q=85\u0026s=93281297e6bf96adc03944d9b1f7a63c","dark":"https://mintcdn.com/firepos/gddYq9ZzZKtuBajb/logo/firedocs-dark.png?fit=max\u0026auto=format\u0026n=gddYq9ZzZKtuBajb\u0026q=85\u0026s=874828c9b9dda897b5104bfe491b90cb"},"favicon":"https://mintcdn.com/firepos/gddYq9ZzZKtuBajb/favicon.ico?fit=max\u0026auto=format\u0026n=gddYq9ZzZKtuBajb\u0026q=85\u0026s=1b44ffdfe35fcfa80fd2ecbc6c2f8ac8","api":{},"navbar":{"links":[{"href":"#","label":"Support"},{"href":"https://buttondown.com/fire-docs","label":"Subscribe to updates"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.fire.rest"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","default":true,"footer":{"socials":{"x":"https://x.com/fire","github":"https://github.com/fire"}},"href":"en/introduction"},{"language":"es","footer":{"socials":{"x":"https://x.com/fire","github":"https://github.com/fire"}},"href":"es/introduction"},{"language":"pt","footer":{"socials":{"x":"https://x.com/fire","github":"https://github.com/fire"}},"href":"pt/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"firepos","hasAudioNarration":false,"actualSubdomain":"firepos","customDomains":["docs.fire.rest"],"gitSource":{"type":"github","owner":"fire-rest","repo":"documentation","deployBranch":"main","isPrivate":false,"contentDirectory":"","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae3c498f7fb2cc77b53c892","collectionId":"01704fe3-fa44-4593-acab-fabd98c518de","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae3c498f7fb2cc77b53c892"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae3c498f7fb2cc77b53c892","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"en","tag":"BOH API","count":69},{"language":"es","tag":"BOH API","count":69},{"language":"pt","tag":"BOH API","count":69},{"language":"en","tag":"User manuals","count":64},{"language":"es","tag":"Manuales de usuario","count":64},{"language":"pt","tag":"Manuais do usuário","count":64},{"language":"en","tag":"API reference","count":40},{"language":"es","tag":"Referencia API","count":40},{"language":"pt","tag":"Referência da API","count":40},{"language":"en","tag":"Guides","count":35},{"language":"es","tag":"Guías","count":35},{"language":"pt","tag":"Guias","count":35},{"language":"en","tag":"API","count":29},{"language":"es","tag":"API","count":29},{"language":"pt","tag":"API","count":29},{"language":"en","tag":"POS","count":21},{"language":"es","tag":"POS","count":21},{"language":"pt","tag":"POS","count":21},{"language":"en","tag":"Backoffice","count":17},{"language":"es","tag":"Backoffice","count":17},{"language":"pt","tag":"Backoffice","count":17},{"language":"en","tag":"KDS","count":12},{"language":"en","tag":"Webhook reference","count":12},{"language":"es","tag":"KDS","count":12},{"language":"pt","tag":"KDS","count":12},{"language":"en","tag":"Partner APIs","count":11},{"language":"es","tag":"APIs de partner","count":11},{"language":"es","tag":"Eventos","count":11},{"language":"pt","tag":"APIs de parceiro","count":11},{"language":"pt","tag":"Eventos","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/api-reference/create-order","slug":"/en/api-reference/create-order","pageMetadata":{"title":"Create order (v1)","api":"POST https://app.fire.rest/api/v1/external/orders","description":"Create an order in Fire by sending it in Fire format. For the POS, kiosk, and aggregator structure, use version 2.","authMethod":"bearer","href":"/en/api-reference/create-order"},"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: \"Create an order in Fire by sending it in Fire format. For the POS, kiosk, and aggregator structure, use version 2.\"\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`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,Info,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Creates an order in Fire with the body in `,_jsx(_components.strong,{children:`Fire format`}),`: the same as\n`,_jsx(_components.a,{href:`/en/api-reference/orders`,children:`Inject order`}),`, unchanged. Fire doesn’t translate it: it validates it and\ncreates the order directly.`]}),`\n`,_jsxs(_components.p,{children:[`This is `,_jsx(_components.strong,{children:`version 1`}),`. If your system sends orders with the POS and kiosk structure or the\naggregator structure, use `,_jsx(_components.a,{href:`/en/api-reference/create-order-v2`,children:`Create order (v2)`}),`. Both versions are\ncurrent and end up in the same place: same validations, same response.`]}),`\n`,_jsxs(_components.p,{children:[`Once created, the order follows the same lifecycle as any Fire order: taxes, business day, fiscal\ndocument, and `,_jsx(_components.a,{href:`/en/events/overview`,children:`events`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsxs(_components.p,{children:[`Your Fire API key with the `,_jsx(_components.code,{children:`orders:write`}),` scope. `,_jsx(_components.code,{children:`Authorization: Bearer \u003capi_key>`}),` is also accepted.\nThe key `,_jsx(_components.strong,{children:`must be bound to your account and to a vendor`}),`. You don’t need to send the `,_jsx(_components.code,{children:`account`}),` header.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(_components.p,{children:[`The body is the one from `,_jsx(_components.a,{href:`/en/api-reference/orders`,children:`Inject order`}),`, in Fire format (camelCase, with\nprices and totals). The minimum fields are:`]}),`\n`,_jsx(ParamField,{body:`orderId`,type:`string`,required:true,id:`param-order-id`,children:`The order’s identifier in your system.`}),`\n`,_jsx(ParamField,{body:`orderCode`,type:`string`,required:true,id:`param-order-code`,children:_jsxs(_components.p,{children:[`Unique order code. If an order with that code already exists for your vendor, the response is `,_jsx(_components.code,{children:`409`}),`.`]})}),`\n`,_jsx(ParamField,{body:`accountId`,type:`number`,required:true,id:`param-account-id`,children:`The order’s account.`}),`\n`,_jsx(ParamField,{body:`createdAt`,type:`string`,required:true,id:`param-created-at`,children:`Sale date.`}),`\n`,_jsxs(ParamField,{body:`selectedShippingMethod`,type:`string`,required:true,id:`param-selected-shipping-method`,children:[_jsx(_components.code,{children:`delivery`}),` or `,_jsx(_components.code,{children:`pickup`}),`.`]}),`\n`,_jsxs(ParamField,{body:`client`,type:`object`,required:true,id:`param-client`,children:[`Customer: `,_jsx(_components.code,{children:`uid`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`lastName`}),`.`]}),`\n`,_jsxs(ParamField,{body:`store`,type:`object`,required:true,id:`param-store`,children:[`Store: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`code`}),`, `,_jsx(_components.code,{children:`vendorId`}),`.`]}),`\n`,_jsxs(ParamField,{body:`order`,type:`object`,required:true,id:`param-order`,children:[_jsx(_components.code,{children:`products[]`}),` with at least one product.`]}),`\n`,_jsx(ParamField,{body:`payments`,type:`object`,required:true,id:`param-payments`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`totals[]`}),` and `,_jsx(_components.code,{children:`paymentMethods[]`}),`, with at least one item each. The payments’ `,_jsx(_components.code,{children:`transactionStatus`}),`\ndecides whether the order is closed (`,_jsx(_components.code,{children:`APPROVED`}),`) or stays open, pending payment (`,_jsx(_components.code,{children:`PENDING`}),`).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:[_jsx(_components.code,{children:`true`}),` when the order was created.`]}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`data`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:`Order ID in Fire. Use it to look the order up, update it, or cancel it.`}),_jsxs(ResponseField,{name:`external_order_id`,type:`string`,id:`param-external-order-id`,children:[`The `,_jsx(_components.code,{children:`orderId`}),` you sent.`]}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.code,{children:`COMPLETED`}),` or `,_jsx(_components.code,{children:`OPEN`}),`.`]}),_jsxs(ResponseField,{name:`payment_status`,type:`string`,id:`param-payment-status`,children:[_jsx(_components.code,{children:`SUCCEEDED`}),` or `,_jsx(_components.code,{children:`PENDING`}),`.`]}),_jsxs(ResponseField,{name:`business_day_date`,type:`string`,id:`param-business-day-date`,children:[`The store’s business day, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`.`]}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at-1`,children:`Creation date in Fire (ISO 8601).`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`error`}),` / `,_jsx(_components.code,{children:`code`})]}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_ERROR`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`orderCode`}),` is missing or the body is not in Fire format`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BUSINESS_ERROR`})}),_jsxs(_components.td,{children:[`Store inactive, business day closed, or the order breaks a validation rule enabled for your vendor (`,_jsx(_components.code,{children:`ORDER_INVARIANT_VIOLATION`}),`)`]})]}),_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:`The store doesn’t exist`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UNAUTHORIZED`})}),_jsx(_components.td,{children:`Invalid, expired, or revoked API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`FORBIDDEN`})}),_jsxs(_components.td,{children:[`API key without the `,_jsx(_components.code,{children:`orders:write`}),` scope or not bound to your account`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`CONFLICT`}),` / `,_jsx(_components.code,{children:`DUPLICATE_ORDER`})]}),_jsxs(_components.td,{children:[`The order already existed for your vendor. `,_jsx(_components.code,{children:`data`}),` carries the existing order’s `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`externalOrderId`}),`, and `,_jsx(_components.code,{children:`status`})]})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Every request is recorded in Fire with its body and the rejection reason, including rejected\nones. If you retry an order that was already created, the response is `,_jsx(_components.code,{children:`409`}),` and it isn’t duplicated.`]})})]})}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 order (v1)","api":"POST https://app.fire.rest/api/v1/external/orders","description":"Create an order in Fire by sending it in Fire format. For the POS, kiosk, and aggregator structure, use version 2.","authMethod":"bearer","href":"/en/api-reference/create-order"}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Creates an order in Fire with the body in `,_jsx(_components.strong,{children:`Fire format`}),`: the same as\n`,_jsx(_components.a,{href:`/en/api-reference/orders`,children:`Inject order`}),`, unchanged. Fire doesn’t translate it: it validates it and\ncreates the order directly.`]}),`\n`,_jsxs(_components.p,{children:[`This is `,_jsx(_components.strong,{children:`version 1`}),`. If your system sends orders with the POS and kiosk structure or the\naggregator structure, use `,_jsx(_components.a,{href:`/en/api-reference/create-order-v2`,children:`Create order (v2)`}),`. Both versions are\ncurrent and end up in the same place: same validations, same response.`]}),`\n`,_jsxs(_components.p,{children:[`Once created, the order follows the same lifecycle as any Fire order: taxes, business day, fiscal\ndocument, and `,_jsx(_components.a,{href:`/en/events/overview`,children:`events`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsxs(_components.p,{children:[`Your Fire API key with the `,_jsx(_components.code,{children:`orders:write`}),` scope. `,_jsx(_components.code,{children:`Authorization: Bearer \u003capi_key>`}),` is also accepted.\nThe key `,_jsx(_components.strong,{children:`must be bound to your account and to a vendor`}),`. You don’t need to send the `,_jsx(_components.code,{children:`account`}),` header.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(_components.p,{children:[`The body is the one from `,_jsx(_components.a,{href:`/en/api-reference/orders`,children:`Inject order`}),`, in Fire format (camelCase, with\nprices and totals). The minimum fields are:`]}),`\n`,_jsx(ParamField,{body:`orderId`,type:`string`,required:true,id:`param-order-id`,children:`The order’s identifier in your system.`}),`\n`,_jsx(ParamField,{body:`orderCode`,type:`string`,required:true,id:`param-order-code`,children:_jsxs(_components.p,{children:[`Unique order code. If an order with that code already exists for your vendor, the response is `,_jsx(_components.code,{children:`409`}),`.`]})}),`\n`,_jsx(ParamField,{body:`accountId`,type:`number`,required:true,id:`param-account-id`,children:`The order’s account.`}),`\n`,_jsx(ParamField,{body:`createdAt`,type:`string`,required:true,id:`param-created-at`,children:`Sale date.`}),`\n`,_jsxs(ParamField,{body:`selectedShippingMethod`,type:`string`,required:true,id:`param-selected-shipping-method`,children:[_jsx(_components.code,{children:`delivery`}),` or `,_jsx(_components.code,{children:`pickup`}),`.`]}),`\n`,_jsxs(ParamField,{body:`client`,type:`object`,required:true,id:`param-client`,children:[`Customer: `,_jsx(_components.code,{children:`uid`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`lastName`}),`.`]}),`\n`,_jsxs(ParamField,{body:`store`,type:`object`,required:true,id:`param-store`,children:[`Store: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`code`}),`, `,_jsx(_components.code,{children:`vendorId`}),`.`]}),`\n`,_jsxs(ParamField,{body:`order`,type:`object`,required:true,id:`param-order`,children:[_jsx(_components.code,{children:`products[]`}),` with at least one product.`]}),`\n`,_jsx(ParamField,{body:`payments`,type:`object`,required:true,id:`param-payments`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`totals[]`}),` and `,_jsx(_components.code,{children:`paymentMethods[]`}),`, with at least one item each. The payments’ `,_jsx(_components.code,{children:`transactionStatus`}),`\ndecides whether the order is closed (`,_jsx(_components.code,{children:`APPROVED`}),`) or stays open, pending payment (`,_jsx(_components.code,{children:`PENDING`}),`).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:[_jsx(_components.code,{children:`true`}),` when the order was created.`]}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`data`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:`Order ID in Fire. Use it to look the order up, update it, or cancel it.`}),_jsxs(ResponseField,{name:`external_order_id`,type:`string`,id:`param-external-order-id`,children:[`The `,_jsx(_components.code,{children:`orderId`}),` you sent.`]}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.code,{children:`COMPLETED`}),` or `,_jsx(_components.code,{children:`OPEN`}),`.`]}),_jsxs(ResponseField,{name:`payment_status`,type:`string`,id:`param-payment-status`,children:[_jsx(_components.code,{children:`SUCCEEDED`}),` or `,_jsx(_components.code,{children:`PENDING`}),`.`]}),_jsxs(ResponseField,{name:`business_day_date`,type:`string`,id:`param-business-day-date`,children:[`The store’s business day, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`.`]}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at-1`,children:`Creation date in Fire (ISO 8601).`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`error`}),` / `,_jsx(_components.code,{children:`code`})]}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_ERROR`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`orderCode`}),` is missing or the body is not in Fire format`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BUSINESS_ERROR`})}),_jsxs(_components.td,{children:[`Store inactive, business day closed, or the order breaks a validation rule enabled for your vendor (`,_jsx(_components.code,{children:`ORDER_INVARIANT_VIOLATION`}),`)`]})]}),_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:`The store doesn’t exist`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UNAUTHORIZED`})}),_jsx(_components.td,{children:`Invalid, expired, or revoked API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`FORBIDDEN`})}),_jsxs(_components.td,{children:[`API key without the `,_jsx(_components.code,{children:`orders:write`}),` scope or not bound to your account`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`CONFLICT`}),` / `,_jsx(_components.code,{children:`DUPLICATE_ORDER`})]}),_jsxs(_components.td,{children:[`The order already existed for your vendor. `,_jsx(_components.code,{children:`data`}),` carries the existing order’s `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`externalOrderId`}),`, and `,_jsx(_components.code,{children:`status`})]})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Every request is recorded in Fire with its body and the rejection reason, including rejected\nones. If you retry an order that was already created, the response is `,_jsx(_components.code,{children:`409`}),` and it isn’t duplicated.`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`31`,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:`31`,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://app.fire.rest/api/v1/external/orders`}),_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:` \"x-api-key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$FIRE_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"orderId\": \"ORD-000123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"orderCode\": \"ORD-000123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accountId\": 11,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"account\": \"\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"createdAt\": \"2026-10-29 14:57:41\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"selectedShippingMethod\": \"pickup\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"client\": { \"uid\": \"customer-0001\", \"name\": \"CONSUMIDOR\", \"lastName\": \"FINAL\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"store\": { \"id\": \"11.6.1350.50\", \"code\": \"K000\", \"vendorId\": \"11.6.1350\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"channel\": { \"uid\": \"c784d4ba-23c7-4929-b2f0-1a1960d9cdc2\", \"code\": \"KIOSK\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"service\": { \"uid\": \"726c4892-48b9-45da-b066-2a8e83d2cb78\", \"code\": \"Dine-In\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"order\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"products\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"productId\": \"7abdd4e5-d685-43ff-ba79-5e8b2f700b5b\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"product\": \"12 Tiras de Frango\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quantity\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"price\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"unitPrice\": { \"currencyCode\": \"BRL\", \"subtotalWithoutTaxes\": 64.9, \"taxValue\": 0, \"total\": 64.9 },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"totalPrice\": { \"currencyCode\": \"BRL\", \"subtotalWithoutTaxes\": 64.9, \"taxValue\": 0, \"total\": 64.9 }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"modifierGroups\": []`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"payments\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"totals\": [{ \"currencyCode\": \"BRL\", \"total\": 64.9 }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paymentMethods\": [{ \"processor\": \"CREDIT\", \"currencyCode\": \"BRL\", \"transactionStatus\": \"APPROVED\", \"totalBill\": 64.9 }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201`,numberOfLines:`11`,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:`11`,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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6f1c2b9e-3a1d-4c55-9b7e-0d2f6a7c8e10\"`}),_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:` \"external_order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORD-000123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"COMPLETED\"`}),_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:` \"payment_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUCCEEDED\"`}),_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:` \"business_day_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-29\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-29T14:57:44.330Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`5`,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:`5`,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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VALIDATION_ERROR\"`}),_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:`\"orderCode is required and must be a non-empty string\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`409`,numberOfLines:`7`,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:`7`,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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CONFLICT\"`}),_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:`\"DUPLICATE_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order with external id ORD-000123 already exists for this vendor.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6f1c2b9e-3a1d-4c55-9b7e-0d2f6a7c8e10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"externalOrderId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORD-000123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"COMPLETED\"`}),_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`]})})})]})]})}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 order (v1)","api":"POST https://app.fire.rest/api/v1/external/orders","description":"Create an order in Fire by sending it in Fire format. For the POS, kiosk, and aggregator structure, use version 2.","authMethod":"bearer","href":"/en/api-reference/create-order"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"31\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://app.fire.rest/api/v1/external/orders\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"x-api-key: \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$FIRE_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"orderId\": \"ORD-000123\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"orderCode\": \"ORD-000123\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"accountId\": 11,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"account\": \"\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"createdAt\": \"2026-10-29 14:57:41\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"selectedShippingMethod\": \"pickup\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"client\": { \"uid\": \"customer-0001\", \"name\": \"CONSUMIDOR\", \"lastName\": \"FINAL\" },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"store\": { \"id\": \"11.6.1350.50\", \"code\": \"K000\", \"vendorId\": \"11.6.1350\" },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"channel\": { \"uid\": \"c784d4ba-23c7-4929-b2f0-1a1960d9cdc2\", \"code\": \"KIOSK\" },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"service\": { \"uid\": \"726c4892-48b9-45da-b066-2a8e83d2cb78\", \"code\": \"Dine-In\" },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"order\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"products\": [{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"productId\": \"7abdd4e5-d685-43ff-ba79-5e8b2f700b5b\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"product\": \"12 Tiras de Frango\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"quantity\": 1,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"price\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"unitPrice\": { \"currencyCode\": \"BRL\", \"subtotalWithoutTaxes\": 64.9, \"taxValue\": 0, \"total\": 64.9 },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"totalPrice\": { \"currencyCode\": \"BRL\", \"subtotalWithoutTaxes\": 64.9, \"taxValue\": 0, \"total\": 64.9 }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"modifierGroups\": []\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"payments\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"totals\": [{ \"currencyCode\": \"BRL\", \"total\": 64.9 }],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"paymentMethods\": [{ \"processor\": \"CREDIT\", \"currencyCode\": \"BRL\", \"transactionStatus\": \"APPROVED\", \"totalBill\": 64.9 }]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"201","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6f1c2b9e-3a1d-4c55-9b7e-0d2f6a7c8e10\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"external_order_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ORD-000123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"COMPLETED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payment_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUCCEEDED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"business_day_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-29\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-29T14:57:44.330Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"VALIDATION_ERROR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"orderCode is required and must be a non-empty string\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"409","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CONFLICT\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"DUPLICATE_ORDER\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Order with external id ORD-000123 already exists for this vendor.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6f1c2b9e-3a1d-4c55-9b7e-0d2f6a7c8e10\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"externalOrderId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ORD-000123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"COMPLETED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create order (v1)","path":"/api/v1/external/orders","servers":[{"url":"https://app.fire.rest"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"x-api-key":{"schema":[{"type":"string","description":"Your Fire API key with the `orders:write` scope. `Authorization: Bearer \u003capi_key>` is also accepted. The key must be bound to your account and to a vendor . You don’t need to send the `account` header.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"orderId":[{"type":"string","description":"The order’s identifier in your system.","required":true}],"orderCode":[{"type":"string","description":"Unique order code. If an order with that code already exists for your vendor, the response is `409` .","required":true}],"accountId":[{"type":"number","description":"The order’s account.","required":true}],"createdAt":[{"type":"string","description":"Sale date.","required":true}],"selectedShippingMethod":[{"type":"string","description":"`delivery` or `pickup` .","required":true}],"client":[{"type":"object","properties":{},"description":"Customer: `uid` , `name` , `lastName` .","required":true}],"store":[{"type":"object","properties":{},"description":"Store: `id` , `code` , `vendorId` .","required":true}],"order":[{"type":"object","properties":{},"description":"`products[]` with at least one product.","required":true}],"payments":[{"type":"object","properties":{},"description":"`totals[]` and `paymentMethods[]` , with at least one item each. The payments’ `transactionStatus` decides whether the order is closed ( `APPROVED` ) or stays open, pending payment ( `PENDING` ).","required":true}]}}],"examples":{"example":{"value":{"orderId":"\u003cstring>","orderCode":"\u003cstring>","accountId":123,"createdAt":"\u003cstring>","selectedShippingMethod":"\u003cstring>","client":{},"store":{},"order":{},"payments":{}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"`true` when the order was created."}],"data":[{"type":"object","properties":{"id":[{"type":"string","description":"Order ID in Fire. Use it to look the order up, update it, or cancel it."}],"external_order_id":[{"type":"string","description":"The `orderId` you sent."}],"status":[{"type":"string","description":"`COMPLETED` or `OPEN` ."}],"payment_status":[{"type":"string","description":"`SUCCEEDED` or `PENDING` ."}],"business_day_date":[{"type":"string","description":"The store’s business day, `YYYY-MM-DD` ."}],"created_at":[{"type":"string","description":"Creation date in Fire (ISO 8601)."}]}}]}}],"examples":{"example":{"value":{"success":true,"data":{"id":"\u003cstring>","external_order_id":"\u003cstring>","status":"\u003cstring>","payment_status":"\u003cstring>","business_day_date":"\u003cstring>","created_at":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"firepos","siteName":"Fire Docs","title":"Create order (v1) - Fire Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/create-order","matchLevel":0},"es":{"href":"/es/api-reference/create-order","matchLevel":1},"pt":{"href":"/pt/api-reference/create-order","matchLevel":1}}},"lastModified":"2026-10-29T22:12:18.817Z","originalFileLocation":"en/api-reference/create-order.mdx","locale":"en"},"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=\"Create an order in Fire by sending it in Fire format. For the POS, kiosk, and aggregator structure, use version 2.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fire Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/firepos/s0SqGSOWKs91UOFy/_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/firepos/s0SqGSOWKs91UOFy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/firepos/s0SqGSOWKs91UOFy/_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/firepos/s0SqGSOWKs91UOFy/_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/firepos/s0SqGSOWKs91UOFy/_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/firepos/s0SqGSOWKs91UOFy/_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/firepos/s0SqGSOWKs91UOFy/_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/firepos/s0SqGSOWKs91UOFy/_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/firepos/s0SqGSOWKs91UOFy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create order (v1) - Fire Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an order in Fire by sending it in Fire format. For the POS, kiosk, and aggregator structure, use version 2.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fire Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fire.rest/en/api-reference/create-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://firepos.mintlify.app/_mintlify/api/og/v2?division=API\u0026amp;title=Create+order+%28v1%29\u0026amp;description=Create+an+order+in+Fire+by+sending+it+in+Fire+format.+For+the+POS%2C+kiosk%2C+and+aggregator+structure%2C+use+version+2.\u0026amp;theme=e7d88b15424b8f4efffd3b0b\u0026amp;signature=4ceb25ba3d41fe3cd105f93973525845e375aa6a8bd87c7d81eabc3f608696a4\">\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 order (v1) - Fire Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an order in Fire by sending it in Fire format. For the POS, kiosk, and aggregator structure, use version 2.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://firepos.mintlify.app/_mintlify/api/og/v2?division=API\u0026amp;title=Create+order+%28v1%29\u0026amp;description=Create+an+order+in+Fire+by+sending+it+in+Fire+format.+For+the+POS%2C+kiosk%2C+and+aggregator+structure%2C+use+version+2.\u0026amp;theme=e7d88b15424b8f4efffd3b0b\u0026amp;signature=4ceb25ba3d41fe3cd105f93973525845e375aa6a8bd87c7d81eabc3f608696a4\">\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/firepos/s0SqGSOWKs91UOFy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fire Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E6293D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fire.rest/en/api-reference/create-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/create-order.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.fire.rest/en/api-reference/create-order\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.fire.rest/es/api-reference/create-order\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.fire.rest/pt/api-reference/create-order\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.fire.rest/en/api-reference/create-order\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fire.rest/#organization\",\"name\":\"Fire Docs\",\"url\":\"https://docs.fire.rest\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/firepos/gddYq9ZzZKtuBajb/logo/firedocs-light.png?fit=max\u0026auto=format\u0026n=gddYq9ZzZKtuBajb\u0026q=85\u0026s=93281297e6bf96adc03944d9b1f7a63c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fire.rest#website\",\"name\":\"Fire Docs\",\"url\":\"https://docs.fire.rest\",\"publisher\":{\"@id\":\"https://docs.fire.rest/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fire.rest/en/api-reference/create-order#webpage\",\"url\":\"https://docs.fire.rest/en/api-reference/create-order\",\"name\":\"Create order (v1)\",\"description\":\"Create an order in Fire by sending it in Fire format. For the POS, kiosk, and aggregator structure, use version 2.\",\"dateModified\":\"2026-10-29T22:12:18.817Z\",\"isPartOf\":{\"@id\":\"https://docs.fire.rest#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fire.rest/en/api-reference/create-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fire.rest/en/api-reference/create-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API\",\"item\":\"https://docs.fire.rest/en/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create order (v1)\",\"item\":\"https://docs.fire.rest/en/api-reference/create-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fire.rest/en/api-reference/create-order#apireference\",\"headline\":\"Create order (v1)\",\"name\":\"Create order (v1)\",\"description\":\"Create an order in Fire by sending it in Fire format. For the POS, kiosk, and aggregator structure, use version 2.\",\"url\":\"https://docs.fire.rest/en/api-reference/create-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fire.rest/en/api-reference/create-order#webpage\"},\"dateModified\":\"2026-10-29T22:12:18.817Z\",\"publisher\":{\"@id\":\"https://docs.fire.rest/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fire.rest#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fire Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Fire Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"footer":{"socials":{"x":"https://x.com/fire","github":"https://github.com/fire"}},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/en/introduction"}]},{"tab":"User manuals","pages":[{"title":"User manuals","href":"/en/manuals/kiosk/linking"}]},{"tab":"Webhook reference","pages":[{"title":"Webhook reference","href":"/en/webhook-reference/overview"}]},{"tab":"API reference","groups":[{"group":"API","pages":[{"title":"API reference","href":"/en/api-reference/introduction"},{"title":"Login","api":"POST https://stg.api.fire.rest/api/authentication/login","href":"/en/api-reference/login"},{"title":"Inject order","api":"POST /api/v4/integrations/sales/aggregator/orders","description":"Inject an order into Fire. Fire manages the order lifecycle and sends status updates back via webhooks.","href":"/en/api-reference/orders"},{"title":"Create order (v1)","api":"POST https://app.fire.rest/api/v1/external/orders","href":"/en/api-reference/create-order"},{"title":"Create order (v2)","api":"POST https://app.fire.rest/api/v2/external/orders","description":"Create an order in Fire from the POS, the kiosk, or an aggregator integrator, using the same order structure they already send today.","href":"/en/api-reference/create-order-v2"},{"title":"Get a fiscal request","api":"GET /api/v1/external/fiscal/numbering/{fiscalRequestId}","href":"/en/api-reference/fiscal-document-get"},{"title":"List an order's fiscal requests","api":"GET /api/v1/external/fiscal/numbering","href":"/en/api-reference/fiscal-documents-query"},{"title":"Cancel order","api":"POST /api/v4/integrations/sales/aggregator/orders/{order_uid}/refund","href":"/en/api-reference/cancel-order"},{"title":"Document types catalog","api":"GET /api/v1/external/fiscal/document-types","href":"/en/api-reference/fiscal-document-types"},{"title":"Fiscal callback","api":"POST https://app.fire.rest/api/v1/webhooks/fiscal/callback","href":"/en/api-reference/fiscal-callback"},{"title":"Aggregator order status","api":"POST https://app.fire.rest/api/v1/webhooks/aggregators/order-status","href":"/en/api-reference/aggregator-order-status"},{"title":"Menu sync status","api":"POST https://app.fire.rest/api/v1/webhooks/xmart/sync-status","href":"/en/api-reference/menu-sync-status"},{"title":"Channels config","api":"GET https://api.fire.rest/api/v1/fire/external/channels/config","href":"/en/api-reference/channels-config"},{"title":"Payment methods config","api":"GET https://api.fire.rest/api/v1/external/payment-methods/config","href":"/en/api-reference/payment-methods-config"},{"title":"Payment method configuration (v2)","api":"GET https://api.fire.rest/api/v2/external/payment-methods/config","href":"/en/api-reference/payment-methods-config-v2"},{"title":"List stores","api":"GET https://api.fire.rest/api/v1/fire/external/stores","href":"/en/api-reference/list-stores"},{"title":"Get store","api":"GET https://api.fire.rest/api/v1/fire/external/stores/{storeId}","href":"/en/api-reference/get-store"},{"title":"List store terminals","api":"GET https://api.fire.rest/api/v1/fire/external/stores/{storeId}/terminals","href":"/en/api-reference/list-store-terminals"},{"title":"List menus","api":"GET https://api.fire.rest/api/v1/fire/external/stores/{storeId}/menus","href":"/en/api-reference/list-menus"},{"title":"Get menu","api":"GET https://api.fire.rest/api/v1/fire/external/stores/{storeId}/menu","href":"/en/api-reference/get-menu"},{"title":"List orders","api":"GET https://api.fire.rest/api/v1/fire/external/orders","href":"/en/api-reference/list-orders"},{"title":"List store orders","api":"GET https://api.fire.rest/api/v1/fire/external/stores/{storeId}/orders","href":"/en/api-reference/list-store-orders"},{"title":"Get order","api":"GET https://api.fire.rest/api/v1/fire/external/orders/{orderId}","href":"/en/api-reference/get-order"},{"title":"Update order","api":"PUT https://api.fire.rest/api/v1/fire/external/orders/{orderId}","href":"/en/api-reference/update-order"},{"title":"Confirm payment","api":"POST https://api.fire.rest/api/v1/fire/external/orders/{orderId}/confirm-payment","href":"/en/api-reference/confirm-payment"},{"title":"Record lost sale","api":"POST https://api.fire.rest/api/v1/fire/external/orders/lost-sales","href":"/en/api-reference/lost-sales"},{"group":"Printing","root":{"title":"Print an order document","api":"POST https://api.fire.rest/api/v1/fire/external/printing/orders/{orderRef}/documents/{document}","href":"/en/api-reference/print-order-document"},"pages":[{"title":"Print an order document","api":"POST https://api.fire.rest/api/v1/fire/external/printing/orders/{orderRef}/documents/{document}","href":"/en/api-reference/print-order-document"},{"title":"Print the day close","api":"POST https://api.fire.rest/api/v1/fire/external/printing/stores/{storeId}/days/{businessDayDate}","href":"/en/api-reference/print-day-close"}]},{"title":"Decline reasons","api":"GET https://api.fire.rest/api/v1/fire/external/payment-decline-reasons","href":"/en/api-reference/payment-decline-reasons"}]},{"group":"Partner APIs","pages":[{"title":"Cancel order (partners)","api":"POST https://app.fire.rest/api/v1/adapters/xmart/stores/orders/{orderId}/cancel","href":"/en/api-reference/cancel-order-partners"},{"title":"Cancellation eligibility","api":"GET https://app.fire.rest/api/v1/external/orders/{orderId}/cancellation-eligibility","href":"/en/api-reference/cancellation-eligibility"},{"title":"Cancellation reasons","api":"GET https://app.fire.rest/api/v1/adapters/xmart/stores/orders/{orderId}/cancellation-reasons","href":"/en/api-reference/cancellation-reasons"},{"group":"Fiscal numbering","root":{"title":"Request fiscal numbering","api":"POST /api/v1/external/fiscal/numbering","href":"/en/api-reference/fiscal-documents"},"pages":[{"title":"Request fiscal numbering","api":"POST /api/v1/external/fiscal/numbering","href":"/en/api-reference/fiscal-documents"},{"title":"Request fiscal numbering (v2)","api":"POST https://app.fire.rest/api/v2/external/fiscal/numbering","href":"/en/api-reference/fiscal-documents-v2"}]},{"title":"Fiscal print data","api":"GET https://app.fire.rest/api/v1/restaurant-os/injected-orders/{orderId}/fiscal-print","href":"/en/api-reference/fiscal-print"},{"title":"Expected cash","api":"GET https://app.fire.rest/api/v1/adapters/xmart/cash-management/expected","href":"/en/api-reference/cash-expected"},{"group":"Cash reconciliations","root":{"title":"Cash reconciliations","api":"POST https://app.fire.rest/api/v1/adapters/xmart/cash-management/reconciliations","href":"/en/api-reference/cash-reconciliations"},"pages":[{"title":"Cash reconciliations","api":"POST https://app.fire.rest/api/v1/adapters/xmart/cash-management/reconciliations","href":"/en/api-reference/cash-reconciliations"},{"title":"Cash reconciliations (v2)","api":"POST https://app.fire.rest/api/v2/external/cash-management/reconciliations","href":"/en/api-reference/cash-reconciliations-v2"}]},{"title":"KDS order status","api":"POST https://app.fire.rest/api/v1/webhooks/kds/order-status","href":"/en/api-reference/kds-order-status"},{"title":"Component health","api":"POST https://api.fire.rest/api/v1/fire/external/component-health","href":"/en/api-reference/component-health"}]}]},{"tab":"Events","pages":[{"title":"Events","href":"/en/events/overview"}]},{"tab":"FUEL","pages":[{"title":"FUEL","href":"/en/fuel/introduction"}]},{"tab":"BOH API","pages":[{"title":"BOH API","href":"/en/boh-api/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/en/changelog"}]}]},{"language":"es","footer":{"socials":{"x":"https://x.com/fire","github":"https://github.com/fire"}},"pages":[{"title":"es","href":"/es/api-reference/create-order"}]},{"language":"pt","footer":{"socials":{"x":"https://x.com/fire","github":"https://github.com/fire"}},"pages":[{"title":"pt","href":"/pt/api-reference/create-order"}]}]},"title":"Create order (v1) - Fire Docs","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"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"]}