Retrieve comprehensive menu rules and business logic configurations that govern menu behavior, item availability, and operational constraints for a specific store.
GET
/
stores
/
{store_id}
/
menu-rules
Get Menu Rules
curl --request GET \ --globoff \ --url 'https://api.example.com/stores/{{store_id}}/menu-rules'
This endpoint provides access to the complete set of menu rules that control menu behavior, item availability, pricing logic, and operational constraints, enabling sophisticated menu management and automation.
Menu rules provide the business logic layer that automates menu management, ensuring consistent application of business policies, operational constraints, and customer experience requirements.
Rule Hierarchy: Rules are applied in priority order, with higher priority rules taking precedence over lower priority ones when conflicts arise.
Performance Optimization: Use filtering parameters to retrieve only the specific rules you need, especially when dealing with stores that have extensive rule configurations.
Test rules in staging environments before production deployment
Validate rule logic and expected outcomes
Document rule purpose and expected behavior
Active Rule Monitoring
Monitor rule activation and performance regularly
Track business impact and customer response
Identify opportunities for rule optimization
Address any unintended consequences promptly
Rule Optimization and Updates
Regularly review rule effectiveness and relevance
Update rules based on business changes and new requirements
Optimize rule performance and execution efficiency
Maintain rule documentation and rationale
Rule Retirement and Cleanup
Identify and remove obsolete or redundant rules
Archive historical rule data for analysis
Document lessons learned for future rule development
Maintain clean and efficient rule configurations
{"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.4102","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/menus/menu-rules/get-menu-rules","slug":"/api-reference/menus/menu-rules/get-menu-rules","pageMetadata":{"title":"Get Menu Rules","api":"GET /stores/{{store_id}}/menu-rules","description":"Retrieve comprehensive menu rules and business logic configurations that govern menu behavior, item availability, and operational constraints for a specific store.","playground":"simple","href":"/api-reference/menus/menu-rules/get-menu-rules"},"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: \"Retrieve comprehensive menu rules and business logic configurations that govern menu behavior, item availability, and operational constraints for a specific store.\"\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`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Heading,Info,Note,ParamField,ResponseField,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This endpoint provides access to the complete set of menu rules that control menu behavior, item availability, pricing logic, and operational constraints, enabling sophisticated menu management and automation.`}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Menu rules provide the business logic layer that automates menu management, ensuring consistent application of business policies, operational constraints, and customer experience requirements.`})}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`store_id`,type:`string`,required:true,id:`param-store-id`,children:_jsx(_components.p,{children:`The unique identifier of the store to retrieve menu rules for`})}),`\n`,_jsx(Heading,{level:`3`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`rule_type`,type:`string`,optional:true,id:`param-rule-type`,children:_jsx(_components.p,{children:`Filter rules by type (availability, pricing, display, operational)`})}),`\n`,_jsx(ParamField,{query:`active_only`,type:`boolean`,optional:true,default:`false`,id:`param-active-only`,children:_jsx(_components.p,{children:`Return only currently active rules`})}),`\n`,_jsx(ParamField,{query:`menu_id`,type:`string`,optional:true,id:`param-menu-id`,children:_jsx(_components.p,{children:`Filter rules that apply to a specific menu`})}),`\n`,_jsx(ParamField,{query:`include_details`,type:`boolean`,optional:true,default:`true`,id:`param-include-details`,children:_jsx(_components.p,{children:`Include detailed rule configuration and metadata`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`rules`,type:`array`,id:`param-rules`,children:_jsx(_components.p,{children:`Array of menu rule objects with complete configuration details`})}),`\n`,_jsx(ResponseField,{name:`total_count`,type:`integer`,id:`param-total-count`,children:_jsx(_components.p,{children:`Total number of rules for the store`})}),`\n`,_jsx(ResponseField,{name:`active_count`,type:`integer`,id:`param-active-count`,children:_jsx(_components.p,{children:`Number of currently active rules`})}),`\n`,_jsx(ResponseField,{name:`rule_categories`,type:`object`,id:`param-rule-categories`,children:_jsx(_components.p,{children:`Summary of rules by category and type`})}),`\n`,_jsx(Heading,{level:`3`,id:`response-example`,children:`Response Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`32`,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:`32`,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:` \"rules\"`}),_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:` \"rule_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rule_123\"`}),_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:` \"rule_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Breakfast Hour Availability\"`}),_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:` \"rule_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"availability\"`}),_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_active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"priority\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"conditions\"`}),_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:` \"time_range\"`}),_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:` \"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"06:00\"`}),_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:` \"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"11:00\"`})]}),`\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:` \"days_of_week\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"monday\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tuesday\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wednesday\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"thursday\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"friday\"`}),_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:` \"actions\"`}),_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:` \"set_availability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apply_to_items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"breakfast_menu_items\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T00:00:00Z\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00Z\"`})]}),`\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:` \"total_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_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:` \"active_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_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:` \"rule_categories\"`}),_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:` \"availability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`}),_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:` \"pricing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_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:` \"display\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_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:` \"operational\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\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`,_jsxs(Accordion,{title:`Menu Rule Categories`,id:`menu-rule-categories`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Availability Rules`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Time-based item availability controls`}),`\n`,_jsx(_components.li,{children:`Inventory-driven availability automation`}),`\n`,_jsx(_components.li,{children:`Seasonal and event-based availability`}),`\n`,_jsx(_components.li,{children:`Staff and equipment availability constraints`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Pricing Rules`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Dynamic pricing based on demand and time`}),`\n`,_jsx(_components.li,{children:`Promotional pricing automation`}),`\n`,_jsx(_components.li,{children:`Competitive pricing adjustments`}),`\n`,_jsx(_components.li,{children:`Cost-based pricing calculations`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Display Rules`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Item ordering and positioning logic`}),`\n`,_jsx(_components.li,{children:`Promotional highlighting and featuring`}),`\n`,_jsx(_components.li,{children:`Category and section organization`}),`\n`,_jsx(_components.li,{children:`Customer segment-based display`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Operational Rules`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Kitchen capacity and preparation constraints`}),`\n`,_jsx(_components.li,{children:`Delivery and pickup availability`}),`\n`,_jsx(_components.li,{children:`Special event and holiday modifications`}),`\n`,_jsx(_components.li,{children:`Compliance and regulatory requirements`}),`\n`]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rule Hierarchy`}),`: Rules are applied in priority order, with higher priority rules taking precedence over lower priority ones when conflicts arise.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Performance Optimization`}),`: Use filtering parameters to retrieve only the specific rules you need, especially when dealing with stores that have extensive rule configurations.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsxs(Accordion,{title:`Common Menu Rule Applications`,id:`common-menu-rule-applications`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Automated Availability Management`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Automatically enable breakfast items during morning hours`}),`\n`,_jsx(_components.li,{children:`Disable alcohol sales outside permitted hours`}),`\n`,_jsx(_components.li,{children:`Control seasonal item availability based on calendar dates`}),`\n`,_jsx(_components.li,{children:`Manage item availability based on inventory levels`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Dynamic Pricing Strategies`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Implement happy hour pricing for beverages`}),`\n`,_jsx(_components.li,{children:`Apply surge pricing during peak demand periods`}),`\n`,_jsx(_components.li,{children:`Offer time-based discounts for slow periods`}),`\n`,_jsx(_components.li,{children:`Automatically adjust pricing based on competitive analysis`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Operational Efficiency`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Limit complex item availability during busy periods`}),`\n`,_jsx(_components.li,{children:`Adjust menu based on staffing levels`}),`\n`,_jsx(_components.li,{children:`Control delivery availability based on weather conditions`}),`\n`,_jsx(_components.li,{children:`Manage special event menu configurations`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Customer Experience Optimization`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Highlight popular items during peak hours`}),`\n`,_jsx(_components.li,{children:`Feature healthy options during fitness-focused time periods`}),`\n`,_jsx(_components.li,{children:`Promote comfort food during bad weather`}),`\n`,_jsx(_components.li,{children:`Customize menu display based on customer preferences`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`rule-structure-details`,children:`Rule Structure Details`}),`\n`,_jsxs(Accordion,{title:`Understanding Rule Components`,id:`understanding-rule-components`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Rule Metadata`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`rule_id`}),`: Unique identifier for the rule`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`rule_name`}),`: Human-readable name for management purposes`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`rule_type`}),`: Category of rule (availability, pricing, display, operational)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`is_active`}),`: Whether the rule is currently enabled`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`priority`}),`: Execution order when multiple rules apply`]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Condition Configuration`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`time_range`}),`: Specific time periods when the rule applies`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`days_of_week`}),`: Specific days when the rule is active`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`date_range`}),`: Specific date periods for seasonal or event rules`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`inventory_conditions`}),`: Stock level thresholds that trigger the rule`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`weather_conditions`}),`: Weather-based triggers for rule activation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`customer_segments`}),`: Specific customer types the rule applies to`]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Action Specification`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`set_availability`}),`: Control item or menu availability`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`adjust_pricing`}),`: Modify pricing with specific calculations`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`update_display_order`}),`: Change item positioning and visibility`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`apply_promotions`}),`: Activate or modify promotional campaigns`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`send_notifications`}),`: Trigger staff or system notifications`]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Scope and Targeting`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`apply_to_items`}),`: Specific items affected by the rule`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`apply_to_categories`}),`: Categories affected by the rule`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`apply_to_menus`}),`: Specific menus where the rule applies`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`exclude_items`}),`: Items to exclude from rule application`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`rule-types-and-examples`,children:`Rule Types and Examples`}),`\n`,_jsxs(Accordion,{title:`Detailed Rule Type Examples`,id:`detailed-rule-type-examples`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Availability Rules`})}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rule_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"availability\"`}),_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:` \"conditions\"`}),_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:` \"time_range\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"23:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"06:00\"`}),_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:` \"inventory_threshold\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"min\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_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:` \"actions\"`}),_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:` \"set_availability\"`}),_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:` \"apply_to_categories\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"alcohol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"complex_preparations\"`}),_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.p,{children:_jsx(_components.strong,{children:`Pricing Rules`})}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rule_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pricing\"`}),_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:` \"conditions\"`}),_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:` \"time_range\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"15:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"17:00\"`}),_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:` \"days_of_week\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"monday\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tuesday\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wednesday\"`}),_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:` \"actions\"`}),_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:` \"adjust_pricing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"percentage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-20`}),_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:` \"apply_to_categories\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"beverages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"appetizers\"`}),_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.p,{children:_jsx(_components.strong,{children:`Display Rules`})}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rule_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"display\"`}),_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:` \"conditions\"`}),_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_segment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"health_conscious\"`}),_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:` \"time_range\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"11:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"14:00\"`}),_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:` \"actions\"`}),_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:` \"update_display_order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"promote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apply_to_items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"salads\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low_calorie_options\"`}),_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.p,{children:_jsx(_components.strong,{children:`Operational Rules`})}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rule_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"operational\"`}),_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:` \"conditions\"`}),_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:` \"weather_condition\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rain\"`}),_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:` \"staff_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"min\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_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:` \"actions\"`}),_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:` \"set_availability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apply_to_categories\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"comfort_food\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hot_beverages\"`}),_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`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`rule-evaluation-process`,children:`Rule Evaluation Process`}),`\n`,_jsxs(Accordion,{title:`How Rules Are Processed`,id:`how-rules-are-processed`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Evaluation Sequence`})}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Condition Assessment`}),`: All rule conditions are evaluated against current context`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Priority Sorting`}),`: Applicable rules are sorted by priority (highest first)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Conflict Resolution`}),`: Higher priority rules override lower priority ones`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action Execution`}),`: Rule actions are applied in priority order`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Result Validation`}),`: Final menu state is validated for consistency`]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Context Evaluation`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Current date and time are compared against rule conditions`}),`\n`,_jsx(_components.li,{children:`Inventory levels are checked against rule thresholds`}),`\n`,_jsx(_components.li,{children:`Weather data is evaluated for weather-dependent rules`}),`\n`,_jsx(_components.li,{children:`Customer segment information is used for targeted rules`}),`\n`,_jsx(_components.li,{children:`Staff and operational data is considered for operational rules`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Conflict Resolution`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Rules with the same priority are processed in creation order`}),`\n`,_jsx(_components.li,{children:`Explicit exclusions override general inclusions`}),`\n`,_jsx(_components.li,{children:`Availability rules take precedence over display rules`}),`\n`,_jsx(_components.li,{children:`Safety and compliance rules have highest priority`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Performance Optimization`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Rules are cached and evaluated efficiently`}),`\n`,_jsx(_components.li,{children:`Only applicable rules are processed based on current context`}),`\n`,_jsx(_components.li,{children:`Rule evaluation results are cached for consistent application`}),`\n`,_jsx(_components.li,{children:`System monitors rule performance and execution times`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`rule-management-insights`,children:`Rule Management Insights`}),`\n`,_jsxs(Accordion,{title:`Rule Analysis and Optimization`,id:`rule-analysis-and-optimization`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Rule Performance Analysis`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Track rule activation frequency and patterns`}),`\n`,_jsx(_components.li,{children:`Monitor rule impact on sales and customer behavior`}),`\n`,_jsx(_components.li,{children:`Analyze rule conflict frequency and resolution`}),`\n`,_jsx(_components.li,{children:`Measure rule execution performance and system impact`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Business Impact Assessment`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Evaluate rule effectiveness in achieving business goals`}),`\n`,_jsx(_components.li,{children:`Monitor customer satisfaction impact of rule applications`}),`\n`,_jsx(_components.li,{children:`Analyze operational efficiency improvements from automation`}),`\n`,_jsx(_components.li,{children:`Assess revenue impact of pricing and availability rules`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Rule Optimization Opportunities`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Identify redundant or conflicting rules`}),`\n`,_jsx(_components.li,{children:`Optimize rule conditions for better targeting`}),`\n`,_jsx(_components.li,{children:`Simplify complex rule hierarchies`}),`\n`,_jsx(_components.li,{children:`Improve rule performance through better condition design`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Compliance and Audit Support`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Track rule changes and modifications over time`}),`\n`,_jsx(_components.li,{children:`Maintain audit trails for regulatory compliance`}),`\n`,_jsx(_components.li,{children:`Document rule rationale and business justification`}),`\n`,_jsx(_components.li,{children:`Support compliance reporting and verification`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`error-handling`,children:`Error Handling`}),`\n`,_jsxs(Accordion,{title:`Common Error Scenarios`,id:`common-error-scenarios`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Store Not Found`})}),_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:`\"Store 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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The specified store ID does not exist or is not accessible\"`})]}),`\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 Filter Parameters`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid filter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The specified rule_type is not valid\"`}),_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:` \"valid_types\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"availability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pricing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"display\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"operational\"`}),_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.p,{children:_jsx(_components.strong,{children:`Permission Denied`})}),_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:`\"Permission denied\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Insufficient permissions to view menu rules for this store\"`})]}),`\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:`System Error`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"System error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unable to retrieve menu rules due to system maintenance\"`}),_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:` \"retry_after\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T11:00:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(Accordion,{title:`Menu Rule Management Best Practices`,id:`menu-rule-management-best-practices`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Rule Design Principles`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Keep rule conditions simple and easy to understand`}),`\n`,_jsx(_components.li,{children:`Use descriptive names and documentation for complex rules`}),`\n`,_jsx(_components.li,{children:`Avoid creating conflicting rules whenever possible`}),`\n`,_jsx(_components.li,{children:`Design rules with clear business objectives in mind`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Performance Considerations`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Use filtering to retrieve only necessary rules`}),`\n`,_jsx(_components.li,{children:`Monitor rule execution performance and optimize as needed`}),`\n`,_jsx(_components.li,{children:`Avoid overly complex condition logic that impacts performance`}),`\n`,_jsx(_components.li,{children:`Cache rule results appropriately for consistent application`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Maintenance and Monitoring`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Regularly review rule effectiveness and business impact`}),`\n`,_jsx(_components.li,{children:`Remove or update obsolete rules that no longer serve business needs`}),`\n`,_jsx(_components.li,{children:`Monitor for unintended rule interactions and conflicts`}),`\n`,_jsx(_components.li,{children:`Maintain documentation of rule purpose and expected behavior`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Integration Strategy`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Ensure rule data is used consistently across all systems`}),`\n`,_jsx(_components.li,{children:`Coordinate rule changes with operational procedures`}),`\n`,_jsx(_components.li,{children:`Integrate rule monitoring with business intelligence systems`}),`\n`,_jsx(_components.li,{children:`Use rule data to inform menu optimization strategies`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`integration-patterns`,children:`Integration Patterns`}),`\n`,_jsxs(Accordion,{title:`System Integration for Menu Rules`,id:`system-integration-for-menu-rules`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Real-time Rule Application`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Integrate rule evaluation with menu display systems`}),`\n`,_jsx(_components.li,{children:`Apply rules in real-time for customer-facing applications`}),`\n`,_jsx(_components.li,{children:`Coordinate rule application across multiple channels`}),`\n`,_jsx(_components.li,{children:`Ensure consistent rule application across all touchpoints`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Business Intelligence Integration`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Feed rule data into analytics and reporting systems`}),`\n`,_jsx(_components.li,{children:`Track rule performance and business impact`}),`\n`,_jsx(_components.li,{children:`Generate insights for rule optimization`}),`\n`,_jsx(_components.li,{children:`Support data-driven rule management decisions`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Operational System Integration`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Connect rules with inventory management systems`}),`\n`,_jsx(_components.li,{children:`Integrate with staff scheduling and capacity planning`}),`\n`,_jsx(_components.li,{children:`Coordinate with weather and external data sources`}),`\n`,_jsx(_components.li,{children:`Support compliance and regulatory reporting requirements`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Customer Experience Integration`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Apply rules to personalize customer menu experiences`}),`\n`,_jsx(_components.li,{children:`Use rules to optimize recommendation engines`}),`\n`,_jsx(_components.li,{children:`Integrate with loyalty and customer segmentation systems`}),`\n`,_jsx(_components.li,{children:`Support dynamic pricing and promotional strategies`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`menu-rule-lifecycle`,children:`Menu Rule Lifecycle`}),`\n`,_jsxs(Accordion,{title:`Managing Rule Lifecycle`,id:`managing-rule-lifecycle`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Rule Creation and Testing`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Design rules with clear business objectives`}),`\n`,_jsx(_components.li,{children:`Test rules in staging environments before production deployment`}),`\n`,_jsx(_components.li,{children:`Validate rule logic and expected outcomes`}),`\n`,_jsx(_components.li,{children:`Document rule purpose and expected behavior`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Active Rule Monitoring`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Monitor rule activation and performance regularly`}),`\n`,_jsx(_components.li,{children:`Track business impact and customer response`}),`\n`,_jsx(_components.li,{children:`Identify opportunities for rule optimization`}),`\n`,_jsx(_components.li,{children:`Address any unintended consequences promptly`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Rule Optimization and Updates`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Regularly review rule effectiveness and relevance`}),`\n`,_jsx(_components.li,{children:`Update rules based on business changes and new requirements`}),`\n`,_jsx(_components.li,{children:`Optimize rule performance and execution efficiency`}),`\n`,_jsx(_components.li,{children:`Maintain rule documentation and rationale`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Rule Retirement and Cleanup`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Identify and remove obsolete or redundant rules`}),`\n`,_jsx(_components.li,{children:`Archive historical rule data for analysis`}),`\n`,_jsx(_components.li,{children:`Document lessons learned for future rule development`}),`\n`,_jsx(_components.li,{children:`Maintain clean and efficient rule configurations`}),`\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":"Get Menu Rules","api":"GET /stores/{{store_id}}/menu-rules","description":"Retrieve comprehensive menu rules and business logic configurations that govern menu behavior, item availability, and operational constraints for a specific store.","playground":"simple","href":"/api-reference/menus/menu-rules/get-menu-rules"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Response Example","slug":"response-example","depth":3,"children":[]},{"title":"Use Cases","slug":"use-cases","depth":3,"children":[]},{"title":"Rule Structure Details","slug":"rule-structure-details","depth":3,"children":[]},{"title":"Rule Types and Examples","slug":"rule-types-and-examples","depth":3,"children":[]},{"title":"Rule Evaluation Process","slug":"rule-evaluation-process","depth":3,"children":[]},{"title":"Rule Management Insights","slug":"rule-management-insights","depth":3,"children":[]},{"title":"Error Handling","slug":"error-handling","depth":3,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":3,"children":[]},{"title":"Integration Patterns","slug":"integration-patterns","depth":3,"children":[]},{"title":"Menu Rule Lifecycle","slug":"menu-rule-lifecycle","depth":3,"children":[]}],"codeExamples":{},"endpoint":{"title":"Get Menu Rules","path":"/stores/{{store_id}}/menu-rules","method":"get","request":{"security":[],"parameters":{"query":{"rule_type":{"schema":[{"type":"string","description":"Filter rules by type (availability, pricing, display, operational)"}]},"active_only":{"schema":[{"type":"boolean","description":"Return only currently active rules"}]},"menu_id":{"schema":[{"type":"string","description":"Filter rules that apply to a specific menu"}]},"include_details":{"schema":[{"type":"boolean","description":"Include detailed rule configuration and metadata"}]}},"header":{},"cookie":{},"path":{"store_id":{"schema":[{"type":"string","description":"The unique identifier of the store to retrieve menu rules for","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"rules":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of menu rule objects with complete configuration details"}],"total_count":[{"type":"integer","description":"Total number of rules for the store"}],"active_count":[{"type":"integer","description":"Number of currently active rules"}],"rule_categories":[{"type":"object","properties":{},"description":"Summary of rules by category and type"}]}}],"examples":{"example":{"value":{"rules":[{}],"total_count":123,"active_count":123,"rule_categories":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"lulaconvenience","siteName":"Documentation Starter Kit","title":"Get Menu Rules - Documentation Starter Kit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T22:52:35.647Z","originalFileLocation":"api-reference/menus/menu-rules/get-menu-rules.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=\"Retrieve comprehensive menu rules and business logic configurations that govern menu behavior, item availability, and operational constraints for a specific store.\">\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=\"Get Menu Rules - Documentation Starter Kit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve comprehensive menu rules and business logic configurations that govern menu behavior, item availability, and operational constraints for a specific store.\">\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/menus/menu-rules/get-menu-rules\">\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=Menu+Rules\u0026amp;title=Get+Menu+Rules\u0026amp;description=Retrieve+comprehensive+menu+rules+and+business+logic+configurations+that+govern+menu+behavior%2C+item+availability%2C+and+operational+constraints+for+a+specific+sto\u0026amp;theme=20c5c8d451f1169efff39fdd\u0026amp;signature=0a2e357d09c0d053c419f8cb2b288193f04534a27155bc2aae7d01cd7cde1eec\">\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=\"Get Menu Rules - Documentation Starter Kit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve comprehensive menu rules and business logic configurations that govern menu behavior, item availability, and operational constraints for a specific store.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lulaconvenience.mintlify.site/_mintlify/api/og/v2?division=Menu+Rules\u0026amp;title=Get+Menu+Rules\u0026amp;description=Retrieve+comprehensive+menu+rules+and+business+logic+configurations+that+govern+menu+behavior%2C+item+availability%2C+and+operational+constraints+for+a+specific+sto\u0026amp;theme=20c5c8d451f1169efff39fdd\u0026amp;signature=0a2e357d09c0d053c419f8cb2b288193f04534a27155bc2aae7d01cd7cde1eec\">\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/menus/menu-rules/get-menu-rules\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/menus/menu-rules/get-menu-rules.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/menus/menu-rules/get-menu-rules#webpage\",\"url\":\"https://developer.lulacommerce.com/api-reference/menus/menu-rules/get-menu-rules\",\"name\":\"Get Menu Rules\",\"description\":\"Retrieve comprehensive menu rules and business logic configurations that govern menu behavior, item availability, and operational constraints for a specific store.\",\"dateModified\":\"2026-01-06T22:52:35.647Z\",\"isPartOf\":{\"@id\":\"https://developer.lulacommerce.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.lulacommerce.com/api-reference/menus/menu-rules/get-menu-rules#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.lulacommerce.com/api-reference/menus/menu-rules/get-menu-rules#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\":\"Menus\",\"item\":\"https://developer.lulacommerce.com/api-reference/menus/menus-overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get Menu Rules\",\"item\":\"https://developer.lulacommerce.com/api-reference/menus/menu-rules/get-menu-rules\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.lulacommerce.com/api-reference/menus/menu-rules/get-menu-rules#apireference\",\"headline\":\"Get Menu Rules\",\"name\":\"Get Menu Rules\",\"description\":\"Retrieve comprehensive menu rules and business logic configurations that govern menu behavior, item availability, and operational constraints for a specific store.\",\"url\":\"https://developer.lulacommerce.com/api-reference/menus/menu-rules/get-menu-rules\",\"mainEntityOfPage\":{\"@id\":\"https://developer.lulacommerce.com/api-reference/menus/menu-rules/get-menu-rules#webpage\"},\"dateModified\":\"2026-01-06T22:52:35.647Z\",\"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/menus/menu-rules/get-menu-rules.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}}","description":"Modify menu item properties, availability, and configuration within specific menus to maintain accurate and optimized menu offerings.","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","description":"Create or update menu rules that control menu behavior, item availability, pricing logic, and operational constraints to automate menu management and ensure consistent business policy application.","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/","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}}","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":"Get Menu Rules - Documentation Starter Kit","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js"]}