[{"data":1,"prerenderedAt":2158},["ShallowReactive",2],{"sidebar-roots":3,"content-query-GtKK2OYRcK":540,"$88NaDudkJM":2058,"qyzkpDqbjz":2083},[4,19,28,37,43,52,60,69,78,87,96,105,113,122,131,140,149,156,165,174,183,192,200,244,253,263,271,280,290,300,309,318,326,333,342,351,360,369,377,386,393,402,410,419,429,438,444,452,459,465,473,482,491,498,505,511,518,525,534],{"_path":5,"_dir":6,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":9,"_id":12,"_type":13,"title":14,"_source":15,"_file":16,"_stem":17,"_extension":18},"/_dir","",false,true,{"title":10,"icon":11},"Home","ri:home-2-fill","base:_dir.yml","yaml","Dir","base","_dir.yml","_dir","yml",{"_path":20,"_dir":21,"_draft":7,"_partial":8,"_locale":6,"title":22,"sidebarRoot":8,"navigation":23,"_id":25,"_type":13,"_source":15,"_file":26,"_stem":27,"_extension":18},"/general/_dir","general","Getting Started",{"icon":24},"ri:book-2-fill","base:2.general:_dir.yml","2.general/_dir.yml","2.general/_dir",{"_path":29,"_dir":30,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"title":31,"navigation":32,"_id":34,"_type":13,"_source":30,"_file":35,"_stem":36,"_extension":18},"/cloud/_dir","cloud","Cloud",{"icon":33},"material-symbols:cloud","cloud:cloud:_dir.yml","cloud/_dir.yml","cloud/_dir",{"_path":38,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"callout":8,"_id":40,"_type":13,"title":14,"_source":30,"_file":41,"_stem":42,"_extension":18},"/cloud/v1/_dir","v1","cloud:cloud:6.v1:_dir.yml","cloud/6.v1/_dir.yml","cloud/6.v1/_dir",{"_path":44,"_dir":45,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"title":46,"navigation":47,"_id":49,"_type":13,"_source":45,"_file":50,"_stem":51,"_extension":18},"/console/_dir","console","Console (Cloud management)",{"icon":48},"material-symbols:frame-inspect","console:console:_dir.yml","console/_dir.yml","console/_dir",{"_path":53,"_dir":54,"_draft":7,"_partial":8,"_locale":6,"title":55,"navigation":56,"sidebarRoot":8,"_id":57,"_type":13,"_source":15,"_file":58,"_stem":59,"_extension":18},"/cookbook/_dir","cookbook","Cookbooks",{"icon":24},"base:cookbook:_dir.yml","cookbook/_dir.yml","cookbook/_dir",{"_path":61,"_dir":62,"_draft":7,"_partial":8,"_locale":6,"title":63,"sidebarRoot":8,"navigation":64,"_id":66,"_type":13,"_source":15,"_file":67,"_stem":68,"_extension":18},"/guides/_dir","guides","Guides",{"icon":65},"ri:code-s-slash-fill","base:guides:_dir.yml","guides/_dir.yml","guides/_dir",{"_path":70,"_dir":71,"_draft":7,"_partial":8,"_locale":6,"title":72,"sidebarRoot":8,"navigation":73,"_id":75,"_type":13,"_source":15,"_file":76,"_stem":77,"_extension":18},"/guides/alokai-essentials/__2.vue-storefront-with-nuxt/_dir","__2.vue-storefront-with-nuxt","Alokai with Nuxt",{"icon":74},"skill-icons:nuxtjs-dark","base:guides:2.alokai-essentials:__2.vue-storefront-with-nuxt:_dir.yml","guides/2.alokai-essentials/__2.vue-storefront-with-nuxt/_dir.yml","guides/2.alokai-essentials/__2.vue-storefront-with-nuxt/_dir",{"_path":79,"_dir":80,"_draft":7,"_partial":8,"_locale":6,"title":81,"sidebarRoot":8,"navigation":82,"_id":84,"_type":13,"_source":15,"_file":85,"_stem":86,"_extension":18},"/guides/alokai-essentials/_dir","alokai-essentials","Alokai Essentials",{"icon":83},"tabler:123","base:guides:2.alokai-essentials:_dir.yml","guides/2.alokai-essentials/_dir.yml","guides/2.alokai-essentials/_dir",{"_path":88,"_dir":89,"_draft":7,"_partial":8,"_locale":6,"title":90,"sidebarRoot":8,"navigation":91,"_id":93,"_type":13,"_source":15,"_file":94,"_stem":95,"_extension":18},"/guides/alokai-essentials/alokai-next-js/_dir","alokai-next-js","Alokai with Next.js",{"icon":92},"tabler:brand-nextjs","base:guides:2.alokai-essentials:1.alokai-next-js:_dir.yml","guides/2.alokai-essentials/1.alokai-next-js/_dir.yml","guides/2.alokai-essentials/1.alokai-next-js/_dir",{"_path":97,"_dir":98,"_draft":7,"_partial":8,"_locale":6,"title":99,"sidebarRoot":8,"navigation":100,"_id":102,"_type":13,"_source":15,"_file":103,"_stem":104,"_extension":18},"/guides/alokai-essentials/alokai-react-native/_dir","alokai-react-native","Alokai with React Native",{"icon":101},"tabler:brand-react-native","base:guides:2.alokai-essentials:2.alokai-react-native:_dir.yml","guides/2.alokai-essentials/2.alokai-react-native/_dir.yml","guides/2.alokai-essentials/2.alokai-react-native/_dir",{"_path":106,"_dir":107,"_draft":7,"_partial":8,"_locale":6,"title":72,"sidebarRoot":8,"navigation":108,"_id":110,"_type":13,"_source":15,"_file":111,"_stem":112,"_extension":18},"/guides/alokai-essentials/alokai-nuxt/_dir","alokai-nuxt",{"icon":109},"tabler:brand-nuxt","base:guides:2.alokai-essentials:3.alokai-nuxt:_dir.yml","guides/2.alokai-essentials/3.alokai-nuxt/_dir.yml","guides/2.alokai-essentials/3.alokai-nuxt/_dir",{"_path":114,"_dir":115,"_draft":7,"_partial":8,"_locale":6,"title":116,"sidebarRoot":8,"navigation":117,"_id":119,"_type":13,"_source":15,"_file":120,"_stem":121,"_extension":18},"/guides/customization/_dir","customization","Alokai Customization",{"icon":118},"tabler:tool","base:guides:4.customization:_dir.yml","guides/4.customization/_dir.yml","guides/4.customization/_dir",{"_path":123,"_dir":124,"_draft":7,"_partial":8,"_locale":6,"title":125,"sidebarRoot":8,"navigation":126,"_id":128,"_type":13,"_source":15,"_file":129,"_stem":130,"_extension":18},"/guides/customization/app-router/_dir","app-router","Next.js app router",{"icon":127},"tabler:cube","base:guides:4.customization:2.app-router:_dir.yml","guides/4.customization/2.app-router/_dir.yml","guides/4.customization/2.app-router/_dir",{"_path":132,"_dir":133,"_draft":7,"_partial":8,"_locale":6,"title":134,"sidebarRoot":8,"navigation":135,"_id":137,"_type":13,"_source":15,"_file":138,"_stem":139,"_extension":18},"/guides/kubernetes-probe/_dir","kubernetes-probe","Kubernetes Probes",{"icon":136},"tabler:heart-rate-monitor","base:guides:5.kubernetes-probe:_dir.yml","guides/5.kubernetes-probe/_dir.yml","guides/5.kubernetes-probe/_dir",{"_path":141,"_dir":142,"_draft":7,"_partial":8,"_locale":6,"title":143,"sidebarRoot":8,"navigation":144,"_id":146,"_type":13,"_source":15,"_file":147,"_stem":148,"_extension":18},"/guides/best-practices/_dir","best-practices","Best Practices",{"icon":145},"tabler:rosette-discount-check","base:guides:6.best-practices:_dir.yml","guides/6.best-practices/_dir.yml","guides/6.best-practices/_dir",{"_path":150,"_dir":151,"_draft":7,"_partial":8,"_locale":6,"title":152,"sidebarRoot":8,"_id":153,"_type":13,"_source":15,"_file":154,"_stem":155,"_extension":18},"/guides/best-practices/performance/_dir","performance","Performance","base:guides:6.best-practices:3.performance:_dir.yml","guides/6.best-practices/3.performance/_dir.yml","guides/6.best-practices/3.performance/_dir",{"_path":157,"_dir":158,"_draft":7,"_partial":8,"_locale":6,"title":159,"sidebarRoot":8,"navigation":160,"_id":162,"_type":13,"_source":15,"_file":163,"_stem":164,"_extension":18},"/guides/multistore/_dir","multistore","Multistore",{"icon":161},"tabler:box-multiple-filled","base:guides:7.multistore:_dir.yml","guides/7.multistore/_dir.yml","guides/7.multistore/_dir",{"_path":166,"_dir":167,"_draft":7,"_partial":8,"_locale":6,"title":168,"sidebarRoot":8,"navigation":169,"_id":171,"_type":13,"_source":15,"_file":172,"_stem":173,"_extension":18},"/guides/multistore/introduction/_dir","introduction","Introduction",{"icon":170},"tabler:align-box-center-middle","base:guides:7.multistore:1.introduction:_dir.yml","guides/7.multistore/1.introduction/_dir.yml","guides/7.multistore/1.introduction/_dir",{"_path":175,"_dir":176,"_draft":7,"_partial":8,"_locale":6,"title":177,"sidebarRoot":8,"navigation":178,"_id":180,"_type":13,"_source":15,"_file":181,"_stem":182,"_extension":18},"/guides/multistore/tooling-and-concepts/_dir","tooling-and-concepts","Tooling and concepts",{"icon":179},"tabler:tools","base:guides:7.multistore:2.tooling-and-concepts:_dir.yml","guides/7.multistore/2.tooling-and-concepts/_dir.yml","guides/7.multistore/2.tooling-and-concepts/_dir",{"_path":184,"_dir":185,"_draft":7,"_partial":8,"_locale":6,"title":186,"sidebarRoot":8,"navigation":187,"_id":189,"_type":13,"_source":15,"_file":190,"_stem":191,"_extension":18},"/guides/multistore/patterns/_dir","patterns","Patterns",{"icon":188},"tabler:layout-grid","base:guides:7.multistore:3.patterns:_dir.yml","guides/7.multistore/3.patterns/_dir.yml","guides/7.multistore/3.patterns/_dir",{"_path":193,"_dir":194,"_draft":7,"_partial":8,"_locale":6,"title":195,"sidebarRoot":8,"navigation":196,"_id":197,"_type":13,"_source":15,"_file":198,"_stem":199,"_extension":18},"/guides/troubleshooting/_dir","troubleshooting","Troubleshooting",{"icon":179},"base:guides:8.troubleshooting:_dir.yml","guides/8.troubleshooting/_dir.yml","guides/8.troubleshooting/_dir",{"_path":201,"_dir":62,"_draft":7,"_partial":7,"_locale":6,"title":6,"description":202,"layout":203,"sidebarRoot":8,"body":204,"_type":238,"_id":239,"_source":15,"_file":240,"_stem":241,"_extension":242,"sitemap":243},"/guides/troubleshooting","On this page you'll find a set of guides that will help you to resolve common issues that may occur when working with Alokai.","default",{"type":205,"children":206,"toc":234},"root",[207,214,219],{"type":208,"tag":209,"props":210,"children":211},"element","h1",{"id":194},[212],{"type":213,"value":195},"text",{"type":208,"tag":215,"props":216,"children":217},"p",{},[218],{"type":213,"value":202},{"type":208,"tag":220,"props":221,"children":224},"card",{"icon":170,"title":222,"to":223},"Inspecting network requests","/guides/troubleshooting/inspecting-network-requests",[225],{"type":208,"tag":226,"props":227,"children":228},"template",{"v-slot:description":6},[229],{"type":208,"tag":215,"props":230,"children":231},{},[232],{"type":213,"value":233},"Learn how to inspect network requests sent from the client (browser) to Server Middleware and from the Server Middleware to external services.",{"title":6,"searchDepth":235,"depth":236,"links":237},5,2,[],"markdown","base:guides:8.troubleshooting:index.md","guides/8.troubleshooting/index.md","guides/8.troubleshooting/index","md",{"loc":201},{"_path":245,"_dir":246,"_draft":7,"_partial":8,"_locale":6,"title":247,"sidebarRoot":8,"navigation":248,"_id":250,"_type":13,"_source":246,"_file":251,"_stem":252,"_extension":18},"/integrations/_dir","integrations","Integrations",{"icon":249},"fluent:puzzle-cube-piece-20-filled","integrations:integrations:_dir.yml","integrations/_dir.yml","integrations/_dir",{"_path":254,"_dir":255,"_draft":7,"_partial":8,"_locale":6,"navigation":256,"sidebarRoot":8,"_id":259,"_type":13,"title":14,"_source":260,"_file":261,"_stem":262,"_extension":18},"/integrations/adyen-sfcc/_dir","adyen-sfcc",{"title":257,"icon":258},"Adyen Integration for SFCC","ri:terminal-box-fill","adyenSfcc:integrations:adyen-sfcc:_dir.yml","adyenSfcc","integrations/adyen-sfcc/_dir.yml","integrations/adyen-sfcc/_dir",{"_path":264,"_dir":265,"_draft":7,"_partial":8,"_locale":6,"navigation":266,"sidebarRoot":8,"_id":268,"_type":13,"title":14,"_source":265,"_file":269,"_stem":270,"_extension":18},"/integrations/adyen/_dir","adyen",{"title":267,"icon":258},"Adyen Integration","adyen:integrations:adyen:_dir.yml","integrations/adyen/_dir.yml","integrations/adyen/_dir",{"_path":272,"_dir":273,"_draft":7,"_partial":8,"_locale":6,"navigation":274,"sidebarRoot":8,"_id":277,"_type":13,"title":14,"_source":273,"_file":278,"_stem":279,"_extension":18},"/integrations/amplience/_dir","amplience",{"title":275,"icon":276},"Amplience","IconAmplience","amplience:integrations:amplience:_dir.yml","integrations/amplience/_dir.yml","integrations/amplience/_dir",{"_path":281,"_dir":282,"_draft":7,"_partial":8,"_locale":6,"navigation":283,"sidebarRoot":8,"iconClass":286,"_id":287,"_type":13,"title":14,"_source":282,"_file":288,"_stem":289,"_extension":18},"/integrations/bigcommerce/_dir","bigcommerce",{"title":284,"icon":285},"BigCommerce","simple-icons:bigcommerce","text-black dark:text-white","bigcommerce:integrations:bigcommerce:_dir.yml","integrations/bigcommerce/_dir.yml","integrations/bigcommerce/_dir",{"_path":291,"_dir":292,"_draft":7,"_partial":8,"_locale":6,"navigation":293,"sidebarRoot":8,"_id":296,"_type":13,"title":14,"_source":297,"_file":298,"_stem":299,"_extension":18},"/integrations/bloomreach-content/_dir","bloomreach-content",{"title":294,"icon":295},"Bloomreach Content","IconBloomreach","bloomreachContent:integrations:bloomreach-content:_dir.yml","bloomreachContent","integrations/bloomreach-content/_dir.yml","integrations/bloomreach-content/_dir",{"_path":301,"_dir":302,"_draft":7,"_partial":8,"_locale":6,"navigation":303,"sidebarRoot":8,"_id":305,"_type":13,"title":14,"_source":306,"_file":307,"_stem":308,"_extension":18},"/integrations/bloomreach-search/_dir","bloomreach-search",{"title":304,"icon":295},"Bloomreach Discovery","bloomreachSearch:integrations:bloomreach-search:_dir.yml","bloomreachSearch","integrations/bloomreach-search/_dir.yml","integrations/bloomreach-search/_dir",{"_path":310,"_dir":311,"_draft":7,"_partial":8,"_locale":6,"navigation":312,"sidebarRoot":8,"_id":315,"_type":13,"title":14,"_source":311,"_file":316,"_stem":317,"_extension":18},"/integrations/builder/_dir","builder",{"title":313,"icon":314},"Builder.io","logos:builder-io-icon","builder:integrations:builder:_dir.yml","integrations/builder/_dir.yml","integrations/builder/_dir",{"_path":319,"_dir":320,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":321,"title":320,"_id":323,"_type":13,"_source":320,"_file":324,"_stem":325,"_extension":18},"/integrations/commercetools/_dir","commercetools",{"icon":322},"IconCommercetools","commercetools:integrations:commercetools:_dir.yml","integrations/commercetools/_dir.yml","integrations/commercetools/_dir",{"_path":327,"_dir":328,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":329,"title":320,"_id":330,"_type":13,"_source":320,"_file":331,"_stem":332,"_extension":18},"/integrations/commercetools/v2/_dir","v2",{"icon":322},"commercetools:integrations:commercetools:v2:_dir.yml","integrations/commercetools/v2/_dir.yml","integrations/commercetools/v2/_dir",{"_path":334,"_dir":335,"_draft":7,"_partial":8,"_locale":6,"navigation":336,"sidebarRoot":8,"_id":339,"_type":13,"title":14,"_source":335,"_file":340,"_stem":341,"_extension":18},"/integrations/contentful/_dir","contentful",{"title":337,"icon":338},"Contentful","logos:contentful","contentful:integrations:contentful:_dir.yml","integrations/contentful/_dir.yml","integrations/contentful/_dir",{"_path":343,"_dir":344,"_draft":7,"_partial":8,"_locale":6,"navigation":345,"sidebarRoot":8,"_id":348,"_type":13,"title":14,"_source":344,"_file":349,"_stem":350,"_extension":18},"/integrations/contentstack/_dir","contentstack",{"title":346,"icon":347},"Contentstack","IconContentstack","contentstack:integrations:contentstack:_dir.yml","integrations/contentstack/_dir.yml","integrations/contentstack/_dir",{"_path":352,"_dir":353,"_draft":7,"_partial":8,"_locale":6,"navigation":354,"sidebarRoot":8,"_id":357,"_type":13,"title":14,"_source":353,"_file":358,"_stem":359,"_extension":18},"/integrations/magento/_dir","magento",{"title":355,"icon":356},"Magento","logos:magento","magento:integrations:magento:_dir.yml","integrations/magento/_dir.yml","integrations/magento/_dir",{"_path":361,"_dir":362,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":363,"_id":366,"_type":13,"title":14,"_source":362,"_file":367,"_stem":368,"_extension":18},"/integrations/odoo/_dir","odoo",{"title":364,"icon":365},"Odoo","IconOdoo","odoo:integrations:odoo:_dir.yml","integrations/odoo/_dir.yml","integrations/odoo/_dir",{"_path":370,"_dir":371,"_draft":7,"_partial":8,"_locale":6,"navigation":372,"sidebarRoot":8,"_id":374,"_type":13,"title":14,"_source":371,"_file":375,"_stem":376,"_extension":18},"/integrations/redis/_dir","redis",{"title":373,"icon":258},"Redis","redis:integrations:redis:_dir.yml","integrations/redis/_dir.yml","integrations/redis/_dir",{"_path":378,"_dir":379,"_draft":7,"_partial":8,"_locale":6,"navigation":380,"sidebarRoot":8,"_id":383,"_type":13,"title":14,"_source":379,"_file":384,"_stem":385,"_extension":18},"/integrations/sapcc/_dir","sapcc",{"title":381,"icon":382},"SAP Commerce Cloud","IconSAP","sapcc:integrations:sapcc:_dir.yml","integrations/sapcc/_dir.yml","integrations/sapcc/_dir",{"_path":387,"_dir":388,"_draft":7,"_partial":8,"_locale":6,"navigation":389,"sidebarRoot":8,"_id":390,"_type":13,"title":14,"_source":379,"_file":391,"_stem":392,"_extension":18},"/integrations/sapcc/v7/_dir","v7",{"title":381,"icon":382},"sapcc:integrations:sapcc:v7:_dir.yml","integrations/sapcc/v7/_dir.yml","integrations/sapcc/v7/_dir",{"_path":394,"_dir":395,"_draft":7,"_partial":8,"_locale":6,"navigation":396,"sidebarRoot":8,"_id":399,"_type":13,"title":14,"_source":395,"_file":400,"_stem":401,"_extension":18},"/integrations/sfcc/_dir","sfcc",{"title":397,"icon":398},"Salesforce Commerce Cloud","logos:salesforce","sfcc:integrations:sfcc:_dir.yml","integrations/sfcc/_dir.yml","integrations/sfcc/_dir",{"_path":403,"_dir":404,"_draft":7,"_partial":8,"_locale":6,"navigation":405,"sidebarRoot":8,"_id":407,"_type":13,"title":14,"_source":404,"_file":408,"_stem":409,"_extension":18},"/integrations/smartedit/_dir","smartedit",{"title":406,"icon":382},"SmartEdit","smartedit:integrations:smartedit:_dir.yml","integrations/smartedit/_dir.yml","integrations/smartedit/_dir",{"_path":411,"_dir":412,"_draft":7,"_partial":8,"_locale":6,"navigation":413,"sidebarRoot":8,"_id":416,"_type":13,"title":14,"_source":412,"_file":417,"_stem":418,"_extension":18},"/integrations/storyblok/_dir","storyblok",{"title":414,"icon":415},"Storyblok","logos:storyblok-icon","storyblok:integrations:storyblok:_dir.yml","integrations/storyblok/_dir.yml","integrations/storyblok/_dir",{"_path":420,"_dir":421,"_draft":7,"_partial":8,"_locale":6,"navigation":422,"sidebarRoot":8,"_id":425,"_type":13,"title":14,"_source":426,"_file":427,"_stem":428,"_extension":18},"/integrations/stripe-commercetools/_dir","stripe-commercetools",{"title":423,"icon":424},"Stripe + commercetools","logos:stripe","stripeCt:integrations:stripe-commercetools:_dir.yml","stripeCt","integrations/stripe-commercetools/_dir.yml","integrations/stripe-commercetools/_dir",{"_path":430,"_dir":431,"_draft":7,"_partial":8,"_locale":6,"title":432,"sidebarRoot":8,"navigation":433,"_id":435,"_type":13,"_source":431,"_file":436,"_stem":437,"_extension":18},"/middleware/_dir","middleware","Middleware",{"icon":434},"fa6-solid:layer-group","middleware:middleware:_dir.yml","middleware/_dir.yml","middleware/_dir",{"_path":439,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"title":432,"sidebarRoot":8,"navigation":440,"_id":441,"_type":13,"_source":431,"_file":442,"_stem":443,"_extension":18},"/middleware/v1/_dir",{"icon":434},"middleware:middleware:v1:_dir.yml","middleware/v1/_dir.yml","middleware/v1/_dir",{"_path":445,"_dir":446,"_draft":7,"_partial":8,"_locale":6,"navigation":447,"sidebarRoot":8,"_id":449,"_type":13,"title":14,"_source":446,"_file":450,"_stem":451,"_extension":18},"/sdk/_dir","sdk",{"title":448,"icon":258},"SDK","sdk:sdk:_dir.yml","sdk/_dir.yml","sdk/_dir",{"_path":453,"_dir":454,"_draft":7,"_partial":8,"_locale":6,"navigation":455,"sidebarRoot":8,"_id":456,"_type":13,"title":14,"_source":446,"_file":457,"_stem":458,"_extension":18},"/sdk/legacy/_dir","legacy",{"title":448,"icon":258},"sdk:sdk:legacy:_dir.yml","sdk/legacy/_dir.yml","sdk/legacy/_dir",{"_path":460,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"navigation":461,"sidebarRoot":8,"_id":462,"_type":13,"title":14,"_source":446,"_file":463,"_stem":464,"_extension":18},"/sdk/v1/_dir",{"title":448,"icon":258},"sdk:sdk:v1:_dir.yml","sdk/v1/_dir.yml","sdk/v1/_dir",{"_path":466,"_dir":467,"_draft":7,"_partial":8,"_locale":6,"navigation":468,"sidebarRoot":8,"_id":470,"_type":13,"title":14,"_source":467,"_file":471,"_stem":472,"_extension":18},"/storefront/_dir","storefront",{"title":469,"icon":258},"Storefront","storefront:storefront:_dir.yml","storefront/_dir.yml","storefront/_dir",{"_path":474,"_dir":475,"_draft":7,"_partial":8,"_locale":6,"navigation":476,"sidebarRoot":8,"_id":479,"_type":13,"title":14,"_source":475,"_file":480,"_stem":481,"_extension":18},"/storefront/modules/_dir","modules",{"title":477,"icon":478},"Storefront Modules","ri:home-fill","modules:storefront:modules:_dir.yml","storefront/modules/_dir.yml","storefront/modules/_dir",{"_path":483,"_dir":484,"_draft":7,"_partial":8,"_locale":6,"navigation":485,"sidebarRoot":8,"_id":488,"_type":13,"title":14,"_source":475,"_file":489,"_stem":490,"_extension":18},"/storefront/modules/search-integrations/coveo/_dir","coveo",{"title":486,"icon":487},"Coveo","ri:user-search-fill","modules:storefront:modules:2.search-integrations:1.coveo:_dir.yml","storefront/modules/2.search-integrations/1.coveo/_dir.yml","storefront/modules/2.search-integrations/1.coveo/_dir",{"_path":492,"_dir":493,"_draft":7,"_partial":8,"_locale":6,"navigation":494,"sidebarRoot":8,"_id":495,"_type":13,"title":14,"_source":475,"_file":496,"_stem":497,"_extension":18},"/storefront/modules/search-integrations/bloomreach/_dir","bloomreach",{"title":304,"icon":487},"modules:storefront:modules:2.search-integrations:3.bloomreach:_dir.yml","storefront/modules/2.search-integrations/3.bloomreach/_dir.yml","storefront/modules/2.search-integrations/3.bloomreach/_dir",{"_path":499,"_dir":500,"_draft":7,"_partial":8,"_locale":6,"navigation":501,"sidebarRoot":8,"_id":502,"_type":13,"title":14,"_source":475,"_file":503,"_stem":504,"_extension":18},"/storefront/modules/v0/_dir","v0",{"title":477,"icon":478},"modules:storefront:modules:v0:_dir.yml","storefront/modules/v0/_dir.yml","storefront/modules/v0/_dir",{"_path":506,"_dir":484,"_draft":7,"_partial":8,"_locale":6,"navigation":507,"sidebarRoot":8,"_id":508,"_type":13,"title":14,"_source":475,"_file":509,"_stem":510,"_extension":18},"/storefront/modules/v0/search-integrations/coveo/_dir",{"title":486,"icon":487},"modules:storefront:modules:v0:2.search-integrations:1.coveo:_dir.yml","storefront/modules/v0/2.search-integrations/1.coveo/_dir.yml","storefront/modules/v0/2.search-integrations/1.coveo/_dir",{"_path":512,"_dir":513,"_draft":7,"_partial":8,"_locale":6,"navigation":514,"sidebarRoot":8,"_id":515,"_type":13,"title":14,"_source":467,"_file":516,"_stem":517,"_extension":18},"/storefront/v0.1/_dir","v0.1",{"title":469,"icon":258},"storefront:storefront:v0.1:_dir.yml","storefront/v0.1/_dir.yml","storefront/v0.1/_dir",{"_path":519,"_dir":520,"_draft":7,"_partial":8,"_locale":6,"navigation":521,"sidebarRoot":8,"_id":522,"_type":13,"title":14,"_source":467,"_file":523,"_stem":524,"_extension":18},"/storefront/v0.2/_dir","v0.2",{"title":469,"icon":258},"storefront:storefront:v0.2:_dir.yml","storefront/v0.2/_dir.yml","storefront/v0.2/_dir",{"_path":526,"_dir":527,"_draft":7,"_partial":8,"_locale":6,"navigation":528,"sidebarRoot":8,"_id":530,"_type":13,"title":14,"_source":531,"_file":532,"_stem":533,"_extension":18},"/unified-data-layer/_dir","unified-data-layer",{"title":529,"icon":258},"Unified Data Layer","unified:unified-data-layer:_dir.yml","unified","unified-data-layer/_dir.yml","unified-data-layer/_dir",{"_path":535,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"navigation":536,"sidebarRoot":8,"_id":537,"_type":13,"title":14,"_source":531,"_file":538,"_stem":539,"_extension":18},"/unified-data-layer/v1/_dir",{"title":529,"icon":258},"unified:unified-data-layer:v1:_dir.yml","unified-data-layer/v1/_dir.yml","unified-data-layer/v1/_dir",{"_path":541,"_dir":542,"_draft":7,"_partial":8,"_locale":6,"title":543,"description":6,"body":544,"_type":238,"_id":2055,"_source":246,"_file":2056,"_stem":2057,"_extension":242,"layout":203},"/integrations/_partials/rest-api","_partials","Rest Api",{"type":205,"children":545,"toc":2045},[546,553,569,576,581,591,597,629,642,662,673,685,691,703,714,720,727,748,1054,1060,1072,1152,1158,1170,1225,1231,1252,1257,1292,1297,1338,1343,1410,1416,1421,1697,1702,2039],{"type":208,"tag":547,"props":548,"children":550},"h2",{"id":549},"custom-alokai-integration-rest-api",[551],{"type":213,"value":552},"Custom Alokai Integration - REST API",{"type":208,"tag":215,"props":554,"children":555},{},[556,558,567],{"type":213,"value":557},"This is a custom integration for Alokai ",{"type":208,"tag":559,"props":560,"children":564},"a",{"href":561,"rel":562},"https://docs.alokai.com/middleware",[563],"nofollow",[565],{"type":213,"value":566},"Storefront Middleware",{"type":213,"value":568}," that connects your storefront to a third-party service.",{"type":208,"tag":570,"props":571,"children":573},"h3",{"id":572},"file-structure",[574],{"type":213,"value":575},"File Structure",{"type":208,"tag":215,"props":577,"children":578},{},[579],{"type":213,"value":580},"The integration follows this structure:",{"type":208,"tag":582,"props":583,"children":585},"pre",{"code":584},"my-integration/\n├── __tests__/          # Integration and unit tests\n├── ai/                 # AI agent guidance and instructions\n├── api/                # API method implementations\n├── client/             # HTTP client configuration\n├── types/              # TypeScript type definitions\n├── config.ts           # Integration configuration\n├── index.server.ts     # Server-side exports\n├── index.ts            # Main integration exports\n└── README.md          # This file\n",[586],{"type":208,"tag":587,"props":588,"children":589},"code",{"__ignoreMap":6},[590],{"type":213,"value":584},{"type":208,"tag":570,"props":592,"children":594},{"id":593},"ai-support",[595],{"type":213,"value":596},"AI Support",{"type":208,"tag":215,"props":598,"children":599},{},[600,602,609,611,618,620,627],{"type":213,"value":601},"This integration includes AI guidance for code editors like ",{"type":208,"tag":559,"props":603,"children":606},{"href":604,"rel":605},"https://github.com/features/copilot",[563],[607],{"type":213,"value":608},"Copilot",{"type":213,"value":610},", ",{"type":208,"tag":559,"props":612,"children":615},{"href":613,"rel":614},"https://codeium.com/windsurf",[563],[616],{"type":213,"value":617},"Windsurf",{"type":213,"value":619}," or ",{"type":208,"tag":559,"props":621,"children":624},{"href":622,"rel":623},"https://www.cursor.com/",[563],[625],{"type":213,"value":626},"Cursor",{"type":213,"value":628},".",{"type":208,"tag":215,"props":630,"children":631},{},[632,634,640],{"type":213,"value":633},"The file ",{"type":208,"tag":587,"props":635,"children":637},{"className":636},[],[638],{"type":213,"value":639},"apps/storefront-middleware/integrations/my-integration/ai/getting-started.md",{"type":213,"value":641}," contains detailed instructions for AI agents to help implement:",{"type":208,"tag":643,"props":644,"children":645},"ul",{},[646,652,657],{"type":208,"tag":647,"props":648,"children":649},"li",{},[650],{"type":213,"value":651},"HTTP client connecting to third-party platforms",{"type":208,"tag":647,"props":653,"children":654},{},[655],{"type":213,"value":656},"API methods for fetching data from external services",{"type":208,"tag":647,"props":658,"children":659},{},[660],{"type":213,"value":661},"Unified API methods with proper data normalization",{"type":208,"tag":215,"props":663,"children":664},{},[665,671],{"type":208,"tag":666,"props":667,"children":668},"strong",{},[669],{"type":213,"value":670},"Compatibility:",{"type":213,"value":672}," These instructions have been tested with Claude 3.5 and 4.0 and can be executed with ClaudeCode, the Gemini AI assistant, and other agents that use these models.",{"type":208,"tag":215,"props":674,"children":675},{},[676,678,684],{"type":213,"value":677},"To use these instructions, add the file to your AI context with the prompt ",{"type":208,"tag":679,"props":680,"children":681},"em",{},[682],{"type":213,"value":683},"\"run instruction\"",{"type":213,"value":628},{"type":208,"tag":570,"props":686,"children":688},{"id":687},"ai-driven-setup-recommended",[689],{"type":213,"value":690},"AI driven setup (recommended)",{"type":208,"tag":692,"props":693,"children":694},"info",{},[695,698],{"type":208,"tag":226,"props":696,"children":697},{"v-slot:title":6},[],{"type":208,"tag":215,"props":699,"children":700},{},[701],{"type":213,"value":702},"This is the recommended way to setup the integration. It will guide the AI agent to finalize the integration setup.",{"type":208,"tag":215,"props":704,"children":705},{},[706,707,712],{"type":213,"value":633},{"type":208,"tag":587,"props":708,"children":710},{"className":709},[],[711],{"type":213,"value":639},{"type":213,"value":713}," contains detailed instructions to complete the setup of the integration. Use your AI agent to run the instructions.",{"type":208,"tag":570,"props":715,"children":717},{"id":716},"manual-setup-alternative",[718],{"type":213,"value":719},"Manual setup (alternative)",{"type":208,"tag":721,"props":722,"children":724},"h4",{"id":723},"_1-implement-custom-methods",[725],{"type":213,"value":726},"1. Implement Custom Methods",{"type":208,"tag":215,"props":728,"children":729},{},[730,732,738,740,746],{"type":213,"value":731},"Create API methods in the ",{"type":208,"tag":587,"props":733,"children":735},{"className":734},[],[736],{"type":213,"value":737},"apps/storefront-middleware/integrations/my-integration/api/",{"type":213,"value":739}," directory. Each method should be in its own folder. Here's an example based on ",{"type":208,"tag":587,"props":741,"children":743},{"className":742},[],[744],{"type":213,"value":745},"api/exampleMethod/index.ts",{"type":213,"value":747},":",{"type":208,"tag":582,"props":749,"children":753},{"code":750,"language":751,"meta":6,"className":752,"style":6},"import type { IntegrationContext } from '../../types';\n\nexport interface ExampleMethodArgs {\n  id: string;\n}\n\nexport const exampleMethod = async (context: IntegrationContext, args: ExampleMethodArgs) => {\n  // Make HTTP requests using the Axios client:\n  // return await context.client.get(`/example-url?id=${args.id}`);\n\n  // Or make POST requests:\n  // return await context.client.post('/example-url', { data: args });\n\n  return { data: 'Hello, Alokai Integrator!' };\n};\n","typescript","language-typescript shiki shiki-themes one-dark-pro",[754],{"type":208,"tag":587,"props":755,"children":756},{"__ignoreMap":6},[757,807,815,840,863,871,879,960,970,979,987,996,1005,1013,1045],{"type":208,"tag":758,"props":759,"children":762},"span",{"class":760,"line":761},"line",1,[763,769,774,780,786,791,796,802],{"type":208,"tag":758,"props":764,"children":766},{"style":765},"--shiki-default:#C678DD",[767],{"type":213,"value":768},"import",{"type":208,"tag":758,"props":770,"children":771},{"style":765},[772],{"type":213,"value":773}," type",{"type":208,"tag":758,"props":775,"children":777},{"style":776},"--shiki-default:#ABB2BF",[778],{"type":213,"value":779}," { ",{"type":208,"tag":758,"props":781,"children":783},{"style":782},"--shiki-default:#E06C75",[784],{"type":213,"value":785},"IntegrationContext",{"type":208,"tag":758,"props":787,"children":788},{"style":776},[789],{"type":213,"value":790}," } ",{"type":208,"tag":758,"props":792,"children":793},{"style":765},[794],{"type":213,"value":795},"from",{"type":208,"tag":758,"props":797,"children":799},{"style":798},"--shiki-default:#98C379",[800],{"type":213,"value":801}," '../../types'",{"type":208,"tag":758,"props":803,"children":804},{"style":776},[805],{"type":213,"value":806},";\n",{"type":208,"tag":758,"props":808,"children":809},{"class":760,"line":236},[810],{"type":208,"tag":758,"props":811,"children":812},{"emptyLinePlaceholder":8},[813],{"type":213,"value":814},"\n",{"type":208,"tag":758,"props":816,"children":818},{"class":760,"line":817},3,[819,824,829,835],{"type":208,"tag":758,"props":820,"children":821},{"style":765},[822],{"type":213,"value":823},"export",{"type":208,"tag":758,"props":825,"children":826},{"style":765},[827],{"type":213,"value":828}," interface",{"type":208,"tag":758,"props":830,"children":832},{"style":831},"--shiki-default:#E5C07B",[833],{"type":213,"value":834}," ExampleMethodArgs",{"type":208,"tag":758,"props":836,"children":837},{"style":776},[838],{"type":213,"value":839}," {\n",{"type":208,"tag":758,"props":841,"children":843},{"class":760,"line":842},4,[844,849,854,859],{"type":208,"tag":758,"props":845,"children":846},{"style":782},[847],{"type":213,"value":848},"  id",{"type":208,"tag":758,"props":850,"children":851},{"style":776},[852],{"type":213,"value":853},": ",{"type":208,"tag":758,"props":855,"children":856},{"style":831},[857],{"type":213,"value":858},"string",{"type":208,"tag":758,"props":860,"children":861},{"style":776},[862],{"type":213,"value":806},{"type":208,"tag":758,"props":864,"children":865},{"class":760,"line":235},[866],{"type":208,"tag":758,"props":867,"children":868},{"style":776},[869],{"type":213,"value":870},"}\n",{"type":208,"tag":758,"props":872,"children":874},{"class":760,"line":873},6,[875],{"type":208,"tag":758,"props":876,"children":877},{"emptyLinePlaceholder":8},[878],{"type":213,"value":814},{"type":208,"tag":758,"props":880,"children":882},{"class":760,"line":881},7,[883,887,892,898,904,909,914,920,924,928,932,937,941,946,951,956],{"type":208,"tag":758,"props":884,"children":885},{"style":765},[886],{"type":213,"value":823},{"type":208,"tag":758,"props":888,"children":889},{"style":765},[890],{"type":213,"value":891}," const",{"type":208,"tag":758,"props":893,"children":895},{"style":894},"--shiki-default:#61AFEF",[896],{"type":213,"value":897}," exampleMethod",{"type":208,"tag":758,"props":899,"children":901},{"style":900},"--shiki-default:#56B6C2",[902],{"type":213,"value":903}," =",{"type":208,"tag":758,"props":905,"children":906},{"style":765},[907],{"type":213,"value":908}," async",{"type":208,"tag":758,"props":910,"children":911},{"style":776},[912],{"type":213,"value":913}," (",{"type":208,"tag":758,"props":915,"children":917},{"style":916},"--shiki-default:#E06C75;--shiki-default-font-style:italic",[918],{"type":213,"value":919},"context",{"type":208,"tag":758,"props":921,"children":922},{"style":776},[923],{"type":213,"value":853},{"type":208,"tag":758,"props":925,"children":926},{"style":831},[927],{"type":213,"value":785},{"type":208,"tag":758,"props":929,"children":930},{"style":776},[931],{"type":213,"value":610},{"type":208,"tag":758,"props":933,"children":934},{"style":916},[935],{"type":213,"value":936},"args",{"type":208,"tag":758,"props":938,"children":939},{"style":776},[940],{"type":213,"value":853},{"type":208,"tag":758,"props":942,"children":943},{"style":831},[944],{"type":213,"value":945},"ExampleMethodArgs",{"type":208,"tag":758,"props":947,"children":948},{"style":776},[949],{"type":213,"value":950},") ",{"type":208,"tag":758,"props":952,"children":953},{"style":765},[954],{"type":213,"value":955},"=>",{"type":208,"tag":758,"props":957,"children":958},{"style":776},[959],{"type":213,"value":839},{"type":208,"tag":758,"props":961,"children":963},{"class":760,"line":962},8,[964],{"type":208,"tag":758,"props":965,"children":967},{"style":966},"--shiki-default:#7F848E;--shiki-default-font-style:italic",[968],{"type":213,"value":969},"  // Make HTTP requests using the Axios client:\n",{"type":208,"tag":758,"props":971,"children":973},{"class":760,"line":972},9,[974],{"type":208,"tag":758,"props":975,"children":976},{"style":966},[977],{"type":213,"value":978},"  // return await context.client.get(`/example-url?id=${args.id}`);\n",{"type":208,"tag":758,"props":980,"children":982},{"class":760,"line":981},10,[983],{"type":208,"tag":758,"props":984,"children":985},{"emptyLinePlaceholder":8},[986],{"type":213,"value":814},{"type":208,"tag":758,"props":988,"children":990},{"class":760,"line":989},11,[991],{"type":208,"tag":758,"props":992,"children":993},{"style":966},[994],{"type":213,"value":995},"  // Or make POST requests:\n",{"type":208,"tag":758,"props":997,"children":999},{"class":760,"line":998},12,[1000],{"type":208,"tag":758,"props":1001,"children":1002},{"style":966},[1003],{"type":213,"value":1004},"  // return await context.client.post('/example-url', { data: args });\n",{"type":208,"tag":758,"props":1006,"children":1008},{"class":760,"line":1007},13,[1009],{"type":208,"tag":758,"props":1010,"children":1011},{"emptyLinePlaceholder":8},[1012],{"type":213,"value":814},{"type":208,"tag":758,"props":1014,"children":1016},{"class":760,"line":1015},14,[1017,1022,1026,1031,1035,1040],{"type":208,"tag":758,"props":1018,"children":1019},{"style":765},[1020],{"type":213,"value":1021},"  return",{"type":208,"tag":758,"props":1023,"children":1024},{"style":776},[1025],{"type":213,"value":779},{"type":208,"tag":758,"props":1027,"children":1028},{"style":782},[1029],{"type":213,"value":1030},"data",{"type":208,"tag":758,"props":1032,"children":1033},{"style":776},[1034],{"type":213,"value":853},{"type":208,"tag":758,"props":1036,"children":1037},{"style":798},[1038],{"type":213,"value":1039},"'Hello, Alokai Integrator!'",{"type":208,"tag":758,"props":1041,"children":1042},{"style":776},[1043],{"type":213,"value":1044}," };\n",{"type":208,"tag":758,"props":1046,"children":1048},{"class":760,"line":1047},15,[1049],{"type":208,"tag":758,"props":1050,"children":1051},{"style":776},[1052],{"type":213,"value":1053},"};\n",{"type":208,"tag":721,"props":1055,"children":1057},{"id":1056},"_2-register-integration",[1058],{"type":213,"value":1059},"2. Register Integration",{"type":208,"tag":215,"props":1061,"children":1062},{},[1063,1065,1071],{"type":213,"value":1064},"Add your integration to the middleware configuration in ",{"type":208,"tag":587,"props":1066,"children":1068},{"className":1067},[],[1069],{"type":213,"value":1070},"apps/storefront-middleware/middleware.config.ts",{"type":213,"value":747},{"type":208,"tag":582,"props":1073,"children":1077},{"code":1074,"language":1075,"meta":6,"className":1076,"style":6},"+ import type { MiddlewareConfig } from '@alokai/connect/middleware';\n+ import { config as myIntegrationConfig } from './integrations/my-integration';\n\nexport const config = {\n  integrations: {\n+   myIntegration: myIntegrationConfig,\n  },\n-};\n+} satisfies MiddlewareConfig;\n","diff","language-diff shiki shiki-themes one-dark-pro",[1078],{"type":208,"tag":587,"props":1079,"children":1080},{"__ignoreMap":6},[1081,1089,1097,1104,1112,1120,1128,1136,1144],{"type":208,"tag":758,"props":1082,"children":1083},{"class":760,"line":761},[1084],{"type":208,"tag":758,"props":1085,"children":1086},{"style":798},[1087],{"type":213,"value":1088},"+ import type { MiddlewareConfig } from '@alokai/connect/middleware';\n",{"type":208,"tag":758,"props":1090,"children":1091},{"class":760,"line":236},[1092],{"type":208,"tag":758,"props":1093,"children":1094},{"style":798},[1095],{"type":213,"value":1096},"+ import { config as myIntegrationConfig } from './integrations/my-integration';\n",{"type":208,"tag":758,"props":1098,"children":1099},{"class":760,"line":817},[1100],{"type":208,"tag":758,"props":1101,"children":1102},{"emptyLinePlaceholder":8},[1103],{"type":213,"value":814},{"type":208,"tag":758,"props":1105,"children":1106},{"class":760,"line":842},[1107],{"type":208,"tag":758,"props":1108,"children":1109},{"style":776},[1110],{"type":213,"value":1111},"export const config = {\n",{"type":208,"tag":758,"props":1113,"children":1114},{"class":760,"line":235},[1115],{"type":208,"tag":758,"props":1116,"children":1117},{"style":776},[1118],{"type":213,"value":1119},"  integrations: {\n",{"type":208,"tag":758,"props":1121,"children":1122},{"class":760,"line":873},[1123],{"type":208,"tag":758,"props":1124,"children":1125},{"style":798},[1126],{"type":213,"value":1127},"+   myIntegration: myIntegrationConfig,\n",{"type":208,"tag":758,"props":1129,"children":1130},{"class":760,"line":881},[1131],{"type":208,"tag":758,"props":1132,"children":1133},{"style":776},[1134],{"type":213,"value":1135},"  },\n",{"type":208,"tag":758,"props":1137,"children":1138},{"class":760,"line":962},[1139],{"type":208,"tag":758,"props":1140,"children":1141},{"style":782},[1142],{"type":213,"value":1143},"-};\n",{"type":208,"tag":758,"props":1145,"children":1146},{"class":760,"line":972},[1147],{"type":208,"tag":758,"props":1148,"children":1149},{"style":798},[1150],{"type":213,"value":1151},"+} satisfies MiddlewareConfig;\n",{"type":208,"tag":721,"props":1153,"children":1155},{"id":1154},"_3-export-sdk-module",[1156],{"type":213,"value":1157},"3. Export SDK Module",{"type":208,"tag":215,"props":1159,"children":1160},{},[1161,1163,1169],{"type":213,"value":1162},"To use the integration in your frontend, you need to reexport the SDK module. Add the following line to ",{"type":208,"tag":587,"props":1164,"children":1166},{"className":1165},[],[1167],{"type":213,"value":1168},"apps/storefront-unified-nextjs/sdk/modules/index.ts",{"type":213,"value":747},{"type":208,"tag":582,"props":1171,"children":1173},{"code":1172,"language":1075,"meta":6,"className":1076,"style":6},"export * from '@/sdk/modules/checkout';\nexport * from '@/sdk/modules/commerce';\nexport * from '@/sdk/modules/custom-extension';\n+ export * from '@/sdk/modules/my-integration';\nexport * from '@/sdk/modules/unified';\nexport * from '@/sdk/modules/unified-cms-mock';\n",[1174],{"type":208,"tag":587,"props":1175,"children":1176},{"__ignoreMap":6},[1177,1185,1193,1201,1209,1217],{"type":208,"tag":758,"props":1178,"children":1179},{"class":760,"line":761},[1180],{"type":208,"tag":758,"props":1181,"children":1182},{"style":776},[1183],{"type":213,"value":1184},"export * from '@/sdk/modules/checkout';\n",{"type":208,"tag":758,"props":1186,"children":1187},{"class":760,"line":236},[1188],{"type":208,"tag":758,"props":1189,"children":1190},{"style":776},[1191],{"type":213,"value":1192},"export * from '@/sdk/modules/commerce';\n",{"type":208,"tag":758,"props":1194,"children":1195},{"class":760,"line":817},[1196],{"type":208,"tag":758,"props":1197,"children":1198},{"style":776},[1199],{"type":213,"value":1200},"export * from '@/sdk/modules/custom-extension';\n",{"type":208,"tag":758,"props":1202,"children":1203},{"class":760,"line":842},[1204],{"type":208,"tag":758,"props":1205,"children":1206},{"style":798},[1207],{"type":213,"value":1208},"+ export * from '@/sdk/modules/my-integration';\n",{"type":208,"tag":758,"props":1210,"children":1211},{"class":760,"line":235},[1212],{"type":208,"tag":758,"props":1213,"children":1214},{"style":776},[1215],{"type":213,"value":1216},"export * from '@/sdk/modules/unified';\n",{"type":208,"tag":758,"props":1218,"children":1219},{"class":760,"line":873},[1220],{"type":208,"tag":758,"props":1221,"children":1222},{"style":776},[1223],{"type":213,"value":1224},"export * from '@/sdk/modules/unified-cms-mock';\n",{"type":208,"tag":570,"props":1226,"children":1228},{"id":1227},"running-tests",[1229],{"type":213,"value":1230},"Running Tests",{"type":208,"tag":215,"props":1232,"children":1233},{},[1234,1236,1243,1245,1251],{"type":213,"value":1235},"Tests use ",{"type":208,"tag":559,"props":1237,"children":1240},{"href":1238,"rel":1239},"https://vitest.dev/",[563],[1241],{"type":213,"value":1242},"Vitest",{"type":213,"value":1244}," which is already configured in the storefront-middleware via ",{"type":208,"tag":587,"props":1246,"children":1248},{"className":1247},[],[1249],{"type":213,"value":1250},"vitest.config.ts",{"type":213,"value":628},{"type":208,"tag":215,"props":1253,"children":1254},{},[1255],{"type":213,"value":1256},"Run all middleware tests (including this integration):",{"type":208,"tag":582,"props":1258,"children":1262},{"code":1259,"language":1260,"meta":6,"className":1261,"style":6},"cd apps/storefront-middleware\nyarn test\n","bash","language-bash shiki shiki-themes one-dark-pro",[1263],{"type":208,"tag":587,"props":1264,"children":1265},{"__ignoreMap":6},[1266,1279],{"type":208,"tag":758,"props":1267,"children":1268},{"class":760,"line":761},[1269,1274],{"type":208,"tag":758,"props":1270,"children":1271},{"style":900},[1272],{"type":213,"value":1273},"cd",{"type":208,"tag":758,"props":1275,"children":1276},{"style":798},[1277],{"type":213,"value":1278}," apps/storefront-middleware\n",{"type":208,"tag":758,"props":1280,"children":1281},{"class":760,"line":236},[1282,1287],{"type":208,"tag":758,"props":1283,"children":1284},{"style":894},[1285],{"type":213,"value":1286},"yarn",{"type":208,"tag":758,"props":1288,"children":1289},{"style":798},[1290],{"type":213,"value":1291}," test\n",{"type":208,"tag":215,"props":1293,"children":1294},{},[1295],{"type":213,"value":1296},"Run only this integration's tests:",{"type":208,"tag":582,"props":1298,"children":1300},{"code":1299,"language":1260,"meta":6,"className":1261,"style":6},"cd apps/storefront-middleware\nnpx vitest run integrations/my-integration\n",[1301],{"type":208,"tag":587,"props":1302,"children":1303},{"__ignoreMap":6},[1304,1315],{"type":208,"tag":758,"props":1305,"children":1306},{"class":760,"line":761},[1307,1311],{"type":208,"tag":758,"props":1308,"children":1309},{"style":900},[1310],{"type":213,"value":1273},{"type":208,"tag":758,"props":1312,"children":1313},{"style":798},[1314],{"type":213,"value":1278},{"type":208,"tag":758,"props":1316,"children":1317},{"class":760,"line":236},[1318,1323,1328,1333],{"type":208,"tag":758,"props":1319,"children":1320},{"style":894},[1321],{"type":213,"value":1322},"npx",{"type":208,"tag":758,"props":1324,"children":1325},{"style":798},[1326],{"type":213,"value":1327}," vitest",{"type":208,"tag":758,"props":1329,"children":1330},{"style":798},[1331],{"type":213,"value":1332}," run",{"type":208,"tag":758,"props":1334,"children":1335},{"style":798},[1336],{"type":213,"value":1337}," integrations/my-integration\n",{"type":208,"tag":215,"props":1339,"children":1340},{},[1341],{"type":213,"value":1342},"Test files should use explicit vitest imports (globals are disabled):",{"type":208,"tag":582,"props":1344,"children":1346},{"code":1345,"language":751,"meta":6,"className":752,"style":6},"import { describe, expect, it, vi } from 'vitest';\n",[1347],{"type":208,"tag":587,"props":1348,"children":1349},{"__ignoreMap":6},[1350],{"type":208,"tag":758,"props":1351,"children":1352},{"class":760,"line":761},[1353,1357,1361,1366,1370,1375,1379,1384,1388,1393,1397,1401,1406],{"type":208,"tag":758,"props":1354,"children":1355},{"style":765},[1356],{"type":213,"value":768},{"type":208,"tag":758,"props":1358,"children":1359},{"style":776},[1360],{"type":213,"value":779},{"type":208,"tag":758,"props":1362,"children":1363},{"style":782},[1364],{"type":213,"value":1365},"describe",{"type":208,"tag":758,"props":1367,"children":1368},{"style":776},[1369],{"type":213,"value":610},{"type":208,"tag":758,"props":1371,"children":1372},{"style":782},[1373],{"type":213,"value":1374},"expect",{"type":208,"tag":758,"props":1376,"children":1377},{"style":776},[1378],{"type":213,"value":610},{"type":208,"tag":758,"props":1380,"children":1381},{"style":782},[1382],{"type":213,"value":1383},"it",{"type":208,"tag":758,"props":1385,"children":1386},{"style":776},[1387],{"type":213,"value":610},{"type":208,"tag":758,"props":1389,"children":1390},{"style":782},[1391],{"type":213,"value":1392},"vi",{"type":208,"tag":758,"props":1394,"children":1395},{"style":776},[1396],{"type":213,"value":790},{"type":208,"tag":758,"props":1398,"children":1399},{"style":765},[1400],{"type":213,"value":795},{"type":208,"tag":758,"props":1402,"children":1403},{"style":798},[1404],{"type":213,"value":1405}," 'vitest'",{"type":208,"tag":758,"props":1407,"children":1408},{"style":776},[1409],{"type":213,"value":806},{"type":208,"tag":570,"props":1411,"children":1413},{"id":1412},"usage",[1414],{"type":213,"value":1415},"Usage",{"type":208,"tag":215,"props":1417,"children":1418},{},[1419],{"type":213,"value":1420},"Once registered, you can use the integration in your components:",{"type":208,"tag":582,"props":1422,"children":1424},{"code":1423,"language":751,"meta":6,"className":752,"style":6},"import { getSdk } from '@/sdk';\n\nexport default async function MyComponent() {\n  const sdk = await getSdk();\n\n  // Call your integration methods\n  const result = await sdk.myIntegration.exampleMethod({ id: '1' });\n\n  return (\n    \u003Cdiv>\n      {/* Your component JSX */}\n    \u003C/div>\n  );\n}\n",[1425],{"type":208,"tag":587,"props":1426,"children":1427},{"__ignoreMap":6},[1428,1461,1468,1499,1531,1538,1546,1612,1619,1631,1649,1666,1682,1690],{"type":208,"tag":758,"props":1429,"children":1430},{"class":760,"line":761},[1431,1435,1439,1444,1448,1452,1457],{"type":208,"tag":758,"props":1432,"children":1433},{"style":765},[1434],{"type":213,"value":768},{"type":208,"tag":758,"props":1436,"children":1437},{"style":776},[1438],{"type":213,"value":779},{"type":208,"tag":758,"props":1440,"children":1441},{"style":782},[1442],{"type":213,"value":1443},"getSdk",{"type":208,"tag":758,"props":1445,"children":1446},{"style":776},[1447],{"type":213,"value":790},{"type":208,"tag":758,"props":1449,"children":1450},{"style":765},[1451],{"type":213,"value":795},{"type":208,"tag":758,"props":1453,"children":1454},{"style":798},[1455],{"type":213,"value":1456}," '@/sdk'",{"type":208,"tag":758,"props":1458,"children":1459},{"style":776},[1460],{"type":213,"value":806},{"type":208,"tag":758,"props":1462,"children":1463},{"class":760,"line":236},[1464],{"type":208,"tag":758,"props":1465,"children":1466},{"emptyLinePlaceholder":8},[1467],{"type":213,"value":814},{"type":208,"tag":758,"props":1469,"children":1470},{"class":760,"line":817},[1471,1475,1480,1484,1489,1494],{"type":208,"tag":758,"props":1472,"children":1473},{"style":765},[1474],{"type":213,"value":823},{"type":208,"tag":758,"props":1476,"children":1477},{"style":765},[1478],{"type":213,"value":1479}," default",{"type":208,"tag":758,"props":1481,"children":1482},{"style":765},[1483],{"type":213,"value":908},{"type":208,"tag":758,"props":1485,"children":1486},{"style":765},[1487],{"type":213,"value":1488}," function",{"type":208,"tag":758,"props":1490,"children":1491},{"style":894},[1492],{"type":213,"value":1493}," MyComponent",{"type":208,"tag":758,"props":1495,"children":1496},{"style":776},[1497],{"type":213,"value":1498},"() {\n",{"type":208,"tag":758,"props":1500,"children":1501},{"class":760,"line":842},[1502,1507,1512,1516,1521,1526],{"type":208,"tag":758,"props":1503,"children":1504},{"style":765},[1505],{"type":213,"value":1506},"  const",{"type":208,"tag":758,"props":1508,"children":1509},{"style":831},[1510],{"type":213,"value":1511}," sdk",{"type":208,"tag":758,"props":1513,"children":1514},{"style":900},[1515],{"type":213,"value":903},{"type":208,"tag":758,"props":1517,"children":1518},{"style":765},[1519],{"type":213,"value":1520}," await",{"type":208,"tag":758,"props":1522,"children":1523},{"style":894},[1524],{"type":213,"value":1525}," getSdk",{"type":208,"tag":758,"props":1527,"children":1528},{"style":776},[1529],{"type":213,"value":1530},"();\n",{"type":208,"tag":758,"props":1532,"children":1533},{"class":760,"line":235},[1534],{"type":208,"tag":758,"props":1535,"children":1536},{"emptyLinePlaceholder":8},[1537],{"type":213,"value":814},{"type":208,"tag":758,"props":1539,"children":1540},{"class":760,"line":873},[1541],{"type":208,"tag":758,"props":1542,"children":1543},{"style":966},[1544],{"type":213,"value":1545},"  // Call your integration methods\n",{"type":208,"tag":758,"props":1547,"children":1548},{"class":760,"line":881},[1549,1553,1558,1562,1566,1570,1574,1579,1583,1588,1593,1598,1602,1607],{"type":208,"tag":758,"props":1550,"children":1551},{"style":765},[1552],{"type":213,"value":1506},{"type":208,"tag":758,"props":1554,"children":1555},{"style":831},[1556],{"type":213,"value":1557}," result",{"type":208,"tag":758,"props":1559,"children":1560},{"style":900},[1561],{"type":213,"value":903},{"type":208,"tag":758,"props":1563,"children":1564},{"style":765},[1565],{"type":213,"value":1520},{"type":208,"tag":758,"props":1567,"children":1568},{"style":831},[1569],{"type":213,"value":1511},{"type":208,"tag":758,"props":1571,"children":1572},{"style":776},[1573],{"type":213,"value":628},{"type":208,"tag":758,"props":1575,"children":1576},{"style":831},[1577],{"type":213,"value":1578},"myIntegration",{"type":208,"tag":758,"props":1580,"children":1581},{"style":776},[1582],{"type":213,"value":628},{"type":208,"tag":758,"props":1584,"children":1585},{"style":894},[1586],{"type":213,"value":1587},"exampleMethod",{"type":208,"tag":758,"props":1589,"children":1590},{"style":776},[1591],{"type":213,"value":1592},"({ ",{"type":208,"tag":758,"props":1594,"children":1595},{"style":782},[1596],{"type":213,"value":1597},"id",{"type":208,"tag":758,"props":1599,"children":1600},{"style":776},[1601],{"type":213,"value":853},{"type":208,"tag":758,"props":1603,"children":1604},{"style":798},[1605],{"type":213,"value":1606},"'1'",{"type":208,"tag":758,"props":1608,"children":1609},{"style":776},[1610],{"type":213,"value":1611}," });\n",{"type":208,"tag":758,"props":1613,"children":1614},{"class":760,"line":962},[1615],{"type":208,"tag":758,"props":1616,"children":1617},{"emptyLinePlaceholder":8},[1618],{"type":213,"value":814},{"type":208,"tag":758,"props":1620,"children":1621},{"class":760,"line":972},[1622,1626],{"type":208,"tag":758,"props":1623,"children":1624},{"style":765},[1625],{"type":213,"value":1021},{"type":208,"tag":758,"props":1627,"children":1628},{"style":776},[1629],{"type":213,"value":1630}," (\n",{"type":208,"tag":758,"props":1632,"children":1633},{"class":760,"line":981},[1634,1639,1644],{"type":208,"tag":758,"props":1635,"children":1636},{"style":776},[1637],{"type":213,"value":1638},"    \u003C",{"type":208,"tag":758,"props":1640,"children":1641},{"style":831},[1642],{"type":213,"value":1643},"div",{"type":208,"tag":758,"props":1645,"children":1646},{"style":776},[1647],{"type":213,"value":1648},">\n",{"type":208,"tag":758,"props":1650,"children":1651},{"class":760,"line":989},[1652,1657,1662],{"type":208,"tag":758,"props":1653,"children":1654},{"style":776},[1655],{"type":213,"value":1656},"      {",{"type":208,"tag":758,"props":1658,"children":1659},{"style":966},[1660],{"type":213,"value":1661},"/* Your component JSX */",{"type":208,"tag":758,"props":1663,"children":1664},{"style":776},[1665],{"type":213,"value":870},{"type":208,"tag":758,"props":1667,"children":1668},{"class":760,"line":998},[1669,1674,1678],{"type":208,"tag":758,"props":1670,"children":1671},{"style":900},[1672],{"type":213,"value":1673},"    \u003C/",{"type":208,"tag":758,"props":1675,"children":1676},{"style":782},[1677],{"type":213,"value":1643},{"type":208,"tag":758,"props":1679,"children":1680},{"style":900},[1681],{"type":213,"value":1648},{"type":208,"tag":758,"props":1683,"children":1684},{"class":760,"line":1007},[1685],{"type":208,"tag":758,"props":1686,"children":1687},{"style":776},[1688],{"type":213,"value":1689},"  );\n",{"type":208,"tag":758,"props":1691,"children":1692},{"class":760,"line":1015},[1693],{"type":208,"tag":758,"props":1694,"children":1695},{"style":776},[1696],{"type":213,"value":870},{"type":208,"tag":215,"props":1698,"children":1699},{},[1700],{"type":213,"value":1701},"For client-side usage:",{"type":208,"tag":582,"props":1703,"children":1705},{"code":1704,"language":751,"meta":6,"className":752,"style":6},"import { useSdk } from '@/sdk/alokai-context';\n\nexport default function MyClientComponent() {\n  const sdk = useSdk();\n\n  const handleClick = async () => {\n    const result = await sdk.myIntegration.exampleMethod({ id: '1' });\n    console.log(result);\n  };\n\n  return (\n    \u003Cbutton onClick={handleClick}>\n      Call Integration\n    \u003C/button>\n  );\n}\n",[1706],{"type":208,"tag":587,"props":1707,"children":1708},{"__ignoreMap":6},[1709,1742,1749,1773,1797,1804,1837,1897,1929,1937,1944,1955,1996,2009,2024,2031],{"type":208,"tag":758,"props":1710,"children":1711},{"class":760,"line":761},[1712,1716,1720,1725,1729,1733,1738],{"type":208,"tag":758,"props":1713,"children":1714},{"style":765},[1715],{"type":213,"value":768},{"type":208,"tag":758,"props":1717,"children":1718},{"style":776},[1719],{"type":213,"value":779},{"type":208,"tag":758,"props":1721,"children":1722},{"style":782},[1723],{"type":213,"value":1724},"useSdk",{"type":208,"tag":758,"props":1726,"children":1727},{"style":776},[1728],{"type":213,"value":790},{"type":208,"tag":758,"props":1730,"children":1731},{"style":765},[1732],{"type":213,"value":795},{"type":208,"tag":758,"props":1734,"children":1735},{"style":798},[1736],{"type":213,"value":1737}," '@/sdk/alokai-context'",{"type":208,"tag":758,"props":1739,"children":1740},{"style":776},[1741],{"type":213,"value":806},{"type":208,"tag":758,"props":1743,"children":1744},{"class":760,"line":236},[1745],{"type":208,"tag":758,"props":1746,"children":1747},{"emptyLinePlaceholder":8},[1748],{"type":213,"value":814},{"type":208,"tag":758,"props":1750,"children":1751},{"class":760,"line":817},[1752,1756,1760,1764,1769],{"type":208,"tag":758,"props":1753,"children":1754},{"style":765},[1755],{"type":213,"value":823},{"type":208,"tag":758,"props":1757,"children":1758},{"style":765},[1759],{"type":213,"value":1479},{"type":208,"tag":758,"props":1761,"children":1762},{"style":765},[1763],{"type":213,"value":1488},{"type":208,"tag":758,"props":1765,"children":1766},{"style":894},[1767],{"type":213,"value":1768}," MyClientComponent",{"type":208,"tag":758,"props":1770,"children":1771},{"style":776},[1772],{"type":213,"value":1498},{"type":208,"tag":758,"props":1774,"children":1775},{"class":760,"line":842},[1776,1780,1784,1788,1793],{"type":208,"tag":758,"props":1777,"children":1778},{"style":765},[1779],{"type":213,"value":1506},{"type":208,"tag":758,"props":1781,"children":1782},{"style":831},[1783],{"type":213,"value":1511},{"type":208,"tag":758,"props":1785,"children":1786},{"style":900},[1787],{"type":213,"value":903},{"type":208,"tag":758,"props":1789,"children":1790},{"style":894},[1791],{"type":213,"value":1792}," useSdk",{"type":208,"tag":758,"props":1794,"children":1795},{"style":776},[1796],{"type":213,"value":1530},{"type":208,"tag":758,"props":1798,"children":1799},{"class":760,"line":235},[1800],{"type":208,"tag":758,"props":1801,"children":1802},{"emptyLinePlaceholder":8},[1803],{"type":213,"value":814},{"type":208,"tag":758,"props":1805,"children":1806},{"class":760,"line":873},[1807,1811,1816,1820,1824,1829,1833],{"type":208,"tag":758,"props":1808,"children":1809},{"style":765},[1810],{"type":213,"value":1506},{"type":208,"tag":758,"props":1812,"children":1813},{"style":894},[1814],{"type":213,"value":1815}," handleClick",{"type":208,"tag":758,"props":1817,"children":1818},{"style":900},[1819],{"type":213,"value":903},{"type":208,"tag":758,"props":1821,"children":1822},{"style":765},[1823],{"type":213,"value":908},{"type":208,"tag":758,"props":1825,"children":1826},{"style":776},[1827],{"type":213,"value":1828}," () ",{"type":208,"tag":758,"props":1830,"children":1831},{"style":765},[1832],{"type":213,"value":955},{"type":208,"tag":758,"props":1834,"children":1835},{"style":776},[1836],{"type":213,"value":839},{"type":208,"tag":758,"props":1838,"children":1839},{"class":760,"line":881},[1840,1845,1849,1853,1857,1861,1865,1869,1873,1877,1881,1885,1889,1893],{"type":208,"tag":758,"props":1841,"children":1842},{"style":765},[1843],{"type":213,"value":1844},"    const",{"type":208,"tag":758,"props":1846,"children":1847},{"style":831},[1848],{"type":213,"value":1557},{"type":208,"tag":758,"props":1850,"children":1851},{"style":900},[1852],{"type":213,"value":903},{"type":208,"tag":758,"props":1854,"children":1855},{"style":765},[1856],{"type":213,"value":1520},{"type":208,"tag":758,"props":1858,"children":1859},{"style":831},[1860],{"type":213,"value":1511},{"type":208,"tag":758,"props":1862,"children":1863},{"style":776},[1864],{"type":213,"value":628},{"type":208,"tag":758,"props":1866,"children":1867},{"style":831},[1868],{"type":213,"value":1578},{"type":208,"tag":758,"props":1870,"children":1871},{"style":776},[1872],{"type":213,"value":628},{"type":208,"tag":758,"props":1874,"children":1875},{"style":894},[1876],{"type":213,"value":1587},{"type":208,"tag":758,"props":1878,"children":1879},{"style":776},[1880],{"type":213,"value":1592},{"type":208,"tag":758,"props":1882,"children":1883},{"style":782},[1884],{"type":213,"value":1597},{"type":208,"tag":758,"props":1886,"children":1887},{"style":776},[1888],{"type":213,"value":853},{"type":208,"tag":758,"props":1890,"children":1891},{"style":798},[1892],{"type":213,"value":1606},{"type":208,"tag":758,"props":1894,"children":1895},{"style":776},[1896],{"type":213,"value":1611},{"type":208,"tag":758,"props":1898,"children":1899},{"class":760,"line":962},[1900,1905,1909,1914,1919,1924],{"type":208,"tag":758,"props":1901,"children":1902},{"style":831},[1903],{"type":213,"value":1904},"    console",{"type":208,"tag":758,"props":1906,"children":1907},{"style":776},[1908],{"type":213,"value":628},{"type":208,"tag":758,"props":1910,"children":1911},{"style":894},[1912],{"type":213,"value":1913},"log",{"type":208,"tag":758,"props":1915,"children":1916},{"style":776},[1917],{"type":213,"value":1918},"(",{"type":208,"tag":758,"props":1920,"children":1921},{"style":782},[1922],{"type":213,"value":1923},"result",{"type":208,"tag":758,"props":1925,"children":1926},{"style":776},[1927],{"type":213,"value":1928},");\n",{"type":208,"tag":758,"props":1930,"children":1931},{"class":760,"line":972},[1932],{"type":208,"tag":758,"props":1933,"children":1934},{"style":776},[1935],{"type":213,"value":1936},"  };\n",{"type":208,"tag":758,"props":1938,"children":1939},{"class":760,"line":981},[1940],{"type":208,"tag":758,"props":1941,"children":1942},{"emptyLinePlaceholder":8},[1943],{"type":213,"value":814},{"type":208,"tag":758,"props":1945,"children":1946},{"class":760,"line":989},[1947,1951],{"type":208,"tag":758,"props":1948,"children":1949},{"style":765},[1950],{"type":213,"value":1021},{"type":208,"tag":758,"props":1952,"children":1953},{"style":776},[1954],{"type":213,"value":1630},{"type":208,"tag":758,"props":1956,"children":1957},{"class":760,"line":998},[1958,1962,1967,1972,1977,1982,1987,1992],{"type":208,"tag":758,"props":1959,"children":1960},{"style":900},[1961],{"type":213,"value":1638},{"type":208,"tag":758,"props":1963,"children":1964},{"style":782},[1965],{"type":213,"value":1966},"button",{"type":208,"tag":758,"props":1968,"children":1969},{"style":782},[1970],{"type":213,"value":1971}," onClick",{"type":208,"tag":758,"props":1973,"children":1974},{"style":900},[1975],{"type":213,"value":1976},"=",{"type":208,"tag":758,"props":1978,"children":1979},{"style":776},[1980],{"type":213,"value":1981},"{",{"type":208,"tag":758,"props":1983,"children":1984},{"style":782},[1985],{"type":213,"value":1986},"handleClick",{"type":208,"tag":758,"props":1988,"children":1989},{"style":776},[1990],{"type":213,"value":1991},"}",{"type":208,"tag":758,"props":1993,"children":1994},{"style":900},[1995],{"type":213,"value":1648},{"type":208,"tag":758,"props":1997,"children":1998},{"class":760,"line":1007},[1999,2004],{"type":208,"tag":758,"props":2000,"children":2001},{"style":782},[2002],{"type":213,"value":2003},"      Call",{"type":208,"tag":758,"props":2005,"children":2006},{"style":916},[2007],{"type":213,"value":2008}," Integration\n",{"type":208,"tag":758,"props":2010,"children":2011},{"class":760,"line":1015},[2012,2016,2020],{"type":208,"tag":758,"props":2013,"children":2014},{"style":900},[2015],{"type":213,"value":1673},{"type":208,"tag":758,"props":2017,"children":2018},{"style":782},[2019],{"type":213,"value":1966},{"type":208,"tag":758,"props":2021,"children":2022},{"style":900},[2023],{"type":213,"value":1648},{"type":208,"tag":758,"props":2025,"children":2026},{"class":760,"line":1047},[2027],{"type":208,"tag":758,"props":2028,"children":2029},{"style":776},[2030],{"type":213,"value":1689},{"type":208,"tag":758,"props":2032,"children":2034},{"class":760,"line":2033},16,[2035],{"type":208,"tag":758,"props":2036,"children":2037},{"style":776},[2038],{"type":213,"value":870},{"type":208,"tag":2040,"props":2041,"children":2042},"style",{},[2043],{"type":213,"value":2044},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":6,"searchDepth":235,"depth":236,"links":2046},[2047],{"id":549,"depth":236,"text":552,"children":2048},[2049,2050,2051,2052,2053,2054],{"id":572,"depth":817,"text":575},{"id":593,"depth":817,"text":596},{"id":687,"depth":817,"text":690},{"id":716,"depth":817,"text":719},{"id":1227,"depth":817,"text":1230},{"id":1412,"depth":817,"text":1415},"integrations:integrations:_partials:rest-api.md","integrations/_partials/rest-api.md","integrations/_partials/rest-api",{"nav":2059,"sidebarRoot":2061},[2060],{"title":247,"sidebarRoot":8,"_path":2061,"icon":249,"children":2062},"/integrations",[2063,2065,2071],{"title":2064,"_path":2061},"All Integrations",{"title":2066,"children":2067},"Guide",[2068],{"title":2069,"_path":2070},"What is an Integration?","/integrations/guide/what-is-an-integration",{"title":2072,"children":2073},"Custom Integrations",[2074,2077,2080],{"title":2075,"_path":2076},"Creating a Custom Integration","/integrations/custom/quick-start",{"title":2078,"_path":2079},"Unifying the Integration","/integrations/custom/unified",{"title":2081,"_path":2082},"Creating CMS Schemas","/integrations/custom/create-cms-schemas",[2084,2097,2108,2121,2130,2141,2150],{"_path":2085,"_dir":320,"_draft":7,"_partial":8,"_locale":6,"versions":2086,"_id":2093,"_type":13,"title":2094,"_source":320,"_file":2095,"_stem":2096,"_extension":18},"/integrations/commercetools/_versions",[2087,2090],{"title":2088,"path":2089,"latest":8},"current","/",{"title":2091,"path":2092},"SDK v2","/v2","commercetools:integrations:commercetools:_versions.yml","Versions","integrations/commercetools/_versions.yml","integrations/commercetools/_versions",{"_path":2098,"_dir":379,"_draft":7,"_partial":8,"_locale":6,"versions":2099,"_id":2105,"_type":13,"title":2094,"_source":379,"_file":2106,"_stem":2107,"_extension":18},"/integrations/sapcc/_versions",[2100,2102],{"title":2101,"path":2089,"latest":8},"v8.x",{"title":2103,"path":2104},"v7.x and earlier","/v7","sapcc:integrations:sapcc:_versions.yml","integrations/sapcc/_versions.yml","integrations/sapcc/_versions",{"_path":2109,"_dir":431,"_draft":7,"_partial":8,"_locale":6,"versions":2110,"_id":2118,"_type":13,"title":2094,"_source":431,"_file":2119,"_stem":2120,"_extension":18},"/middleware/_versions",[2111,2113,2116],{"title":2112,"path":2089,"latest":8},"connect v2",{"title":2114,"path":2115},"connect v1","/v1",{"title":454,"path":2117},"/legacy","middleware:middleware:_versions.yml","middleware/_versions.yml","middleware/_versions",{"_path":2122,"_dir":446,"_draft":7,"_partial":8,"_locale":6,"versions":2123,"_id":2127,"_type":13,"title":2094,"_source":446,"_file":2128,"_stem":2129,"_extension":18},"/sdk/_versions",[2124,2125,2126],{"title":2112,"path":2089,"latest":8},{"title":2114,"path":2115},{"title":454,"path":2117},"sdk:sdk:_versions.yml","sdk/_versions.yml","sdk/_versions",{"_path":2131,"_dir":467,"_draft":7,"_partial":8,"_locale":6,"versions":2132,"_id":2138,"_type":13,"title":2094,"_source":467,"_file":2139,"_stem":2140,"_extension":18},"/storefront/_versions",[2133,2134,2136],{"title":39,"path":2089,"latest":8},{"title":513,"path":2135},"/v0.1",{"title":520,"path":2137},"/v0.2","storefront:storefront:_versions.yml","storefront/_versions.yml","storefront/_versions",{"_path":2142,"_dir":475,"_draft":7,"_partial":8,"_locale":6,"versions":2143,"_id":2147,"_type":13,"title":2094,"_source":475,"_file":2148,"_stem":2149,"_extension":18},"/storefront/modules/_versions",[2144,2145],{"title":39,"path":2089,"latest":8},{"title":500,"path":2146},"/v0","modules:storefront:modules:_versions.yml","storefront/modules/_versions.yml","storefront/modules/_versions",{"_path":2151,"_dir":527,"_draft":7,"_partial":8,"_locale":6,"versions":2152,"_id":2155,"_type":13,"title":2094,"_source":531,"_file":2156,"_stem":2157,"_extension":18},"/unified-data-layer/_versions",[2153,2154],{"title":2112,"path":2089,"latest":8},{"title":2114,"path":2115},"unified:unified-data-layer:_versions.yml","unified-data-layer/_versions.yml","unified-data-layer/_versions",1782903418541]