[{"data":1,"prerenderedAt":1602},["ShallowReactive",2],{"navigation_docs":3,"docs-site-config":269,"-docs-events-getting-started-event-reference":397,"-docs-events-getting-started-event-reference-surround":1597},[4,74,78,100,134,214],{"title":5,"path":6,"stem":7,"children":8},"Assets API","\u002Fdocs\u002Fassets","docs\u002Fassets\u002Findex",[9,10,32,57],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13,"children":14,"page":31},"Getting Started","\u002Fdocs\u002Fassets\u002Fgetting-started","docs\u002Fassets\u002F1.getting-started",[15,19,23,27],{"title":16,"path":17,"stem":18},"Base URL","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fbase-url","docs\u002Fassets\u002F1.getting-started\u002F1.base-url",{"title":20,"path":21,"stem":22},"Important Notes","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fimportant-notes","docs\u002Fassets\u002F1.getting-started\u002F2.important-notes",{"title":24,"path":25,"stem":26},"URL Format","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Furl-format","docs\u002Fassets\u002F1.getting-started\u002F3.url-format",{"title":28,"path":29,"stem":30},"Custom Domains","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fcustom-domains","docs\u002Fassets\u002F1.getting-started\u002F4.custom-domains",false,{"title":33,"path":34,"stem":35,"children":36,"page":31},"Usage","\u002Fdocs\u002Fassets\u002Fusage","docs\u002Fassets\u002F2.usage",[37,41,45,49,53],{"title":38,"path":39,"stem":40},"Transforms","\u002Fdocs\u002Fassets\u002Fusage\u002Ftransforms","docs\u002Fassets\u002F2.usage\u002F1.transforms",{"title":42,"path":43,"stem":44},"Caching","\u002Fdocs\u002Fassets\u002Fusage\u002Fcaching","docs\u002Fassets\u002F2.usage\u002F2.caching",{"title":46,"path":47,"stem":48},"Recipes","\u002Fdocs\u002Fassets\u002Fusage\u002Frecipes","docs\u002Fassets\u002F2.usage\u002F3.recipes",{"title":50,"path":51,"stem":52},"Best Practices","\u002Fdocs\u002Fassets\u002Fusage\u002Fbest-practices","docs\u002Fassets\u002F2.usage\u002F4.best-practices",{"title":54,"path":55,"stem":56},"Reference","\u002Fdocs\u002Fassets\u002Fusage\u002Freference","docs\u002Fassets\u002F2.usage\u002F5.reference",{"title":58,"path":59,"stem":60,"children":61,"page":31},"Integration","\u002Fdocs\u002Fassets\u002Fintegration","docs\u002Fassets\u002F3.integration",[62,66,70],{"title":63,"path":64,"stem":65},"Nuxt","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnuxt","docs\u002Fassets\u002F3.integration\u002F1.nuxt",{"title":67,"path":68,"stem":69},"Next.js","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnextjs","docs\u002Fassets\u002F3.integration\u002F2.nextjs",{"title":71,"path":72,"stem":73},"Plain HTML","\u002Fdocs\u002Fassets\u002Fintegration\u002Fhtml","docs\u002Fassets\u002F3.integration\u002F3.html",{"title":75,"path":76,"stem":77},"Early Access","\u002Fdocs\u002Fearly-access","docs\u002Fearly-access",{"title":79,"path":80,"stem":81,"children":82},"Events API","\u002Fdocs\u002Fevents","docs\u002Fevents\u002Findex",[83,84],{"title":79,"path":80,"stem":81},{"title":11,"path":85,"stem":86,"children":87,"page":31},"\u002Fdocs\u002Fevents\u002Fgetting-started","docs\u002Fevents\u002F1.getting-started",[88,92,96],{"title":89,"path":90,"stem":91},"Subscribing","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fsubscribing","docs\u002Fevents\u002F1.getting-started\u002F1.subscribing",{"title":93,"path":94,"stem":95},"Event Delivery","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-delivery","docs\u002Fevents\u002F1.getting-started\u002F2.event-delivery",{"title":97,"path":98,"stem":99},"Event Reference","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-reference","docs\u002Fevents\u002F1.getting-started\u002F3.event-reference",{"title":101,"path":102,"stem":103,"children":104},"Integrations API","\u002Fdocs\u002Fintegrations","docs\u002Fintegrations\u002Findex",[105,106],{"title":101,"path":102,"stem":103},{"title":11,"path":107,"stem":108,"children":109,"page":31},"\u002Fdocs\u002Fintegrations\u002Fgetting-started","docs\u002Fintegrations\u002F1.getting-started",[110,114,118,122,126,130],{"title":111,"path":112,"stem":113},"Why Use It?","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwhy-integrations-api","docs\u002Fintegrations\u002F1.getting-started\u002F1.why-integrations-api",{"title":115,"path":116,"stem":117},"Use Cases","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwho-is-it-for","docs\u002Fintegrations\u002F1.getting-started\u002F2.who-is-it-for",{"title":119,"path":120,"stem":121},"Pre-built Connectors","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fpre-built-integrations","docs\u002Fintegrations\u002F1.getting-started\u002F3.pre-built-integrations",{"title":123,"path":124,"stem":125},"Custom Inbound","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fcustom-inbound-api","docs\u002Fintegrations\u002F1.getting-started\u002F4.custom-inbound-api",{"title":127,"path":128,"stem":129},"Event Lifecycle","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fevent-lifecycle","docs\u002Fintegrations\u002F1.getting-started\u002F5.event-lifecycle",{"title":131,"path":132,"stem":133},"API Endpoints","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fmanagement-api-endpoints","docs\u002Fintegrations\u002F1.getting-started\u002F6.management-api-endpoints",{"title":135,"path":136,"stem":137,"children":138,"redirect":140},"MCP Server","\u002Fdocs\u002Fmcp","docs\u002Fmcp\u002Findex",[139,141,160,173,183],{"title":135,"path":136,"stem":137,"redirect":140},"\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fvscode",{"title":11,"path":142,"stem":143,"children":144,"page":31},"\u002Fdocs\u002Fmcp\u002Fgetting-started","docs\u002Fmcp\u002F1.getting-started",[145,148,152,156],{"title":146,"path":140,"stem":147},"VS Code","docs\u002Fmcp\u002F1.getting-started\u002F1.vscode",{"title":149,"path":150,"stem":151},"Claude Desktop","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fclaude-desktop","docs\u002Fmcp\u002F1.getting-started\u002F2.claude-desktop",{"title":153,"path":154,"stem":155},"Cursor","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fcursor","docs\u002Fmcp\u002F1.getting-started\u002F3.cursor",{"title":157,"path":158,"stem":159},"Verify Connection","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fverify","docs\u002Fmcp\u002F1.getting-started\u002F4.verify",{"title":161,"path":162,"stem":163,"children":164,"page":31},"Tools","\u002Fdocs\u002Fmcp\u002Ftools","docs\u002Fmcp\u002F2.tools",[165,169],{"title":166,"path":167,"stem":168},"search","\u002Fdocs\u002Fmcp\u002Ftools\u002Fsearch-docs","docs\u002Fmcp\u002F2.tools\u002F5.search-docs",{"title":170,"path":171,"stem":172},"list_articles","\u002Fdocs\u002Fmcp\u002Ftools\u002Fget-description","docs\u002Fmcp\u002F2.tools\u002F7.get-description",{"title":174,"path":175,"stem":176,"children":177},"API Server","\u002Fdocs\u002Fmcp\u002Fapi-server","docs\u002Fmcp\u002F3.api-server\u002Findex",[178,179],{"title":174,"path":175,"stem":176},{"title":180,"path":181,"stem":182},"Available Tools","\u002Fdocs\u002Fmcp\u002Fapi-server\u002Ftools","docs\u002Fmcp\u002F3.api-server\u002F1.tools",{"title":184,"path":185,"stem":186,"children":187,"page":31},"Examples","\u002Fdocs\u002Fmcp\u002Fexamples","docs\u002Fmcp\u002F4.examples",[188,192,196,200,204,208,212],{"title":189,"path":190,"stem":191},"Exploring an API","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fexploring-an-api","docs\u002Fmcp\u002F4.examples\u002F1.exploring-an-api",{"title":193,"path":194,"stem":195},"Building a Feature","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fbuilding-a-feature","docs\u002Fmcp\u002F4.examples\u002F2.building-a-feature",{"title":197,"path":198,"stem":199},"Understanding Models","\u002Fdocs\u002Fmcp\u002Fexamples\u002Funderstanding-models","docs\u002Fmcp\u002F4.examples\u002F3.understanding-models",{"title":201,"path":202,"stem":203},"Code Review","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fcode-review","docs\u002Fmcp\u002F4.examples\u002F4.code-review",{"title":205,"path":206,"stem":207},"Combining MCP Servers","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fmulti-mcp","docs\u002Fmcp\u002F4.examples\u002F5.multi-mcp",{"title":209,"path":210,"stem":211},"Tips","\u002Fdocs\u002Fmcp\u002Fexamples\u002Ftips","docs\u002Fmcp\u002F4.examples\u002F5.tips",{"title":209,"path":210,"stem":213},"docs\u002Fmcp\u002F4.examples\u002F6.tips",{"title":215,"path":216,"stem":217,"children":218,"page":31},"Storefront Sdk","\u002Fdocs\u002Fstorefront-sdk","docs\u002Fstorefront-sdk",[219,231,256],{"title":11,"path":220,"stem":221,"children":222,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started","docs\u002Fstorefront-sdk\u002F1.getting-started",[223,227],{"title":224,"path":225,"stem":226},"Installation","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Finstallation","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F1.installation",{"title":228,"path":229,"stem":230},"Configuration","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Fconfiguration","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F2.configuration",{"title":232,"path":233,"stem":234,"children":235,"page":31},"Resources","\u002Fdocs\u002Fstorefront-sdk\u002Fresources","docs\u002Fstorefront-sdk\u002F2.resources",[236,240,244,248,252],{"title":237,"path":238,"stem":239},"Products","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fproducts","docs\u002Fstorefront-sdk\u002F2.resources\u002F1.products",{"title":241,"path":242,"stem":243},"Cart","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcart","docs\u002Fstorefront-sdk\u002F2.resources\u002F2.cart",{"title":245,"path":246,"stem":247},"Auth","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fauth","docs\u002Fstorefront-sdk\u002F2.resources\u002F3.auth",{"title":249,"path":250,"stem":251},"Checkout & Shipping","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcheckout-shipping","docs\u002Fstorefront-sdk\u002F2.resources\u002F4.checkout-shipping",{"title":253,"path":254,"stem":255},"Orders, Returns & Reviews","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Forders-returns-reviews","docs\u002Fstorefront-sdk\u002F2.resources\u002F5.orders-returns-reviews",{"title":257,"path":258,"stem":259,"children":260,"page":31},"Nuxt Layer","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer","docs\u002Fstorefront-sdk\u002F3.nuxt-layer",[261,265],{"title":262,"path":263,"stem":264},"Overview","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Foverview","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F1.overview",{"title":266,"path":267,"stem":268},"Composables","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Fcomposables","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F2.composables",{"_uid":270,"component":271,"mega_menu":272},"ba7c13ba-e184-4f43-b10c-3ec3364eedb7","docsite_config",[273,332,377],{"_uid":274,"items":275,"label":329,"component":330,"panel_layout":331},"dfbeb399-33e6-48a4-995c-03754a63ea51",[276,288,294,301,308,314,319,324],{"to":277,"_uid":281,"icon":282,"label":283,"figure":284,"header":285,"component":286,"description":287},{"url":278,"linktype":279,"fieldtype":280,"cached_url":278},"\u002Fstorefront\u002Freference","url","multilink","7b65f0d2-45ed-4fd9-97cb-36e2adeb6ccb","i-lucide-shopping-cart","Storefront API","","Commerce","mega_item","Headless storefronts: catalog, cart, checkout",{"to":289,"_uid":290,"icon":291,"label":292,"figure":284,"header":285,"component":286,"description":293},{"url":216,"linktype":279,"fieldtype":280,"cached_url":216},"52070748-f27f-4067-a6a6-2456c34c8725","i-lucide-package","Storefront SDK","Typed client and Nuxt layer",{"to":295,"_uid":297,"icon":298,"label":299,"figure":284,"header":285,"component":286,"description":300},{"url":296,"linktype":279,"fieldtype":280,"cached_url":296},"\u002Fmanagement\u002Freference","228d563d-22c9-4f1b-8a5f-ac7b7d985b83","i-lucide-settings","Management API","Back-office integrations",{"to":302,"_uid":304,"icon":305,"label":306,"figure":284,"header":285,"component":286,"description":307},{"url":303,"linktype":279,"fieldtype":280,"cached_url":303},"\u002Fcatalog-sync\u002Freference","d7c58029-f0fd-4460-ab8f-ccb9d6fe6837","i-lucide-refresh-cw","Catalog Sync API","Bulk product and stock sync",{"to":309,"_uid":310,"icon":311,"label":5,"figure":284,"header":312,"component":286,"description":313},{"url":6,"linktype":279,"fieldtype":280,"cached_url":6},"1df97900-c66c-4afa-8e46-233625a74d25","i-lucide-image","Platform","Image CDN and transforms",{"to":315,"_uid":316,"icon":317,"label":79,"figure":284,"header":312,"component":286,"description":318},{"url":80,"linktype":279,"fieldtype":280,"cached_url":80},"d49f1c7d-4d48-4dc0-aa66-e2389d34d9e7","i-lucide-radio","Webhooks and event delivery",{"to":320,"_uid":321,"icon":322,"label":101,"figure":284,"header":312,"component":286,"description":323},{"url":102,"linktype":279,"fieldtype":280,"cached_url":102},"ebd16965-32df-44ed-8a1a-7f86d38652be","i-lucide-plug","Connect ERPs, carriers and PSPs",{"to":325,"_uid":326,"icon":327,"label":135,"figure":284,"header":312,"component":286,"description":328},{"url":136,"linktype":279,"fieldtype":280,"cached_url":136},"b0364d6f-c703-47a5-9c85-4a95790c8daa","i-lucide-bot","Avvyr in Claude, Cursor and VS Code","APIs","mega_group","ProductFeatures",{"_uid":333,"items":334,"label":376,"component":330,"panel_layout":331},"b10ed186-1293-4c37-9c84-d7dc33ea5348",[335,341,346,351,356,361,366,371],{"to":336,"_uid":337,"icon":338,"label":339,"figure":284,"header":340,"component":286},{"url":225,"linktype":279,"fieldtype":280,"cached_url":225},"5897c0b1-4b02-4dda-83a2-e2f1bc10de0e","i-lucide-download","SDK installation","Get started",{"to":342,"_uid":343,"icon":344,"label":345,"figure":284,"header":340,"component":286},{"url":258,"linktype":279,"fieldtype":280,"cached_url":258},"97b502e6-6329-43f1-a7f0-20a87d8ddb61","i-lucide-layers","Nuxt layer",{"to":347,"_uid":348,"icon":349,"label":350,"figure":284,"header":340,"component":286},{"url":90,"linktype":279,"fieldtype":280,"cached_url":90},"cfd226ed-05c2-4d54-83be-84e2ef4f53c0","i-lucide-bell","Subscribing to events",{"to":352,"_uid":353,"icon":354,"label":355,"figure":284,"header":340,"component":286},{"url":140,"linktype":279,"fieldtype":280,"cached_url":140},"a615a2dd-e0a8-47a8-8449-2ef6c21d7dcc","i-lucide-terminal","Connect the MCP server",{"to":357,"_uid":358,"icon":359,"label":360,"figure":284,"header":46,"component":286},{"url":39,"linktype":279,"fieldtype":280,"cached_url":39},"7dd7e47a-0657-43f6-9d5d-5cb25815bec5","i-lucide-crop","Image transforms",{"to":362,"_uid":363,"icon":364,"label":365,"figure":284,"header":46,"component":286},{"url":64,"linktype":279,"fieldtype":280,"cached_url":64},"7c4dd27d-7700-4893-8d76-6f2876b7cbac","i-lucide-code","Assets in Nuxt",{"to":367,"_uid":368,"icon":369,"label":370,"figure":284,"header":46,"component":286},{"url":194,"linktype":279,"fieldtype":280,"cached_url":194},"7834ff9b-a62d-4795-a5a3-265bccaeb697","i-lucide-wand-sparkles","Building a feature with MCP",{"to":372,"_uid":373,"icon":374,"label":375,"figure":284,"header":46,"component":286},{"url":76,"linktype":279,"fieldtype":280,"cached_url":76},"b967bbe2-23ff-4e64-836c-8b6054c27f9f","i-lucide-flask-conical","Early access","Guides",{"_uid":378,"items":379,"label":395,"component":330,"panel_layout":396},"79bc9cd1-4246-4178-a99d-3c0b333b295c",[380,388],{"to":381,"_uid":383,"icon":384,"label":385,"figure":284,"header":386,"component":286,"description":387},{"url":382,"linktype":279,"fieldtype":280,"cached_url":382},"https:\u002F\u002Fhelp.avvyr.com","e429b5df-877d-4eef-9e96-61c4aca3454a","i-lucide-life-buoy","Help Center","Using Avvyr","Guides for merchants and staff",{"to":389,"_uid":391,"icon":392,"label":393,"figure":284,"header":386,"component":286,"description":394},{"url":390,"linktype":279,"fieldtype":280,"cached_url":390},"https:\u002F\u002Favvyr.com\u002Fen","2685f915-3472-4ee5-828c-d1375dbe79ca","i-lucide-globe","avvyr.com","Product, pricing and partners","Help","Links",{"id":398,"title":97,"body":399,"description":1590,"extension":1591,"links":1592,"meta":1593,"navigation":1594,"path":98,"seo":1595,"stem":99,"__hash__":1596},"docs\u002Fdocs\u002Fevents\u002F1.getting-started\u002F3.event-reference.md",{"type":400,"value":401,"toc":1576},"minimark",[402,406,410,415,476,479,561,568,892,897,1120,1139,1142,1184,1188,1230,1234,1276,1280,1322,1326,1329,1478,1561,1572],[403,404,97],"h1",{"id":405},"event-reference",[407,408,409],"p",{},"This page lists every event type you can subscribe to via the Events API.",[411,412,414],"h2",{"id":413},"orders","Orders",[416,417,418,431],"table",{},[419,420,421],"thead",{},[422,423,424,428],"tr",{},[425,426,427],"th",{},"Event",[425,429,430],{},"Description",[432,433,434,446,456,466],"tbody",{},[422,435,436,443],{},[437,438,439],"td",{},[440,441,442],"code",{},"orderCreated",[437,444,445],{},"A new order has been created. Includes the full order document with line items, customer, totals, and payment info.",[422,447,448,453],{},[437,449,450],{},[440,451,452],{},"orderUpdated",[437,454,455],{},"An order has been modified — status change, line item update, shipping info added, etc.",[422,457,458,463],{},[437,459,460],{},[440,461,462],{},"orderDeleted",[437,464,465],{},"An order has been deleted. The payload includes the order ID and basic metadata.",[422,467,468,473],{},[437,469,470],{},[440,471,472],{},"orderReadyForPickup",[437,474,475],{},"An order has been marked as ready for customer pickup at a physical location.",[411,477,241],{"id":478},"cart",[416,480,481,489],{},[419,482,483],{},[422,484,485,487],{},[425,486,427],{},[425,488,430],{},[432,490,491,501,511,521,531,551],{},[422,492,493,498],{},[437,494,495],{},[440,496,497],{},"cartCreated",[437,499,500],{},"A new shopping cart has been created.",[422,502,503,508],{},[437,504,505],{},[440,506,507],{},"cartUpdated",[437,509,510],{},"A cart has been modified — items added\u002Fremoved, customer set, shipping method changed, discount applied, etc.",[422,512,513,518],{},[437,514,515],{},[440,516,517],{},"cartDeleted",[437,519,520],{},"A cart has been deleted (expired or manually removed).",[422,522,523,528],{},[437,524,525],{},[440,526,527],{},"cartFullyPaid",[437,529,530],{},"A cart has been fully paid and is ready for order completion.",[422,532,533,538],{},[437,534,535],{},[440,536,537],{},"cart.shared",[437,539,540,541,544,545,550],{},"A POS cart has been shared to a customer's device. The cart status becomes ",[440,542,543],{},"\"shared\""," and is released from the POS register. See ",[546,547,549],"a",{"href":548},"\u002Fdocs\u002Fpos-storefront\u002Fguides\u002Fcart-sharing","Cart Sharing Guide",".",[422,552,553,558],{},[437,554,555],{},[440,556,557],{},"cart.abandoned",[437,559,560],{},"A storefront cart has been inactive past the configured threshold (e.g. 1 hour). Triggers recovery email or SMS delivery via the configured integration worker.",[562,563,565,567],"h3",{"id":564},"cartshared-payload",[440,566,537],{}," payload",[569,570,574],"pre",{"className":571,"code":572,"language":573,"meta":284,"style":284},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"cartId\": \"682a1f3c9b4e2d001a8c7f12\",\n  \"marketId\": \"se\",\n  \"recipient\": {\n    \"email\": \"anna@example.com\",\n    \"phone\": null,\n    \"name\": \"Anna Andersson\"\n  },\n  \"deliveryMethod\": \"email\",\n  \"cart\": {\n    \"totalAmountIncVat\": 1299.00,\n    \"currencyCode\": \"SEK\",\n    \"lineItemCount\": 3,\n    \"status\": \"shared\"\n  },\n  \"metadata\": {\n    \"source\": \"pos\",\n    \"sharedAt\": \"2025-01-15T10:34:22.000Z\"\n  }\n}\n","json",[440,575,576,585,613,634,649,672,687,707,713,733,746,764,785,802,821,826,840,861,880,886],{"__ignoreMap":284},[577,578,581],"span",{"class":579,"line":580},"line",1,[577,582,584],{"class":583},"sMK4o","{\n",[577,586,588,591,595,598,601,604,608,610],{"class":579,"line":587},2,[577,589,590],{"class":583},"  \"",[577,592,594],{"class":593},"spNyl","cartId",[577,596,597],{"class":583},"\"",[577,599,600],{"class":583},":",[577,602,603],{"class":583}," \"",[577,605,607],{"class":606},"sfazB","682a1f3c9b4e2d001a8c7f12",[577,609,597],{"class":583},[577,611,612],{"class":583},",\n",[577,614,616,618,621,623,625,627,630,632],{"class":579,"line":615},3,[577,617,590],{"class":583},[577,619,620],{"class":593},"marketId",[577,622,597],{"class":583},[577,624,600],{"class":583},[577,626,603],{"class":583},[577,628,629],{"class":606},"se",[577,631,597],{"class":583},[577,633,612],{"class":583},[577,635,637,639,642,644,646],{"class":579,"line":636},4,[577,638,590],{"class":583},[577,640,641],{"class":593},"recipient",[577,643,597],{"class":583},[577,645,600],{"class":583},[577,647,648],{"class":583}," {\n",[577,650,652,655,659,661,663,665,668,670],{"class":579,"line":651},5,[577,653,654],{"class":583},"    \"",[577,656,658],{"class":657},"sBMFI","email",[577,660,597],{"class":583},[577,662,600],{"class":583},[577,664,603],{"class":583},[577,666,667],{"class":606},"anna@example.com",[577,669,597],{"class":583},[577,671,612],{"class":583},[577,673,675,677,680,682,684],{"class":579,"line":674},6,[577,676,654],{"class":583},[577,678,679],{"class":657},"phone",[577,681,597],{"class":583},[577,683,600],{"class":583},[577,685,686],{"class":583}," null,\n",[577,688,690,692,695,697,699,701,704],{"class":579,"line":689},7,[577,691,654],{"class":583},[577,693,694],{"class":657},"name",[577,696,597],{"class":583},[577,698,600],{"class":583},[577,700,603],{"class":583},[577,702,703],{"class":606},"Anna Andersson",[577,705,706],{"class":583},"\"\n",[577,708,710],{"class":579,"line":709},8,[577,711,712],{"class":583},"  },\n",[577,714,716,718,721,723,725,727,729,731],{"class":579,"line":715},9,[577,717,590],{"class":583},[577,719,720],{"class":593},"deliveryMethod",[577,722,597],{"class":583},[577,724,600],{"class":583},[577,726,603],{"class":583},[577,728,658],{"class":606},[577,730,597],{"class":583},[577,732,612],{"class":583},[577,734,736,738,740,742,744],{"class":579,"line":735},10,[577,737,590],{"class":583},[577,739,478],{"class":593},[577,741,597],{"class":583},[577,743,600],{"class":583},[577,745,648],{"class":583},[577,747,749,751,754,756,758,762],{"class":579,"line":748},11,[577,750,654],{"class":583},[577,752,753],{"class":657},"totalAmountIncVat",[577,755,597],{"class":583},[577,757,600],{"class":583},[577,759,761],{"class":760},"sbssI"," 1299.00",[577,763,612],{"class":583},[577,765,767,769,772,774,776,778,781,783],{"class":579,"line":766},12,[577,768,654],{"class":583},[577,770,771],{"class":657},"currencyCode",[577,773,597],{"class":583},[577,775,600],{"class":583},[577,777,603],{"class":583},[577,779,780],{"class":606},"SEK",[577,782,597],{"class":583},[577,784,612],{"class":583},[577,786,788,790,793,795,797,800],{"class":579,"line":787},13,[577,789,654],{"class":583},[577,791,792],{"class":657},"lineItemCount",[577,794,597],{"class":583},[577,796,600],{"class":583},[577,798,799],{"class":760}," 3",[577,801,612],{"class":583},[577,803,805,807,810,812,814,816,819],{"class":579,"line":804},14,[577,806,654],{"class":583},[577,808,809],{"class":657},"status",[577,811,597],{"class":583},[577,813,600],{"class":583},[577,815,603],{"class":583},[577,817,818],{"class":606},"shared",[577,820,706],{"class":583},[577,822,824],{"class":579,"line":823},15,[577,825,712],{"class":583},[577,827,829,831,834,836,838],{"class":579,"line":828},16,[577,830,590],{"class":583},[577,832,833],{"class":593},"metadata",[577,835,597],{"class":583},[577,837,600],{"class":583},[577,839,648],{"class":583},[577,841,843,845,848,850,852,854,857,859],{"class":579,"line":842},17,[577,844,654],{"class":583},[577,846,847],{"class":657},"source",[577,849,597],{"class":583},[577,851,600],{"class":583},[577,853,603],{"class":583},[577,855,856],{"class":606},"pos",[577,858,597],{"class":583},[577,860,612],{"class":583},[577,862,864,866,869,871,873,875,878],{"class":579,"line":863},18,[577,865,654],{"class":583},[577,867,868],{"class":657},"sharedAt",[577,870,597],{"class":583},[577,872,600],{"class":583},[577,874,603],{"class":583},[577,876,877],{"class":606},"2025-01-15T10:34:22.000Z",[577,879,706],{"class":583},[577,881,883],{"class":579,"line":882},19,[577,884,885],{"class":583},"  }\n",[577,887,889],{"class":579,"line":888},20,[577,890,891],{"class":583},"}\n",[562,893,895,567],{"id":894},"cartabandoned-payload",[440,896,557],{},[569,898,900],{"className":571,"code":899,"language":573,"meta":284,"style":284},"{\n  \"cartId\": \"682a1f3c9b4e2d001a8c7f14\",\n  \"marketId\": \"se\",\n  \"tenantId\": \"tenant_abc123\",\n  \"customer\": {\n    \"email\": \"erik@example.com\",\n    \"name\": \"Erik Svensson\"\n  },\n  \"cart\": {\n    \"totalAmountIncVat\": 549.00,\n    \"currencyCode\": \"SEK\",\n    \"lineItemCount\": 2,\n    \"abandonedAt\": \"2025-01-15T09:00:00.000Z\"\n  },\n  \"recoveryUrl\": \"https:\u002F\u002Fwww.yourdomain.com\u002Fcart\u002F682a1f3c9b4e2d001a8c7f14\u002Frecover?t=abc123hmac\"\n}\n",[440,901,902,906,925,943,963,976,995,1012,1016,1028,1043,1061,1076,1094,1098,1116],{"__ignoreMap":284},[577,903,904],{"class":579,"line":580},[577,905,584],{"class":583},[577,907,908,910,912,914,916,918,921,923],{"class":579,"line":587},[577,909,590],{"class":583},[577,911,594],{"class":593},[577,913,597],{"class":583},[577,915,600],{"class":583},[577,917,603],{"class":583},[577,919,920],{"class":606},"682a1f3c9b4e2d001a8c7f14",[577,922,597],{"class":583},[577,924,612],{"class":583},[577,926,927,929,931,933,935,937,939,941],{"class":579,"line":615},[577,928,590],{"class":583},[577,930,620],{"class":593},[577,932,597],{"class":583},[577,934,600],{"class":583},[577,936,603],{"class":583},[577,938,629],{"class":606},[577,940,597],{"class":583},[577,942,612],{"class":583},[577,944,945,947,950,952,954,956,959,961],{"class":579,"line":636},[577,946,590],{"class":583},[577,948,949],{"class":593},"tenantId",[577,951,597],{"class":583},[577,953,600],{"class":583},[577,955,603],{"class":583},[577,957,958],{"class":606},"tenant_abc123",[577,960,597],{"class":583},[577,962,612],{"class":583},[577,964,965,967,970,972,974],{"class":579,"line":651},[577,966,590],{"class":583},[577,968,969],{"class":593},"customer",[577,971,597],{"class":583},[577,973,600],{"class":583},[577,975,648],{"class":583},[577,977,978,980,982,984,986,988,991,993],{"class":579,"line":674},[577,979,654],{"class":583},[577,981,658],{"class":657},[577,983,597],{"class":583},[577,985,600],{"class":583},[577,987,603],{"class":583},[577,989,990],{"class":606},"erik@example.com",[577,992,597],{"class":583},[577,994,612],{"class":583},[577,996,997,999,1001,1003,1005,1007,1010],{"class":579,"line":689},[577,998,654],{"class":583},[577,1000,694],{"class":657},[577,1002,597],{"class":583},[577,1004,600],{"class":583},[577,1006,603],{"class":583},[577,1008,1009],{"class":606},"Erik Svensson",[577,1011,706],{"class":583},[577,1013,1014],{"class":579,"line":709},[577,1015,712],{"class":583},[577,1017,1018,1020,1022,1024,1026],{"class":579,"line":715},[577,1019,590],{"class":583},[577,1021,478],{"class":593},[577,1023,597],{"class":583},[577,1025,600],{"class":583},[577,1027,648],{"class":583},[577,1029,1030,1032,1034,1036,1038,1041],{"class":579,"line":735},[577,1031,654],{"class":583},[577,1033,753],{"class":657},[577,1035,597],{"class":583},[577,1037,600],{"class":583},[577,1039,1040],{"class":760}," 549.00",[577,1042,612],{"class":583},[577,1044,1045,1047,1049,1051,1053,1055,1057,1059],{"class":579,"line":748},[577,1046,654],{"class":583},[577,1048,771],{"class":657},[577,1050,597],{"class":583},[577,1052,600],{"class":583},[577,1054,603],{"class":583},[577,1056,780],{"class":606},[577,1058,597],{"class":583},[577,1060,612],{"class":583},[577,1062,1063,1065,1067,1069,1071,1074],{"class":579,"line":766},[577,1064,654],{"class":583},[577,1066,792],{"class":657},[577,1068,597],{"class":583},[577,1070,600],{"class":583},[577,1072,1073],{"class":760}," 2",[577,1075,612],{"class":583},[577,1077,1078,1080,1083,1085,1087,1089,1092],{"class":579,"line":787},[577,1079,654],{"class":583},[577,1081,1082],{"class":657},"abandonedAt",[577,1084,597],{"class":583},[577,1086,600],{"class":583},[577,1088,603],{"class":583},[577,1090,1091],{"class":606},"2025-01-15T09:00:00.000Z",[577,1093,706],{"class":583},[577,1095,1096],{"class":579,"line":804},[577,1097,712],{"class":583},[577,1099,1100,1102,1105,1107,1109,1111,1114],{"class":579,"line":823},[577,1101,590],{"class":583},[577,1103,1104],{"class":593},"recoveryUrl",[577,1106,597],{"class":583},[577,1108,600],{"class":583},[577,1110,603],{"class":583},[577,1112,1113],{"class":606},"https:\u002F\u002Fwww.yourdomain.com\u002Fcart\u002F682a1f3c9b4e2d001a8c7f14\u002Frecover?t=abc123hmac",[577,1115,706],{"class":583},[577,1117,1118],{"class":579,"line":828},[577,1119,891],{"class":583},[1121,1122,1124,1125,1127,1128,1130,1131,1134,1135,1138],"callout",{"icon":1123},"i-lucide-info","The ",[440,1126,1104],{}," in ",[440,1129,557],{}," contains an HMAC-signed token (",[440,1132,1133],{},"?t=",") that validates the recovery request server-side. The token is tied to the cart ID and your ",[440,1136,1137],{},"avvyrCartRecoverySecret"," environment variable.",[411,1140,237],{"id":1141},"products",[416,1143,1144,1152],{},[419,1145,1146],{},[422,1147,1148,1150],{},[425,1149,427],{},[425,1151,430],{},[432,1153,1154,1164,1174],{},[422,1155,1156,1161],{},[437,1157,1158],{},[440,1159,1160],{},"productCreated",[437,1162,1163],{},"A new product has been created. Includes the full product document with variants, pricing, and attributes.",[422,1165,1166,1171],{},[437,1167,1168],{},[440,1169,1170],{},"productUpdated",[437,1172,1173],{},"A product has been modified — name, description, price, images, attributes, stock, etc.",[422,1175,1176,1181],{},[437,1177,1178],{},[440,1179,1180],{},"productDeleted",[437,1182,1183],{},"A product has been deleted.",[411,1185,1187],{"id":1186},"transfers","Transfers",[416,1189,1190,1198],{},[419,1191,1192],{},[422,1193,1194,1196],{},[425,1195,427],{},[425,1197,430],{},[432,1199,1200,1210,1220],{},[422,1201,1202,1207],{},[437,1203,1204],{},[440,1205,1206],{},"transferCreated",[437,1208,1209],{},"A stock transfer between warehouses\u002Flocations has been created.",[422,1211,1212,1217],{},[437,1213,1214],{},[440,1215,1216],{},"transferUpdated",[437,1218,1219],{},"A stock transfer has been modified (quantity adjusted, status changed).",[422,1221,1222,1227],{},[437,1223,1224],{},[440,1225,1226],{},"transferDeleted",[437,1228,1229],{},"A stock transfer has been deleted.",[411,1231,1233],{"id":1232},"purchases","Purchases",[416,1235,1236,1244],{},[419,1237,1238],{},[422,1239,1240,1242],{},[425,1241,427],{},[425,1243,430],{},[432,1245,1246,1256,1266],{},[422,1247,1248,1253],{},[437,1249,1250],{},[440,1251,1252],{},"purchaseCreated",[437,1254,1255],{},"A purchase order (buying from supplier) has been created.",[422,1257,1258,1263],{},[437,1259,1260],{},[440,1261,1262],{},"purchaseUpdated",[437,1264,1265],{},"A purchase order has been modified.",[422,1267,1268,1273],{},[437,1269,1270],{},[440,1271,1272],{},"purchaseDeleted",[437,1274,1275],{},"A purchase order has been deleted.",[411,1277,1279],{"id":1278},"fulfillment","Fulfillment",[416,1281,1282,1290],{},[419,1283,1284],{},[422,1285,1286,1288],{},[425,1287,427],{},[425,1289,430],{},[432,1291,1292,1302,1312],{},[422,1293,1294,1299],{},[437,1295,1296],{},[440,1297,1298],{},"fulfillmentCreated",[437,1300,1301],{},"A fulfillment (packing\u002Fshipping job) has been created for an order.",[422,1303,1304,1309],{},[437,1305,1306],{},[440,1307,1308],{},"fulfillmentUpdated",[437,1310,1311],{},"A fulfillment has been modified (tracking number added, status changed).",[422,1313,1314,1319],{},[437,1315,1316],{},[440,1317,1318],{},"fulfillmentDeleted",[437,1320,1321],{},"A fulfillment has been deleted.",[411,1323,1325],{"id":1324},"payload-structure","Payload structure",[407,1327,1328],{},"Every event payload follows the same structure:",[569,1330,1332],{"className":571,"code":1331,"language":573,"meta":284,"style":284},"{\n  \"_meta\": {\n    \"eventType\": \"orderCreated\",\n    \"entityType\": \"order\",\n    \"tenantId\": \"676140c4...\",\n    \"messageId\": \"unique-message-id\",\n    \"timestamp\": \"2025-06-15T14:30:00.000Z\"\n  },\n  \"data\": {\n    \u002F\u002F The full entity document at the time the event was fired\n  }\n}\n",[440,1333,1334,1338,1351,1370,1390,1409,1429,1447,1451,1464,1470,1474],{"__ignoreMap":284},[577,1335,1336],{"class":579,"line":580},[577,1337,584],{"class":583},[577,1339,1340,1342,1345,1347,1349],{"class":579,"line":587},[577,1341,590],{"class":583},[577,1343,1344],{"class":593},"_meta",[577,1346,597],{"class":583},[577,1348,600],{"class":583},[577,1350,648],{"class":583},[577,1352,1353,1355,1358,1360,1362,1364,1366,1368],{"class":579,"line":615},[577,1354,654],{"class":583},[577,1356,1357],{"class":657},"eventType",[577,1359,597],{"class":583},[577,1361,600],{"class":583},[577,1363,603],{"class":583},[577,1365,442],{"class":606},[577,1367,597],{"class":583},[577,1369,612],{"class":583},[577,1371,1372,1374,1377,1379,1381,1383,1386,1388],{"class":579,"line":636},[577,1373,654],{"class":583},[577,1375,1376],{"class":657},"entityType",[577,1378,597],{"class":583},[577,1380,600],{"class":583},[577,1382,603],{"class":583},[577,1384,1385],{"class":606},"order",[577,1387,597],{"class":583},[577,1389,612],{"class":583},[577,1391,1392,1394,1396,1398,1400,1402,1405,1407],{"class":579,"line":651},[577,1393,654],{"class":583},[577,1395,949],{"class":657},[577,1397,597],{"class":583},[577,1399,600],{"class":583},[577,1401,603],{"class":583},[577,1403,1404],{"class":606},"676140c4...",[577,1406,597],{"class":583},[577,1408,612],{"class":583},[577,1410,1411,1413,1416,1418,1420,1422,1425,1427],{"class":579,"line":674},[577,1412,654],{"class":583},[577,1414,1415],{"class":657},"messageId",[577,1417,597],{"class":583},[577,1419,600],{"class":583},[577,1421,603],{"class":583},[577,1423,1424],{"class":606},"unique-message-id",[577,1426,597],{"class":583},[577,1428,612],{"class":583},[577,1430,1431,1433,1436,1438,1440,1442,1445],{"class":579,"line":689},[577,1432,654],{"class":583},[577,1434,1435],{"class":657},"timestamp",[577,1437,597],{"class":583},[577,1439,600],{"class":583},[577,1441,603],{"class":583},[577,1443,1444],{"class":606},"2025-06-15T14:30:00.000Z",[577,1446,706],{"class":583},[577,1448,1449],{"class":579,"line":709},[577,1450,712],{"class":583},[577,1452,1453,1455,1458,1460,1462],{"class":579,"line":715},[577,1454,590],{"class":583},[577,1456,1457],{"class":593},"data",[577,1459,597],{"class":583},[577,1461,600],{"class":583},[577,1463,648],{"class":583},[577,1465,1466],{"class":579,"line":735},[577,1467,1469],{"class":1468},"sHwdD","    \u002F\u002F The full entity document at the time the event was fired\n",[577,1471,1472],{"class":579,"line":748},[577,1473,885],{"class":583},[577,1475,1476],{"class":579,"line":766},[577,1477,891],{"class":583},[416,1479,1480,1489],{},[419,1481,1482],{},[422,1483,1484,1487],{},[425,1485,1486],{},"Field",[425,1488,430],{},[432,1490,1491,1504,1522,1532,1542,1552],{},[422,1492,1493,1498],{},[437,1494,1495],{},[440,1496,1497],{},"_meta.eventType",[437,1499,1500,1501,1503],{},"The event type (matches your subscription's ",[440,1502,1357],{},")",[422,1505,1506,1511],{},[437,1507,1508],{},[440,1509,1510],{},"_meta.entityType",[437,1512,1513,1514,1516,1517,1516,1520,1503],{},"The entity category (e.g. ",[440,1515,1385],{},", ",[440,1518,1519],{},"product",[440,1521,478],{},[422,1523,1524,1529],{},[437,1525,1526],{},[440,1527,1528],{},"_meta.tenantId",[437,1530,1531],{},"Your tenant ID",[422,1533,1534,1539],{},[437,1535,1536],{},[440,1537,1538],{},"_meta.messageId",[437,1540,1541],{},"Unique ID for this event — useful for deduplication",[422,1543,1544,1549],{},[437,1545,1546],{},[440,1547,1548],{},"_meta.timestamp",[437,1550,1551],{},"ISO 8601 timestamp of when the event was published",[422,1553,1554,1558],{},[437,1555,1556],{},[440,1557,1457],{},[437,1559,1560],{},"The full entity document. Structure varies by entity type.",[1121,1562,1564,1565,1568,1569,1571],{"icon":1563},"i-lucide-lightbulb","Use the ",[546,1566,1567],{"href":296},"Management API Reference"," to explore the full schema for each entity type (orders, products, carts, etc.). The ",[440,1570,1457],{}," payload matches the document structure returned by the corresponding GET endpoint.",[1573,1574,1575],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":284,"searchDepth":587,"depth":587,"links":1577},[1578,1579,1585,1586,1587,1588,1589],{"id":413,"depth":587,"text":414},{"id":478,"depth":587,"text":241,"children":1580},[1581,1583],{"id":564,"depth":615,"text":1582},"cart.shared payload",{"id":894,"depth":615,"text":1584},"cart.abandoned payload",{"id":1141,"depth":587,"text":237},{"id":1186,"depth":587,"text":1187},{"id":1232,"depth":587,"text":1233},{"id":1278,"depth":587,"text":1279},{"id":1324,"depth":587,"text":1325},"All available domain events with descriptions","md",null,{},true,{"title":97,"description":1590},"b3yaDtxc3Af9lyY_tWg-oiZ593KkFib2BD84E9M_9s8",[1598,1600],{"title":93,"path":94,"stem":95,"description":1599,"children":-1},"How Avvyr delivers events to your endpoint — payload format, authentication, retries, and signature verification",{"title":101,"path":102,"stem":103,"description":1601,"children":-1},"Connect Avvyr to external systems — ERP, accounting, marketing, shipping, and more",1790695904705]