{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Streamlined","description":"Streamlined B2B invoicing and payments API. Create invoices, track payments, reconcile, and sync with Shopify and QuickBooks, from code or AI agents.","colors":{"primary":"#7344E6","light":"#9A69FF","dark":"#7344E6"},"logo":{"light":"https://mintcdn.com/streamlined/Qpdci2P6MxdROfbH/logo/dark-full-logo.svg?fit=max\u0026auto=format\u0026n=Qpdci2P6MxdROfbH\u0026q=85\u0026s=8fc069947772cc7f34a667a4ac44277e","dark":"https://mintcdn.com/streamlined/Qpdci2P6MxdROfbH/logo/white-full-logo.svg?fit=max\u0026auto=format\u0026n=Qpdci2P6MxdROfbH\u0026q=85\u0026s=65b5117ce25c03613743c300e70088f2","href":"https://www.streamlinedpayments.com"},"favicon":"https://mintcdn.com/streamlined/Qpdci2P6MxdROfbH/favicon.png?fit=max\u0026auto=format\u0026n=Qpdci2P6MxdROfbH\u0026q=85\u0026s=1f91eaeb7c352eb35379da9dc5bc4141","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python","ruby"]}},"background":{"color":{"light":"#FFFFFF","dark":"#1A1B1F"}},"navbar":{"links":[{"href":"https://www.streamlinedpayments.com","label":"streamlinedpayments.com"}]},"footer":{"socials":{"website":"https://www.streamlinedpayments.com"}},"seo":{"metatags":{"canonical":"https://docs.streamlinedpayments.com"}},"icons":{"library":"tabler"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"streamlined","hasAudioNarration":false,"actualSubdomain":"streamlined","customDomains":["docs.streamlinedpayments.com"],"gitSource":{"type":"github","owner":"streamlined","repo":"api-docs","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6ade5ab7087fb56429740964"},"chroma":{"latestBuiltDeploymentHistoryId":"6ade6405793cfd8b52fb7a45","collectionId":"2c339057-d55e-4de5-bf20-9b98106b8ca8","liveDeploymentHistoryId":"6ade6405793cfd8b52fb7a45","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ade9510a5087fd650ccab9a","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"API reference","count":68},{"language":"default","tag":"Webhooks","count":10},{"language":"default","tag":"Guides","count":9},{"language":"default","tag":"Orders","count":9},{"language":"default","tag":"Products","count":9},{"language":"default","tag":"Customer groups","count":7},{"language":"default","tag":"Customer addresses","count":6},{"language":"default","tag":"Deposit links","count":6},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Customer files","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/orders/add-line-item","slug":"/api-reference/orders/add-line-item","pageMetadata":{"title":"Add line item","description":"Adds a line item to an order that has not been invoiced.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orders/{id}/line_items","href":"/api-reference/orders/add-line-item","autogeneratedByOpenApi":true},"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: \"Adds a line item to an order that has not been invoiced.\"\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":"Add line item","description":"Adds a line item to an order that has not been invoiced.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orders/{id}/line_items","href":"/api-reference/orders/add-line-item","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Orders"],"summary":"Add line item","description":"Adds a line item to an order that has not been invoiced.","operationId":"addLineItem","parameters":["827e94be-5839-45f4-b43e-5d2bf48c5589"],"requestBody":"eae34c4a-78bb-4f99-807c-482c4e1a00ad","responses":{"201":"78202121-f189-44a1-bb0d-63c034eb14cf","400":"f86aa717-7af1-4624-887a-5c7a1ec76d87","401":"3531f3b6-ec77-432f-8473-917c2d999b62","404":"89910821-6d0b-4ea1-a58f-03feb0093e1a","422":"a8026f04-ccec-4d27-af95-e112192f3a63"},"method":"post","type":"path","servers":["14bef3eb-4da6-4f98-a900-b553c1226ab6","b7355531-eb15-408a-831a-58d29a90c2c3"],"security":["086c9871-1b00-4a03-8647-4da3ba7b7947"],"path":"/orders/{id}/line_items","baseUrlOptions":["https://api.staging.streamlinedpayments.com/api/v1","https://api.streamlinedpayments.com/api/v1"],"title":"Add line item","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","ruby"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"827e94be-5839-45f4-b43e-5d2bf48c5589":{"name":"id","in":"path","description":"The UUID of the order to add a line item to","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The UUID of the order to add a line item to","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"line_item":{"type":"object","required":["description","quantity","net_amount"],"properties":{"description":{"type":"string","description":"Description of the line item","isRequired":true,"uniqueKey":"line_item.description","typeLabel":"string"},"quantity":{"type":"number","format":"float","description":"Quantity of the item","isRequired":true,"uniqueKey":"line_item.quantity","typeLabel":"number\u003cfloat>"},"net_amount":{"type":"integer","description":"Net amount in cents","isRequired":true,"uniqueKey":"line_item.net_amount","typeLabel":"integer"},"discount_bps":{"type":"integer","description":"Discount in basis points","uniqueKey":"line_item.discount_bps","typeLabel":"integer"}},"uniqueKey":"line_item","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"78202121-f189-44a1-bb0d-63c034eb14cf":{"description":"Line item created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"line_item":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"line_item.uuid","typeLabel":"string\u003cuuid>"},"description":{"type":"string","uniqueKey":"line_item.description","typeLabel":"string"},"quantity":{"type":"string","uniqueKey":"line_item.quantity","typeLabel":"string"},"net_amount":{"type":"integer","uniqueKey":"line_item.net_amount","typeLabel":"integer"},"discount_bps":{"type":"integer","uniqueKey":"line_item.discount_bps","typeLabel":"integer"}},"uniqueKey":"line_item","typeLabel":"object"},"order":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"order.uuid","typeLabel":"string\u003cuuid>"},"total_amount":{"type":"integer","uniqueKey":"order.total_amount","typeLabel":"integer"}},"uniqueKey":"order","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"line_item":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","description":"\u003cstring>","quantity":"\u003cstring>","net_amount":123,"discount_bps":123},"order":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","total_amount":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"f86aa717-7af1-4624-887a-5c7a1ec76d87":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3531f3b6-ec77-432f-8473-917c2d999b62":{"description":"Authentication failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"AuthenticationRequired":{"title":"AuthenticationRequired","value":{"error":"Authentication required","message":"API endpoint requires authentication. Please provide valid X-App-Id and X-Api-Key headers."}},"InvalidCredentials":{"title":"InvalidCredentials","value":{"error":"Invalid credentials","message":"The provided API credentials are invalid. Please check your X-App-Id and X-Api-Key values."}}},"exampleType":"examples"}},"exampleType":"examples"},"89910821-6d0b-4ea1-a58f-03feb0093e1a":{"description":"Order not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Order not found"},"examples":{"Example":{"title":"Example","value":{"error":"Order not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"a8026f04-ccec-4d27-af95-e112192f3a63":{"description":"Unprocessable entity","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors","typeLabel":"string[]"}},"example":{"errors":["Cannot add line items to an invoiced order"]},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":["Cannot add line items to an invoiced order"]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"086c9871-1b00-4a03-8647-4da3ba7b7947":{"AppIdAuth":{"type":"apiKey","in":"header","name":"X-App-Id","description":"App ID for authentication","scopes":[],"schemeName":"AppIdAuth"},"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"API Key for authentication","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"14bef3eb-4da6-4f98-a900-b553c1226ab6":{"url":"https://api.staging.streamlinedpayments.com/api/v1","description":"Sandbox"},"b7355531-eb15-408a-831a-58d29a90c2c3":{"url":"https://api.streamlinedpayments.com/api/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-App-Id","description":"App ID for authentication","scopes":[],"schemeName":"AppIdAuth"},"schema":{"title":"X-App-Id","type":"string","description":"App ID for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"AppIdAuth","name":"X-App-Id"},{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"API Key for authentication","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-Api-Key","type":"string","description":"API Key for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-Api-Key"}],"title":"AppIdAuth \u0026 ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"streamlined","siteName":"Streamlined","title":"Add line item - Streamlined","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T20:18:19.338Z","originalFileLocation":"api-reference/orders/add-line-item.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Adds a line item to an order that has not been invoiced.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Streamlined\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/streamlined/URfm7sDwfsC7vQpi/_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/streamlined/URfm7sDwfsC7vQpi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/streamlined/URfm7sDwfsC7vQpi/_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/streamlined/URfm7sDwfsC7vQpi/_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/streamlined/URfm7sDwfsC7vQpi/_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/streamlined/URfm7sDwfsC7vQpi/_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/streamlined/URfm7sDwfsC7vQpi/_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/streamlined/URfm7sDwfsC7vQpi/_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/streamlined/URfm7sDwfsC7vQpi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add line item - Streamlined\">\u003cmeta data-mint-head property=\"og:description\" content=\"Adds a line item to an order that has not been invoiced.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Streamlined\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.streamlinedpayments.com/api-reference/orders/add-line-item\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://streamlined.mintlify.app/_mintlify/api/og/v2?division=Orders\u0026amp;title=Add+line+item\u0026amp;description=Adds+a+line+item+to+an+order+that+has+not+been+invoiced.\u0026amp;theme=6162774cbdf31784f6455291\u0026amp;signature=f66b66f53f6abc46720ba1b164ee50fa41819edb7c40e72cd16a35215cc7347c\">\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=\"Add line item - Streamlined\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Adds a line item to an order that has not been invoiced.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://streamlined.mintlify.app/_mintlify/api/og/v2?division=Orders\u0026amp;title=Add+line+item\u0026amp;description=Adds+a+line+item+to+an+order+that+has+not+been+invoiced.\u0026amp;theme=6162774cbdf31784f6455291\u0026amp;signature=f66b66f53f6abc46720ba1b164ee50fa41819edb7c40e72cd16a35215cc7347c\">\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/streamlined/URfm7sDwfsC7vQpi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Streamlined\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7344E6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.streamlinedpayments.com/api-reference/orders/add-line-item\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/orders/add-line-item.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.streamlinedpayments.com/#organization\",\"name\":\"Streamlined\",\"url\":\"https://docs.streamlinedpayments.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/streamlined/Qpdci2P6MxdROfbH/logo/dark-full-logo.svg?fit=max\u0026auto=format\u0026n=Qpdci2P6MxdROfbH\u0026q=85\u0026s=8fc069947772cc7f34a667a4ac44277e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.streamlinedpayments.com#website\",\"name\":\"Streamlined\",\"url\":\"https://docs.streamlinedpayments.com\",\"publisher\":{\"@id\":\"https://docs.streamlinedpayments.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.streamlinedpayments.com/api-reference/orders/add-line-item#webpage\",\"url\":\"https://docs.streamlinedpayments.com/api-reference/orders/add-line-item\",\"name\":\"Add line item\",\"description\":\"Adds a line item to an order that has not been invoiced.\",\"dateModified\":\"2026-10-25T20:18:19.338Z\",\"isPartOf\":{\"@id\":\"https://docs.streamlinedpayments.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.streamlinedpayments.com/api-reference/orders/add-line-item#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.streamlinedpayments.com/api-reference/orders/add-line-item#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Orders\",\"item\":\"https://docs.streamlinedpayments.com/api-reference/orders/list-orders\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add line item\",\"item\":\"https://docs.streamlinedpayments.com/api-reference/orders/add-line-item\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.streamlinedpayments.com/api-reference/orders/add-line-item#apireference\",\"headline\":\"Add line item\",\"name\":\"Add line item\",\"description\":\"Adds a line item to an order that has not been invoiced.\",\"url\":\"https://docs.streamlinedpayments.com/api-reference/orders/add-line-item\",\"mainEntityOfPage\":{\"@id\":\"https://docs.streamlinedpayments.com/api-reference/orders/add-line-item#webpage\"},\"dateModified\":\"2026-10-25T20:18:19.338Z\",\"publisher\":{\"@id\":\"https://docs.streamlinedpayments.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.streamlinedpayments.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Streamlined\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Streamlined","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Orders","pages":[{"title":"List orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orders","href":"/api-reference/orders/list-orders"},{"title":"Create order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orders","href":"/api-reference/orders/create-order"},{"title":"Get order details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orders/{id}","href":"/api-reference/orders/get-order-details"},{"title":"Update order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /orders/{id}","href":"/api-reference/orders/update-order"},{"title":"Delete order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orders/{id}","href":"/api-reference/orders/delete-order"},{"title":"List scheduled orders","description":"Lists scheduled orders/invoices.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orders/scheduled","href":"/api-reference/orders/list-scheduled-orders"},{"title":"Add line item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orders/{id}/line_items","href":"/api-reference/orders/add-line-item"},{"title":"Remove line item","description":"Removes a line item from an order that has not been invoiced.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orders/{id}/line_items/{line_item_id}","href":"/api-reference/orders/remove-line-item"},{"title":"Schedule order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /orders/{id}/schedule","href":"/api-reference/orders/schedule-order"}]},{"group":"Customers","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers","href":"/api-reference/customers/list-customers"},{"title":"Create customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customers","href":"/api-reference/customers/create-customer"},{"title":"Get customer details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers/{uuid}","href":"/api-reference/customers/get-customer-details"},{"title":"Update customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /customers/{uuid}","href":"/api-reference/customers/update-customer"},{"title":"Delete customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /customers/{uuid}","href":"/api-reference/customers/delete-customer"}]},{"group":"Customer applications","pages":[{"title":"List customer applications","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customer_applications","href":"/api-reference/customer-applications/list-customer-applications"},{"title":"Approve customer application","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customer_applications/{uuid}/approve","href":"/api-reference/customer-applications/approve-customer-application"}]},{"group":"Customer groups","pages":[{"title":"List customer groups","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customer_groups","href":"/api-reference/customer-groups/list-customer-groups"},{"title":"Create customer group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customer_groups","href":"/api-reference/customer-groups/create-customer-group"},{"title":"Get customer group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customer_groups/{uuid}","href":"/api-reference/customer-groups/get-customer-group"},{"title":"Update customer group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /customer_groups/{uuid}","href":"/api-reference/customer-groups/update-customer-group"},{"title":"List group members","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customer_groups/{uuid}/members","href":"/api-reference/customer-groups/list-group-members"},{"title":"Add members to group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customer_groups/{uuid}/members","href":"/api-reference/customer-groups/add-members-to-group"},{"title":"Remove members from group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /customer_groups/{uuid}/members","href":"/api-reference/customer-groups/remove-members-from-group"}]},{"group":"Customer files","pages":[{"title":"List customer files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers/{customer_id}/files","href":"/api-reference/customer-files/list-customer-files"},{"title":"Upload customer file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customers/{customer_id}/files","href":"/api-reference/customer-files/upload-customer-file"},{"title":"Get customer file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers/{customer_id}/files/{id}","href":"/api-reference/customer-files/get-customer-file"},{"title":"Update customer file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /customers/{customer_id}/files/{id}","href":"/api-reference/customer-files/update-customer-file"},{"title":"Delete customer file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /customers/{customer_id}/files/{id}","href":"/api-reference/customer-files/delete-customer-file"}]},{"group":"Customer addresses","pages":[{"title":"List customer addresses","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers/{customer_id}/addresses","href":"/api-reference/customer-addresses/list-customer-addresses"},{"title":"Add customer address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customers/{customer_id}/addresses","href":"/api-reference/customer-addresses/add-customer-address"},{"title":"Get customer address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers/{customer_id}/addresses/{id}","href":"/api-reference/customer-addresses/get-customer-address"},{"title":"Update customer address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /customers/{customer_id}/addresses/{id}","href":"/api-reference/customer-addresses/update-customer-address"},{"title":"Delete customer address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /customers/{customer_id}/addresses/{id}","href":"/api-reference/customer-addresses/delete-customer-address"},{"title":"Set address as default billing","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /customers/{customer_id}/addresses/{id}/set_as_default_billing","href":"/api-reference/customer-addresses/set-address-as-default-billing"}]},{"group":"Payouts","pages":[{"title":"List payouts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /payouts","href":"/api-reference/payouts/list-payouts"},{"title":"Get payout details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /payouts/{uuid}","href":"/api-reference/payouts/get-payout-details"},{"title":"List pending payouts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /payouts/pending","href":"/api-reference/payouts/list-pending-payouts"}]},{"group":"Invoices","pages":[{"title":"List invoices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /invoices","href":"/api-reference/invoices/list-invoices"},{"title":"Create invoice from order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /invoices","href":"/api-reference/invoices/create-invoice-from-order"},{"title":"Get invoice details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /invoices/{id}","href":"/api-reference/invoices/get-invoice-details"},{"title":"Update invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /invoices/{id}","href":"/api-reference/invoices/update-invoice"}]},{"group":"Transactions","pages":[{"title":"List transactions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /transactions","href":"/api-reference/transactions/list-transactions"},{"title":"Get transaction details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /transactions/{id}","href":"/api-reference/transactions/get-transaction-details"}]},{"group":"Products","pages":[{"title":"List products","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /products","href":"/api-reference/products/list-products"},{"title":"Create product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /products","href":"/api-reference/products/create-product"},{"title":"Get product details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /products/{id}","href":"/api-reference/products/get-product-details"},{"title":"Archive product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /products/{id}","href":"/api-reference/products/archive-product"},{"title":"Update product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /products/{id}","href":"/api-reference/products/update-product"},{"title":"Bulk update products","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /products/bulk_update","href":"/api-reference/products/bulk-update-products"},{"title":"Merge products","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /products/merge","href":"/api-reference/products/merge-products"},{"title":"Product autocomplete","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /products/autocomplete","href":"/api-reference/products/product-autocomplete"},{"title":"Bulk import products","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /products/import","href":"/api-reference/products/bulk-import-products"}]},{"group":"Deposit links","pages":[{"title":"List deposit links","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /deposit_links","href":"/api-reference/deposit-links/list-deposit-links"},{"title":"Create deposit link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /deposit_links","href":"/api-reference/deposit-links/create-deposit-link"},{"title":"Retrieve deposit link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /deposit_links/{uuid}","href":"/api-reference/deposit-links/retrieve-deposit-link"},{"title":"Cancel deposit link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /deposit_links/{uuid}","href":"/api-reference/deposit-links/cancel-deposit-link"},{"title":"Apply deposit to invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /deposit_links/{uuid}/invoice","href":"/api-reference/deposit-links/apply-deposit-to-invoice"},{"title":"Unqueue deposit from invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /deposit_links/{uuid}/invoice","href":"/api-reference/deposit-links/unqueue-deposit-from-invoice"}]},{"group":"Webhooks","pages":[{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /webhook_endpoints","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Create webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /webhook_endpoints","href":"/api-reference/webhooks/create-webhook-endpoint"},{"title":"List webhook event types","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /webhook_endpoints/event_types","href":"/api-reference/webhooks/list-webhook-event-types"},{"title":"Retrieve webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /webhook_endpoints/{uuid}","href":"/api-reference/webhooks/retrieve-webhook-endpoint"},{"title":"Delete webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /webhook_endpoints/{uuid}","href":"/api-reference/webhooks/delete-webhook-endpoint"},{"title":"Update webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /webhook_endpoints/{uuid}","href":"/api-reference/webhooks/update-webhook-endpoint"},{"title":"Rotate webhook secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /webhook_endpoints/{uuid}/rotate_secret","href":"/api-reference/webhooks/rotate-webhook-secret"},{"title":"Send test event","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /webhook_endpoints/{uuid}/test","href":"/api-reference/webhooks/send-test-event"},{"title":"List webhook deliveries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /webhook_endpoints/{uuid}/deliveries","href":"/api-reference/webhooks/list-webhook-deliveries"},{"title":"Retry webhook delivery","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /webhook_endpoints/{uuid}/deliveries/{delivery_uuid}/retry","href":"/api-reference/webhooks/retry-webhook-delivery"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"title":"Add line item - Streamlined","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-7TwLLapg.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}