This endpoint allows you to modify order contents after the order has been created but before it’s completed. You can remove items, reduce quantities, add new items, or update existing items. This is useful for handling out-of-stock situations, customer requests, or inventory adjustments.
Order modifications should only be made with customer approval and may affect the final order price. Always communicate changes to the customer.
Path Parameters
string
required
The unique identifier of the order to modify
Request Body
The request body should be an array of action objects, each specifying a modification to perform:
string
required
Type of modification: “remove_item”, “reduce_quantity”, “add_item”, “update_item”
string
required
The unique identifier of the order item to modify (required for remove_item, reduce_quantity, update_item)
integer
New quantity for the item (required for reduce_quantity and add_item actions)
string
Product identifier (required for add_item actions)
string
Updated special instructions for the item
Response
string
Updated order identifier
string
Updated order subtotal after modifications
string
Recalculated tax amount
string
Updated original price
string
Delivery platform name
string
Order-level special instructions
object
Customer information remains unchanged
array
Updated fulfillment information with modification logs
Show Fulfillment Details
array
Complete log of all order changes including modifications
Price Recalculation: The system automatically recalculates taxes, fees, and total price after modifications. Negative subtotals in the response indicate cost reductions.
Best Practice: Always batch multiple modifications into a single request to avoid multiple price recalculations and to maintain order consistency.
Error Responses
Common Error Scenarios
Invalid Order Item
{ "error": "Order item not found", "order_item_id": "invalid-id"}
Order Not Modifiable
{ "error": "Order cannot be modified in current status", "current_status": "completed"}
Invalid Quantity
{ "error": "Quantity must be greater than 0", "provided_quantity": 0}
Status Restrictions: Orders can only be modified in certain statuses (pending, accepted, in_progress). Completed, canceled, or delivered orders cannot be modified.
Use Cases
Common Modification Scenarios
Out of Stock Items
Remove unavailable items
Reduce quantities for partial availability
Add substitute items with customer approval
Customer Requests
Add items to existing order
Remove items customer no longer wants
Modify special instructions
Inventory Adjustments
Reduce quantities when stock is lower than expected
Remove items due to quality issues
Update item specifications
Price Corrections
Adjust item quantities for pricing corrections
Remove incorrectly priced items
Add corrected items
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Documentation Starter Kit","colors":{"primary":"#2C023B","light":"#D09CE8","dark":"#DE4990"},"favicon":"lula-commerce-favicon.png","logo":{"light":"https://mintcdn.com/lulaconvenience/j9ZBLBNfvCnzqqXy/logo/lula-commerce-logo-primary.png?fit=max\u0026auto=format\u0026n=j9ZBLBNfvCnzqqXy\u0026q=85\u0026s=284bd11c4f3d4f0c15a37b9801dadcc6","dark":"https://mintcdn.com/lulaconvenience/j9ZBLBNfvCnzqqXy/logo/lula-commerce-logo-white.png?fit=max\u0026auto=format\u0026n=j9ZBLBNfvCnzqqXy\u0026q=85\u0026s=16d580a4ae3b30dfd55a7f72ed85a1dd"},"footer":{"socials":{"github":"https://github.com/Lula-Inc","linkedin":"https://www.linkedin.com/company/lula-commerce/"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lulaconvenience","hasAudioNarration":false,"actualSubdomain":"lulaconvenience","customDomains":["developer.lulacommerce.com"],"gitSource":{"type":"github","owner":"lula-inc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae91638e2896f37251f2584:success","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API Reference","count":82},{"language":"default","tag":"API Documentation - Latest","count":80},{"language":"default","tag":"Catalog","count":17},{"language":"default","tag":"Orders","count":16},{"language":"default","tag":"Menus","count":14},{"language":"default","tag":"Campaigns","count":13},{"language":"default","tag":"Documentation","count":12},{"language":"default","tag":"Stores","count":11},{"language":"default","tag":"Modifiers","count":10},{"language":"default","tag":"Promotions","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/orders/patch-order-cart","slug":"/api-reference/orders/patch-order-cart","pageMetadata":{"title":"Patch Order Cart","api":"PATCH {{micro_service_base_url}}/orders/{{order_id}}/patch-order","description":"Modify order items by adding, removing, or updating quantities after order creation but before completion.","playground":"simple","href":"/api-reference/orders/patch-order-cart"},"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: \"Modify order items by adding, removing, or updating quantities after order creation but before completion.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Expandable,Heading,Note,ParamField,ResponseField,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This endpoint allows you to modify order contents after the order has been created but before it’s completed. You can remove items, reduce quantities, add new items, or update existing items. This is useful for handling out-of-stock situations, customer requests, or inventory adjustments.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Order modifications should only be made with customer approval and may affect the final order price. Always communicate changes to the customer.`})}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`order_id`,type:`string`,required:true,id:`param-order-id`,children:_jsx(_components.p,{children:`The unique identifier of the order to modify`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(_components.p,{children:`The request body should be an array of action objects, each specifying a modification to perform:`}),`\n`,_jsx(ParamField,{body:`action_type`,type:`string`,required:true,id:`param-action-type`,children:_jsx(_components.p,{children:`Type of modification: “remove_item”, “reduce_quantity”, “add_item”, “update_item”`})}),`\n`,_jsx(ParamField,{body:`order_item_id`,type:`string`,required:true,id:`param-order-item-id`,children:_jsx(_components.p,{children:`The unique identifier of the order item to modify (required for remove_item, reduce_quantity, update_item)`})}),`\n`,_jsx(ParamField,{body:`quantity`,type:`integer`,optional:true,id:`param-quantity`,children:_jsx(_components.p,{children:`New quantity for the item (required for reduce_quantity and add_item actions)`})}),`\n`,_jsx(ParamField,{body:`item_id`,type:`string`,optional:true,id:`param-item-id`,children:_jsx(_components.p,{children:`Product identifier (required for add_item actions)`})}),`\n`,_jsx(ParamField,{body:`special_instructions`,type:`string`,optional:true,id:`param-special-instructions`,children:_jsx(_components.p,{children:`Updated special instructions for the item`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Updated order identifier`})}),`\n`,_jsx(ResponseField,{name:`original_subtotal`,type:`string`,id:`param-original-subtotal`,children:_jsx(_components.p,{children:`Updated order subtotal after modifications`})}),`\n`,_jsx(ResponseField,{name:`tax_amount`,type:`string`,id:`param-tax-amount`,children:_jsx(_components.p,{children:`Recalculated tax amount`})}),`\n`,_jsx(ResponseField,{name:`original_price`,type:`string`,id:`param-original-price`,children:_jsx(_components.p,{children:`Updated original price`})}),`\n`,_jsx(ResponseField,{name:`partner`,type:`string`,id:`param-partner`,children:_jsx(_components.p,{children:`Delivery platform name`})}),`\n`,_jsx(ResponseField,{name:`special_instructions`,type:`string`,id:`param-special-instructions-1`,children:_jsx(_components.p,{children:`Order-level special instructions`})}),`\n`,_jsx(ResponseField,{name:`customer`,type:`object`,id:`param-customer`,children:_jsx(_components.p,{children:`Customer information remains unchanged`})}),`\n`,_jsxs(ResponseField,{name:`fulfillments`,type:`array`,id:`param-fulfillments`,children:[_jsx(_components.p,{children:`Updated fulfillment information with modification logs`}),_jsx(Expandable,{title:`Fulfillment Details`,children:_jsxs(ResponseField,{name:`fulfillmentsLogs`,type:`array`,id:`param-fulfillments-logs`,children:[_jsx(_components.p,{children:`Complete log of all order changes including modifications`}),_jsxs(Expandable,{title:`Fulfillment Log Entry`,children:[_jsx(ResponseField,{name:`date_created`,type:`string`,id:`param-date-created`,children:`Timestamp of the modification`}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:`Description of what was changed`}),_jsx(ResponseField,{name:`order_status_title`,type:`string`,id:`param-order-status-title`,children:`Status title (e.g., “Item quantity edited”)`}),_jsx(ResponseField,{name:`employee`,type:`object`,id:`param-employee`,children:`Employee who made the modification`})]})]})})]}),`\n`,_jsx(ResponseField,{name:`orderItems`,type:`array`,id:`param-order-items`,children:_jsx(_components.p,{children:`Updated array of order items after modifications`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-example`,children:`Request Example`}),`\n`,_jsx(CodeBlock,{filename:``,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`,_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:` \"action_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"remove_item\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_item_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"35bf2e22-a70f-4dda-9de0-eb92ee581d4a\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"reduce_quantity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_item_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3133710b-6d3e-4533-8d67-26c7a4a93e29\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quantity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-example`,children:`Response Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`68`,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:`68`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a8e2c9ee-0bbd-4e86-ab2c-40e94297b3bd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"original_subtotal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"-35.26\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_auto_accepted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tax_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NaN\"`}),_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:` \"discount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"original_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-07-04T12:06:57.740Z\"`}),_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:` \"partner\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DoorDash\"`}),_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:` \"special_instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cancel the order if the first item is not Present\"`}),_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:` \"exclude_allergens_items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"is_include_disposables\"`}),_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:` \"store_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"449235c1-3d04-4519-998b-40d2a621e5e0\"`}),_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:` \"dsp_order_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"custom_fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tax_remitted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NaN\"`}),_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:` \"customer\"`}),_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:` \"customer_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Lula D.\"`}),_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:` \"contact_phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+1 312-766-6835\"`}),_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:` \"phone_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fulfillments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quantity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date_ready\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-07-04T12:06:57.756Z\"`}),_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:` \"estimated_date_delivered\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-07-04T12:17:14.540Z\"`}),_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:`\"2f71af29-e115-42f1-839f-1137efa73c8a\"`}),_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:` \"store_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"449235c1-3d04-4519-998b-40d2a621e5e0\"`}),_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:` \"fulfillmentStatus\"`}),_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:` \"delivery_status_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"waiting\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fulfillmentsLogs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date_created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-07-04T12:06:57.758Z\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DoorDash store mock order received\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_status_title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order received\"`}),_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:` \"fulfillments_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2f71af29-e115-42f1-839f-1137efa73c8a\"`}),_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:` \"employee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_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:` \"date_created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-07-04T12:07:14.577Z\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"order_status_title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bagging 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:` \"fulfillments_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2f71af29-e115-42f1-839f-1137efa73c8a\"`}),_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:` \"employee\"`}),_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:`\"f78c06a0-8a0f-4d0b-a5d1-d7d2b0ffde70\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"first_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Salman\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Saeed Paul\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date_created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-07-04T12:07:56.205Z\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Removing [1] 'Cheetos Flamin' Hot Cheese Flavored Snacks'.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_status_title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Item quantity edited\"`}),_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:` \"fulfillments_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2f71af29-e115-42f1-839f-1137efa73c8a\"`}),_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:` \"employee\"`}),_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:`\"f78c06a0-8a0f-4d0b-a5d1-d7d2b0ffde70\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"first_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Salman\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Saeed Paul\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderItems\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Accordion,{title:`Available Action Types`,id:`available-action-types`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`remove_item`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Completely removes an item from the order`}),`\n`,_jsx(_components.li,{children:`Requires: order_item_id`}),`\n`,_jsx(_components.li,{children:`Use when item is out of stock or customer requests removal`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`reduce_quantity`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Reduces the quantity of an existing item`}),`\n`,_jsx(_components.li,{children:`Requires: order_item_id, quantity (new quantity, not amount to reduce)`}),`\n`,_jsx(_components.li,{children:`Use for partial availability or customer quantity changes`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`add_item`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Adds a new item to the order`}),`\n`,_jsx(_components.li,{children:`Requires: item_id, quantity`}),`\n`,_jsx(_components.li,{children:`Optional: special_instructions`}),`\n`,_jsx(_components.li,{children:`Use for customer additions or substitutions`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`update_item`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Updates item details without changing quantity`}),`\n`,_jsx(_components.li,{children:`Requires: order_item_id`}),`\n`,_jsx(_components.li,{children:`Optional: special_instructions, item modifications`}),`\n`,_jsx(_components.li,{children:`Use for customization changes`}),`\n`]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Price Recalculation`}),`: The system automatically recalculates taxes, fees, and total price after modifications. Negative subtotals in the response indicate cost reductions.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Best Practice`}),`: Always batch multiple modifications into a single request to avoid multiple price recalculations and to maintain order consistency.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(Accordion,{title:`Common Error Scenarios`,id:`common-error-scenarios`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Invalid Order Item`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order item not found\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_item_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalid-id\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Order Not Modifiable`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order cannot be modified in current status\"`}),_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:` \"current_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Invalid Quantity`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Quantity must be greater than 0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provided_quantity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Status Restrictions`}),`: Orders can only be modified in certain statuses (pending, accepted, in_progress). Completed, canceled, or delivered orders cannot be modified.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsxs(Accordion,{title:`Common Modification Scenarios`,id:`common-modification-scenarios`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Out of Stock Items`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Remove unavailable items`}),`\n`,_jsx(_components.li,{children:`Reduce quantities for partial availability`}),`\n`,_jsx(_components.li,{children:`Add substitute items with customer approval`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Customer Requests`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Add items to existing order`}),`\n`,_jsx(_components.li,{children:`Remove items customer no longer wants`}),`\n`,_jsx(_components.li,{children:`Modify special instructions`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Inventory Adjustments`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Reduce quantities when stock is lower than expected`}),`\n`,_jsx(_components.li,{children:`Remove items due to quality issues`}),`\n`,_jsx(_components.li,{children:`Update item specifications`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Price Corrections`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Adjust item quantities for pricing corrections`}),`\n`,_jsx(_components.li,{children:`Remove incorrectly priced items`}),`\n`,_jsx(_components.li,{children:`Add corrected items`}),`\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":"Patch Order Cart","api":"PATCH {{micro_service_base_url}}/orders/{{order_id}}/patch-order","description":"Modify order items by adding, removing, or updating quantities after order creation but before completion.","playground":"simple","href":"/api-reference/orders/patch-order-cart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Request Example","slug":"request-example","depth":3,"children":[]},{"title":"Response Example","slug":"response-example","depth":3,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":3,"children":[]},{"title":"Use Cases","slug":"use-cases","depth":3,"children":[]}],"codeExamples":{},"endpoint":{"title":"Patch Order Cart","path":"{{micro_service_base_url}}/orders/{{order_id}}/patch-order","method":"patch","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{"order_id":{"schema":[{"type":"string","description":"The unique identifier of the order to modify","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"action_type":[{"type":"string","description":"Type of modification: “remove_item”, “reduce_quantity”, “add_item”, “update_item”","required":true}],"order_item_id":[{"type":"string","description":"The unique identifier of the order item to modify (required for remove_item, reduce_quantity, update_item)","required":true}],"quantity":[{"type":"integer","description":"New quantity for the item (required for reduce_quantity and add_item actions)"}],"item_id":[{"type":"string","description":"Product identifier (required for add_item actions)"}],"special_instructions":[{"type":"string","description":"Updated special instructions for the item"}]}}],"examples":{"example":{"value":{"action_type":"\u003cstring>","order_item_id":"\u003cstring>","quantity":123,"item_id":"\u003cstring>","special_instructions":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"Updated order identifier"}],"original_subtotal":[{"type":"string","description":"Updated order subtotal after modifications"}],"tax_amount":[{"type":"string","description":"Recalculated tax amount"}],"original_price":[{"type":"string","description":"Updated original price"}],"partner":[{"type":"string","description":"Delivery platform name"}],"special_instructions":[{"type":"string","description":"Order-level special instructions"}],"customer":[{"type":"object","properties":{},"description":"Customer information remains unchanged"}],"fulfillments":[{"type":"array","items":[{"type":"object","properties":{"fulfillmentsLogs":[{"type":"array","items":[{"type":"object","properties":{"date_created":[{"type":"string","description":"Timestamp of the modification"}],"description":[{"type":"string","description":"Description of what was changed"}],"order_status_title":[{"type":"string","description":"Status title (e.g., “Item quantity edited”)"}],"employee":[{"type":"object","properties":{},"description":"Employee who made the modification"}]}}],"description":"Complete log of all order changes including modifications"}]}}],"description":"Updated fulfillment information with modification logs"}],"orderItems":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Updated array of order items after modifications"}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","original_subtotal":"\u003cstring>","tax_amount":"\u003cstring>","original_price":"\u003cstring>","partner":"\u003cstring>","special_instructions":"\u003cstring>","customer":{},"fulfillments":[{"fulfillmentsLogs":[{"date_created":"\u003cstring>","description":"\u003cstring>","order_status_title":"\u003cstring>","employee":{}}]}],"orderItems":[{}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"lulaconvenience","siteName":"Documentation Starter Kit","title":"Patch Order Cart - Documentation Starter Kit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T22:52:38.134Z","originalFileLocation":"api-reference/orders/patch-order-cart.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=\"Modify order items by adding, removing, or updating quantities after order creation but before completion.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Documentation Starter Kit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_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/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_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/lulaconvenience/T9P5PJWTg2EYuDhN/_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/lulaconvenience/T9P5PJWTg2EYuDhN/_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/lulaconvenience/T9P5PJWTg2EYuDhN/_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/lulaconvenience/T9P5PJWTg2EYuDhN/_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/lulaconvenience/T9P5PJWTg2EYuDhN/_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/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Patch Order Cart - Documentation Starter Kit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Modify order items by adding, removing, or updating quantities after order creation but before completion.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Documentation Starter Kit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.lulacommerce.com/api-reference/orders/patch-order-cart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lulaconvenience.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Patch+Order+Cart\u0026amp;description=Modify+order+items+by+adding%2C+removing%2C+or+updating+quantities+after+order+creation+but+before+completion.\u0026amp;theme=20c5c8d451f1169efff39fdd\u0026amp;signature=773007c1b0a51af3beec85222d1bdd471a4f8314d716f3c9a7bc1277ceffe82a\">\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=\"Patch Order Cart - Documentation Starter Kit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Modify order items by adding, removing, or updating quantities after order creation but before completion.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lulaconvenience.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Patch+Order+Cart\u0026amp;description=Modify+order+items+by+adding%2C+removing%2C+or+updating+quantities+after+order+creation+but+before+completion.\u0026amp;theme=20c5c8d451f1169efff39fdd\u0026amp;signature=773007c1b0a51af3beec85222d1bdd471a4f8314d716f3c9a7bc1277ceffe82a\">\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/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Documentation Starter Kit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2C023B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.lulacommerce.com/api-reference/orders/patch-order-cart\">\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/patch-order-cart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.lulacommerce.com/#organization\",\"name\":\"Documentation Starter Kit\",\"url\":\"https://developer.lulacommerce.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lulaconvenience/j9ZBLBNfvCnzqqXy/logo/lula-commerce-logo-primary.png?fit=max\u0026auto=format\u0026n=j9ZBLBNfvCnzqqXy\u0026q=85\u0026s=284bd11c4f3d4f0c15a37b9801dadcc6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.lulacommerce.com#website\",\"name\":\"Documentation Starter Kit\",\"url\":\"https://developer.lulacommerce.com\",\"publisher\":{\"@id\":\"https://developer.lulacommerce.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.lulacommerce.com/api-reference/orders/patch-order-cart#webpage\",\"url\":\"https://developer.lulacommerce.com/api-reference/orders/patch-order-cart\",\"name\":\"Patch Order Cart\",\"description\":\"Modify order items by adding, removing, or updating quantities after order creation but before completion.\",\"dateModified\":\"2026-01-06T22:52:38.134Z\",\"isPartOf\":{\"@id\":\"https://developer.lulacommerce.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.lulacommerce.com/api-reference/orders/patch-order-cart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.lulacommerce.com/api-reference/orders/patch-order-cart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation - Latest\",\"item\":\"https://developer.lulacommerce.com/api-reference/companies/create-company\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orders\",\"item\":\"https://developer.lulacommerce.com/api-reference/orders/orders-overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Patch Order Cart\",\"item\":\"https://developer.lulacommerce.com/api-reference/orders/patch-order-cart\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.lulacommerce.com/api-reference/orders/patch-order-cart#apireference\",\"headline\":\"Patch Order Cart\",\"name\":\"Patch Order Cart\",\"description\":\"Modify order items by adding, removing, or updating quantities after order creation but before completion.\",\"url\":\"https://developer.lulacommerce.com/api-reference/orders/patch-order-cart\",\"mainEntityOfPage\":{\"@id\":\"https://developer.lulacommerce.com/api-reference/orders/patch-order-cart#webpage\"},\"dateModified\":\"2026-01-06T22:52:38.134Z\",\"publisher\":{\"@id\":\"https://developer.lulacommerce.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.lulacommerce.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Documentation Starter Kit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Documentation Starter Kit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/orders/patch-order-cart.md","siteName":"Documentation Starter Kit","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/documentation/welcome-intro"}]},{"anchor":"API Reference","icon":"rectangle-terminal","groups":[{"group":"API Documentation - Legacy","pages":[{"title":"CSV Item Ingestion","href":"/api-reference/csvItemsIngestion"},{"title":"JSON Item Ingestion","href":"/api-reference/jsonItemsIngestion"}]},{"group":"API Documentation - Latest","pages":[{"group":"Companies","pages":[{"title":"Create Company","api":"POST https://api-staging.luladelivery.store/stores/company","playground":"simple","href":"/api-reference/companies/create-company"},{"title":"Get Company Details","api":"GET https://api-staging.luladelivery.store/stores/company","playground":"simple","href":"/api-reference/companies/get-company-details"},{"title":"Update Company","api":"PUT https://api-staging.luladelivery.store/stores/company/{company_id}","playground":"simple","href":"/api-reference/companies/update-company"},{"title":"Delete Company","api":"DELETE https://api-staging.luladelivery.store/stores/company/{company_id}","playground":"simple","href":"/api-reference/companies/delete-company"},{"title":"Offboard Company","api":"PUT https://api-staging.luladelivery.store/stores/company/{company_id}/offboard","playground":"simple","href":"/api-reference/companies/offboard-company"}]},{"group":"Stores","pages":[{"title":"Create Store","api":"POST https://api-staging.luladelivery.store/stores/store/","playground":"simple","href":"/api-reference/stores/create-store"},{"title":"Update Store","api":"PUT https://api-staging.luladelivery.store/stores/{store_id}?company_id={company_id}","playground":"simple","href":"/api-reference/stores/update-store"},{"title":"Get Store Status","api":"GET https://api-staging.luladelivery.store/stores/{store_id}/status?current_local_date={date}","playground":"simple","href":"/api-reference/stores/get-store-status"},{"title":"Change Store Status","api":"PUT https://api-staging.luladelivery.store/stores/{store_id}/status","playground":"simple","href":"/api-reference/stores/change-store-status"},{"title":"Get Store Tax Rate","api":"GET https://api-staging.luladelivery.store/stores/{store_id}/tax-rate","playground":"simple","href":"/api-reference/stores/get-store-tax-rate"},{"group":"Onboarding","pages":[{"title":"Start Onboarding","api":"PUT https://api-staging.luladelivery.store/stores/{store_id}/status","playground":"simple","href":"/api-reference/stores/onboarding/start-onboarding"},{"title":"Get Onboarding by ID","api":"GET https://api-staging.luladelivery.store/stores/onboarding/{onboarding_id}","playground":"simple","href":"/api-reference/stores/onboarding/get-onboarding-by-id"},{"title":"Get Onboarding by Store ID","api":"GET https://api-staging.luladelivery.store/stores/{store_id}/status?current_local_date={date}","playground":"simple","href":"/api-reference/stores/onboarding/get-onboarding-by-store-id"},{"title":"Get Onboarding by Company ID","api":"GET https://api-staging.luladelivery.store/stores/company/{company_id}/onboarding","playground":"simple","href":"/api-reference/stores/onboarding/get-onboarding-by-company-id"}]},{"group":"Store Employees","pages":[{"title":"Link User to Store","api":"PUT https://api-staging.luladelivery.store/stores/store-employees/{store_id}","playground":"simple","href":"/api-reference/stores/store-employees/link-user-to-store"},{"title":"Link Store to Employee","api":"POST https://api-staging.luladelivery.store/stores/store-employees/","playground":"simple","href":"/api-reference/stores/store-employees/link-store-to-employee"}]}]},{"group":"Catalog","pages":[{"title":"Catalog Updates","playground":"simple","href":"/api-reference/catalog/updates"},{"title":"Upsert Products using CSV","api":"POST {{micro_service_base_url}}/inventory-service-v2/companies/1000019/products/bulk/csv","playground":"simple","href":"/api-reference/catalog/upsert-products-csv"},{"title":"Upsert Products using JSON","api":"POST {{micro_service_base_url}}/inventory-service-v2/companies/1000019/products/bulk","playground":"simple","href":"/api-reference/catalog/upsert-products-json"},{"title":"Upsert Inventory","api":"POST {{micro_service_base_url}}/inventory-service-v2/companies/1000019/store/449235c1-3d04-4519-998b-40d2a621e5e0/inventory","playground":"simple","href":"/api-reference/catalog/upsert-inventory"},{"title":"Get Store Inventory","api":"GET {{micro_service_base_url}}/inventory/v2/{{store_id}}/inventory","playground":"simple","href":"/api-reference/catalog/get-store-inventory"},{"title":"Get Job Status Of Ingestion","api":"GET {{micro_service_base_url}}/inventory-service-v2/jobs/14109","playground":"simple","href":"/api-reference/catalog/get-job-status"},{"title":"Get Recommended Products","api":"GET {{micro_service_base_url}}/inventory/store/{{store_id}}/item/{{store_item_id}}/recommended-products","playground":"simple","href":"/api-reference/catalog/recommended-products"},{"group":"Modifiers","pages":[{"title":"Modifiers Overview","href":"/api-reference/catalog/modifiers"},{"title":"Create Modifier Group","api":"POST {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/","playground":"simple","href":"/api-reference/catalog/modifiers/create-modifier-group"},{"title":"Create Modifier Group Options","api":"POST {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}/options","playground":"simple","href":"/api-reference/catalog/modifiers/create-modifier-group-options"},{"title":"Create Modifier Group Linked Items","api":"POST {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}/mappings","playground":"simple","href":"/api-reference/catalog/modifiers/create-modifier-group-linked-items"},{"title":"Delete Modifier Group Option From Modifier Group","api":"DELETE {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}/options","playground":"simple","href":"/api-reference/catalog/modifiers/delete-modifier-group-option"},{"title":"Delete Linked Items From Modifier Group","api":"DELETE {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}/mappings","playground":"simple","href":"/api-reference/catalog/modifiers/delete-linked-items-from-modifier-group"},{"title":"Delete Modifier Group","api":"DELETE {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}","playground":"simple","href":"/api-reference/catalog/modifiers/delete-modifier-group"},{"title":"Update Modifier Group","api":"PUT {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/","playground":"simple","href":"/api-reference/catalog/modifiers/update-modifier-group"},{"title":"Get List Of Modifier Groups","api":"GET {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/","playground":"simple","href":"/api-reference/catalog/modifiers/get-list-of-modifier-groups"},{"title":"Get Modifier Group Details","api":"GET {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}","playground":"simple","href":"/api-reference/catalog/modifiers/get-modifier-group-details"}]}]},{"group":"Menus","pages":[{"title":"Menus Service Overview","href":"/api-reference/menus/menus-overview"},{"title":"Create Store Menu","api":"POST /stores/{{store_id}}/menu/","playground":"simple","href":"/api-reference/menus/create-store-menu"},{"title":"Upsert Store Menu","api":"PUT /stores/{{store_id}}/menu?menu_id={{menu_id}}","playground":"simple","href":"/api-reference/menus/upsert-store-menu"},{"title":"Delete Store Menu","api":"DELETE /stores/{{store_id}}/menu/{{menu_id}}","playground":"simple","href":"/api-reference/menus/delete-store-menu"},{"title":"Get Menu List","api":"GET /stores/{{store_id}}/menu/list?status=active\u0026sortBy=categories\u0026sortDirection=desc\u0026name=all","playground":"simple","href":"/api-reference/menus/get-menu-list"},{"title":"Sync Menu For All Stores","api":"POST /stores/menu/sync","playground":"simple","href":"/api-reference/menus/sync-menu-for-all-stores"},{"title":"Get All Active Menu of Store","api":"GET /stores/{{store_id}}/menu/","playground":"simple","href":"/api-reference/menus/get-all-active-menu-of-store"},{"title":"Get Store Menu Timings","api":"GET /stores/{{store_id}}/menu/timing?menu_ids={{menu_ids}}","playground":"simple","href":"/api-reference/menus/get-store-menu-timings"},{"group":"Menu Items","pages":[{"title":"Create Menu Item","api":"POST /stores/{{store_id}}/menu/items?active=true","playground":"simple","href":"/api-reference/menus/menu-items/create-menu-item"},{"title":"Delete Menu Item","api":"DELETE /stores/{{store_id}}/menus/{{menu_id}}/items/{{item_id}}","playground":"simple","href":"/api-reference/menus/menu-items/delete-menu"},{"title":"Update Menu Item","api":"PUT /stores/{{store_id}}/menus/{{menu_id}}/items/{{item_id}}","playground":"simple","href":"/api-reference/menus/menu-items/update-menu-item"}]},{"group":"Menu Rules","pages":[{"title":"Get Menu Rules","api":"GET /stores/{{store_id}}/menu-rules","playground":"simple","href":"/api-reference/menus/menu-rules/get-menu-rules"},{"title":"Upsert Menu Rules","api":"PUT /stores/{{store_id}}/menu-rules","playground":"simple","href":"/api-reference/menus/menu-rules/upsert-menu-rules"},{"title":"Get Menu Rules by ID","api":"GET /stores/{{store_id}}/menu-rules/{{rule_id}}","playground":"simple","href":"/api-reference/menus/menu-rules/get-menu-rules-by-id"}]}]},{"group":"Campaigns","pages":[{"title":"Campaigns Overview","playground":"simple","href":"/api-reference/campaigns/campaigns-overview"},{"title":"Create Campaign","api":"POST {{micro_service_base_url}}/stores/company/{{company_id}}/campaigns","playground":"simple","href":"/api-reference/campaigns/create-campaign"},{"title":"Get Campaigns","api":"GET {{micro_service_base_url}}/stores/company/{{company_id}}/campaigns","playground":"simple","href":"/api-reference/campaigns/get-campaigns"},{"title":"Get Campaign Details","api":"GET {{micro_service_base_url}}/stores/company/{{company_id}}/campaigns/{{campaign_id}}","playground":"simple","href":"/api-reference/campaigns/get-campaign-details"},{"title":"Update Campaign","api":"PUT {{stores_service_api_base_url}}/stores/company/{{company_id}}/campaigns/{{campaign_id}}/stores","playground":"simple","href":"/api-reference/campaigns/update-campaign"},{"title":"Delete Campaign","api":"DELETE {{stores_service_api_base_url}}/stores/{{store_id}}/status","playground":"simple","href":"/api-reference/campaigns/delete-campaign"},{"title":"Bulk Update Campaign","api":"POST {{micro_service_base_url}}/stores/company/{{company_id}}/campaigns/bulk","playground":"simple","href":"/api-reference/campaigns/bulk-update-campaign"},{"title":"Link Campaign to Stores","api":"GET {{stores_service_api_base_url}}/stores/company/{{company_id}}/campaigns/{{campaign_id}}/stores","playground":"simple","href":"/api-reference/campaigns/link-campaign-to-stores"},{"group":"Promotions","pages":[{"title":"Create Promotion","api":"POST {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions","playground":"simple","href":"/api-reference/campaigns/promotions/create-promotion"},{"title":"Get Promotion Details","api":"GET {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions/{{promotion_id}}","playground":"simple","href":"/api-reference/campaigns/promotions/get-promotion"},{"title":"Update Promotion","api":"PUT {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions/{{promotion_id}}","playground":"simple","href":"/api-reference/campaigns/promotions/update-promotion"},{"title":"Delete Promotion","api":"DELETE {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions/{{promotion_id}}","playground":"simple","href":"/api-reference/campaigns/promotions/delete-promotion"},{"title":"Get All Promotions","api":"GET {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions","playground":"simple","href":"/api-reference/campaigns/promotions/get-all-promotions"}]}]},{"group":"Orders","pages":[{"title":"Orders Management","playground":"simple","href":"/api-reference/orders/orders-overview"},{"title":"Get Incoming Orders","api":"GET {{orders_api_base_url}}/orders/","playground":"simple","href":"/api-reference/orders/get-incoming-orders"},{"title":"List All Orders","api":"GET {{micro_service_base_url}}/orders/","playground":"simple","href":"/api-reference/orders/list-all-orders"},{"title":"Get Orders Count","api":"GET {{orders_api_base_url}}/orders/counts/","playground":"simple","href":"/api-reference/orders/get-orders-count"},{"title":"Get Order Details","api":"GET {{orders_api_base_url}}/orders/details/","playground":"simple","href":"/api-reference/orders/get-order-details"},{"title":"Accept Incoming Order","api":"PUT {{orders_api_base_url}}/orders/accept/","playground":"simple","href":"/api-reference/orders/accept-incoming-order"},{"title":"Cancel Order","api":"POST {{orders_api_base_url}}/orders/cancel/","playground":"simple","href":"/api-reference/orders/cancel-order"},{"title":"Get Store Orders","api":"GET {{micro_service_base_url}}/orders/","playground":"simple","href":"/api-reference/orders/get-store-orders"},{"title":"Get Orders History","api":"GET {{orders_api_base_url}}/orders/history/","playground":"simple","href":"/api-reference/orders/get-orders-history"},{"title":"Create New Order","api":"POST {{orders_api_base_url}}/orders/create/","description":"Create a new order manually through the system, typically for in-store purchases, phone orders, or direct customer orders.","playground":"simple","href":"/api-reference/orders/create-new-order"},{"title":"Patch Order Cart","api":"PATCH {{micro_service_base_url}}/orders/{{order_id}}/patch-order","playground":"simple","href":"/api-reference/orders/patch-order-cart"},{"group":"Order Items","pages":[{"title":"Get Order Items","api":"GET {{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}","description":"Retrieve detailed information for a specific item within an order including pricing, modifications, and special instructions.","playground":"simple","href":"/api-reference/orders/order-items/get-order-items"},{"title":"Get All Order Items","api":"GET {{micro_service_base_url}}/orders/{{order_id}}/order-items","playground":"simple","href":"/api-reference/orders/order-items/get-all-order-items"},{"title":"Update Order Items","api":"PATCH {{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}","playground":"simple","href":"/api-reference/orders/order-items/update-order-items"}]},{"group":"Order Issues","pages":[{"title":"Create Order Issue","api":"POST {{micro_service_base_url}}/orders/{{order_id}}/issues","playground":"simple","href":"/api-reference/orders/order-issues/create-order-issue"},{"title":"Update Order Issue","api":"PATCH {{micro_service_base_url}}/orders/{{order_id}}/issues/{{issue_id}}","playground":"simple","href":"/api-reference/orders/order-issues/update-order-issue"}]}]},{"group":"Legacy Endpoints","pages":[{"title":"Upload JSON file for item ingestion","api":"POST https://api-staging.luladelivery.store/inventory/ingestion/","href":"/api-reference/endpoint/upload-json"},{"title":"Post items for ingestion","api":"POST https://api-staging.luladelivery.store/inventory/ingestion/","href":"/api-reference/endpoint/post-items-for-ingestion"},{"title":"Upload CSV file for item ingestion","api":"POST https://api-staging.luladelivery.store/inventory/ingestion/csv","href":"/api-reference/endpoint/upload-csv"},{"title":"Get Job","api":"GET https://api-staging.luladelivery.store/inventory/ingestion/{id}","href":"/api-reference/endpoint/get-job"}]}]}]}]},"basePath":"","title":"Patch Order Cart - Documentation Starter Kit","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js"]}