[{"data":1,"prerenderedAt":758},["ShallowReactive",2],{"navigation_docs_en":3,"-en-getting-started-quick-start":342,"-en-getting-started-quick-start-surround":755},[4,23,41,51,65,83,314,328],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F1.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Quick start","\u002Fen\u002Fgetting-started\u002Fquick-start","en\u002F1.getting-started\u002F1.quick-start",{"title":15,"path":16,"stem":17},"Trust model","\u002Fen\u002Fgetting-started\u002Ftrust-model","en\u002F1.getting-started\u002F2.trust-model",{"title":19,"path":20,"stem":21},"Enterprise integration journey","\u002Fen\u002Fgetting-started\u002Fenterprise-integration","en\u002F1.getting-started\u002F3.enterprise-integration",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"Storefront","i-lucide-store","\u002Fen\u002Fstorefront","en\u002F2.storefront",[29,33,37],{"title":30,"path":31,"stem":32},"Third-party Storefront","\u002Fen\u002Fstorefront\u002Fthird-party-storefront","en\u002F2.storefront\u002F1.third-party-storefront",{"title":34,"path":35,"stem":36},"Turnstile trust boundary","\u002Fen\u002Fstorefront\u002Fchallenge-and-turnstile","en\u002F2.storefront\u002F2.challenge-and-turnstile",{"title":38,"path":39,"stem":40},"Third-party Storefront public API","\u002Fen\u002Fstorefront\u002Fpublic-api","en\u002F2.storefront\u002F3.public-api",{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":22},"OAuth and identity","i-lucide-key-round","\u002Fen\u002Foauth","en\u002F3.oauth",[47],{"title":48,"path":49,"stem":50},"Third-party account authorization boundary","\u002Fen\u002Foauth\u002Fauthorization-code-pkce","en\u002F3.oauth\u002F1.authorization-code-pkce",{"title":52,"icon":53,"path":54,"stem":55,"children":56,"page":22},"Developer platform","i-lucide-blocks","\u002Fen\u002Fplatform","en\u002F4.platform",[57,61],{"title":58,"path":59,"stem":60},"Apps, versions, installations, and scopes","\u002Fen\u002Fplatform\u002Fapps-installations-scopes","en\u002F4.platform\u002F1.apps-installations-scopes",{"title":62,"path":63,"stem":64},"Origins, redirects, proxies, and environments","\u002Fen\u002Fplatform\u002Fsecurity-and-environments","en\u002F4.platform\u002F2.security-and-environments",{"title":66,"icon":67,"path":68,"stem":69,"children":70,"page":22},"Runtime extensions","i-lucide-workflow","\u002Fen\u002Fruntime","en\u002F5.runtime",[71,75,79],{"title":72,"path":73,"stem":74},"Installation Webhooks","\u002Fen\u002Fruntime\u002Fwebhooks","en\u002F5.runtime\u002F1.webhooks",{"title":76,"path":77,"stem":78},"Inventory synchronization","\u002Fen\u002Fruntime\u002Finventory-sync","en\u002F5.runtime\u002F2.inventory-sync",{"title":80,"path":81,"stem":82},"Automatic fulfillment providers","\u002Fen\u002Fruntime\u002Fauto-fulfillment","en\u002F5.runtime\u002F3.auto-fulfillment",{"title":84,"icon":85,"path":86,"stem":87,"children":88,"page":22},"API reference","i-lucide-braces","\u002Fen\u002Freference","en\u002F6.reference",[89,93,97],{"title":90,"path":91,"stem":92},"API Reference","\u002Fen\u002Freference\u002Fapi","en\u002F6.reference\u002F1.api",{"title":94,"path":95,"stem":96},"Errors, idempotency, and rate limits","\u002Fen\u002Freference\u002Ferrors-and-limits","en\u002F6.reference\u002F2.errors-and-limits",{"title":98,"path":99,"stem":100,"children":101,"page":22},"Endpoint catalog","\u002Fen\u002Freference\u002Foperations","en\u002F6.reference\u002F3.operations",[102,106,110,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,206,210,214,218,222,226,230,234,238,242,246,250,254,258,262,266,270,274,278,282,286,290,294,298,302,306,310],{"title":103,"path":104,"stem":105},"Get the public site bootstrap configuration","\u002Fen\u002Freference\u002Foperations\u002Fget-public-bootstrap","en\u002F6.reference\u002F3.operations\u002F01.get-public-bootstrap",{"title":107,"path":108,"stem":109},"List public categories","\u002Fen\u002Freference\u002Foperations\u002Flist-public-categories","en\u002F6.reference\u002F3.operations\u002F02.list-public-categories",{"title":111,"path":112,"stem":113},"Get a public product for a store","\u002Fen\u002Freference\u002Foperations\u002Fget-public-merchant-product","en\u002F6.reference\u002F3.operations\u002F03.get-public-merchant-product",{"title":115,"path":116,"stem":117},"List public categories for a store","\u002Fen\u002Freference\u002Foperations\u002Flist-public-merchant-categories","en\u002F6.reference\u002F3.operations\u002F04.list-public-merchant-categories",{"title":119,"path":120,"stem":121},"List public products for a store","\u002Fen\u002Freference\u002Foperations\u002Flist-public-merchant-products","en\u002F6.reference\u002F3.operations\u002F05.list-public-merchant-products",{"title":123,"path":124,"stem":125},"Get a public store profile","\u002Fen\u002Freference\u002Foperations\u002Fget-public-merchant","en\u002F6.reference\u002F3.operations\u002F06.get-public-merchant",{"title":127,"path":128,"stem":129},"Get a public product by slug","\u002Fen\u002Freference\u002Foperations\u002Fget-public-product","en\u002F6.reference\u002F3.operations\u002F07.get-public-product",{"title":131,"path":132,"stem":133},"List the public product catalog","\u002Fen\u002Freference\u002Foperations\u002Flist-public-products","en\u002F6.reference\u002F3.operations\u002F08.list-public-products",{"title":135,"path":136,"stem":137},"List current published legal documents by locale","\u002Fen\u002Freference\u002Foperations\u002Flist-public-legal-documents","en\u002F6.reference\u002F3.operations\u002F09.list-public-legal-documents",{"title":139,"path":140,"stem":141},"describeOAuthAuthorization","\u002Fen\u002Freference\u002Foperations\u002Fdescribe-oauth-authorization","en\u002F6.reference\u002F3.operations\u002F10.describe-oauth-authorization",{"title":143,"path":144,"stem":145},"revokeOAuthToken","\u002Fen\u002Freference\u002Foperations\u002Frevoke-oauth-token","en\u002F6.reference\u002F3.operations\u002F11.revoke-oauth-token",{"title":147,"path":148,"stem":149},"exchangeOAuthToken","\u002Fen\u002Freference\u002Foperations\u002Fexchange-oauth-token","en\u002F6.reference\u002F3.operations\u002F12.exchange-oauth-token",{"title":151,"path":152,"stem":153},"List public categories with an API Key","\u002Fen\u002Freference\u002Foperations\u002Flist-api-key-catalog-categories","en\u002F6.reference\u002F3.operations\u002F13.list-api-key-catalog-categories",{"title":155,"path":156,"stem":157},"Get a public product with an API Key","\u002Fen\u002Freference\u002Foperations\u002Fget-api-key-catalog-product","en\u002F6.reference\u002F3.operations\u002F14.get-api-key-catalog-product",{"title":159,"path":160,"stem":161},"List public products with an API Key","\u002Fen\u002Freference\u002Foperations\u002Flist-api-key-catalog-products","en\u002F6.reference\u002F3.operations\u002F15.list-api-key-catalog-products",{"title":163,"path":164,"stem":165},"Cancel a hosted checkout session","\u002Fen\u002Freference\u002Foperations\u002Fcancel-hosted-checkout-session","en\u002F6.reference\u002F3.operations\u002F16.cancel-hosted-checkout-session",{"title":167,"path":168,"stem":169},"Get a hosted checkout session","\u002Fen\u002Freference\u002Foperations\u002Fget-hosted-checkout-session","en\u002F6.reference\u002F3.operations\u002F17.get-hosted-checkout-session",{"title":171,"path":172,"stem":173},"Create a hosted checkout session","\u002Fen\u002Freference\u002Foperations\u002Fcreate-hosted-checkout-session","en\u002F6.reference\u002F3.operations\u002F18.create-hosted-checkout-session",{"title":175,"path":176,"stem":177},"Initiate a hosted login session","\u002Fen\u002Freference\u002Foperations\u002Finitiate-hosted-login","en\u002F6.reference\u002F3.operations\u002F19.initiate-hosted-login",{"title":179,"path":180,"stem":181},"Consume a hosted login return","\u002Fen\u002Freference\u002Foperations\u002Fconsume-hosted-login-return","en\u002F6.reference\u002F3.operations\u002F20.consume-hosted-login-return",{"title":183,"path":184,"stem":185},"Get the current API Key identity and scopes","\u002Fen\u002Freference\u002Foperations\u002Fget-api-key-identity","en\u002F6.reference\u002F3.operations\u002F21.get-api-key-identity",{"title":187,"path":188,"stem":189},"Get the installation credential identity","\u002Fen\u002Freference\u002Foperations\u002Fget-installation-credential-identity","en\u002F6.reference\u002F3.operations\u002F22.get-installation-credential-identity",{"title":191,"path":192,"stem":193},"Get the installation credential readiness","\u002Fen\u002Freference\u002Foperations\u002Fget-installation-credential-readiness","en\u002F6.reference\u002F3.operations\u002F23.get-installation-credential-readiness",{"title":195,"path":196,"stem":197},"setPublicCartAddress","\u002Fen\u002Freference\u002Foperations\u002Fset-public-cart-address","en\u002F6.reference\u002F3.operations\u002F24.set-public-cart-address",{"title":199,"path":200,"stem":201},"quotePublicCartCheckout","\u002Fen\u002Freference\u002Foperations\u002Fquote-public-cart-checkout","en\u002F6.reference\u002F3.operations\u002F25.quote-public-cart-checkout",{"title":203,"path":204,"stem":205},"checkoutPublicCart","\u002Fen\u002Freference\u002Foperations\u002Fcheckout-public-cart","en\u002F6.reference\u002F3.operations\u002F26.checkout-public-cart",{"title":207,"path":208,"stem":209},"clearPublicCart","\u002Fen\u002Freference\u002Foperations\u002Fclear-public-cart","en\u002F6.reference\u002F3.operations\u002F27.clear-public-cart",{"title":211,"path":212,"stem":213},"removePublicCartItem","\u002Fen\u002Freference\u002Foperations\u002Fremove-public-cart-item","en\u002F6.reference\u002F3.operations\u002F28.remove-public-cart-item",{"title":215,"path":216,"stem":217},"updatePublicCartItemQuantity","\u002Fen\u002Freference\u002Foperations\u002Fupdate-public-cart-item-quantity","en\u002F6.reference\u002F3.operations\u002F29.update-public-cart-item-quantity",{"title":219,"path":220,"stem":221},"addPublicCartItem","\u002Fen\u002Freference\u002Foperations\u002Fadd-public-cart-item","en\u002F6.reference\u002F3.operations\u002F30.add-public-cart-item",{"title":223,"path":224,"stem":225},"removePublicCartPromotion","\u002Fen\u002Freference\u002Foperations\u002Fremove-public-cart-promotion","en\u002F6.reference\u002F3.operations\u002F31.remove-public-cart-promotion",{"title":227,"path":228,"stem":229},"applyPublicCartPromotion","\u002Fen\u002Freference\u002Foperations\u002Fapply-public-cart-promotion","en\u002F6.reference\u002F3.operations\u002F32.apply-public-cart-promotion",{"title":231,"path":232,"stem":233},"quotePublicCart","\u002Fen\u002Freference\u002Foperations\u002Fquote-public-cart","en\u002F6.reference\u002F3.operations\u002F33.quote-public-cart",{"title":235,"path":236,"stem":237},"revokePublicCart","\u002Fen\u002Freference\u002Foperations\u002Frevoke-public-cart","en\u002F6.reference\u002F3.operations\u002F34.revoke-public-cart",{"title":239,"path":240,"stem":241},"getPublicCart","\u002Fen\u002Freference\u002Foperations\u002Fget-public-cart","en\u002F6.reference\u002F3.operations\u002F35.get-public-cart",{"title":243,"path":244,"stem":245},"createPublicCart","\u002Fen\u002Freference\u002Foperations\u002Fcreate-public-cart","en\u002F6.reference\u002F3.operations\u002F36.create-public-cart",{"title":247,"path":248,"stem":249},"getStorefrontOrderAfterSalesEligibility","\u002Fen\u002Freference\u002Foperations\u002Fget-storefront-order-after-sales-eligibility","en\u002F6.reference\u002F3.operations\u002F37.get-storefront-order-after-sales-eligibility",{"title":251,"path":252,"stem":253},"requestStorefrontOrderAfterSales","\u002Fen\u002Freference\u002Foperations\u002Frequest-storefront-order-after-sales","en\u002F6.reference\u002F3.operations\u002F38.request-storefront-order-after-sales",{"title":255,"path":256,"stem":257},"getStorefrontOrderCancellationEligibility","\u002Fen\u002Freference\u002Foperations\u002Fget-storefront-order-cancellation-eligibility","en\u002F6.reference\u002F3.operations\u002F39.get-storefront-order-cancellation-eligibility",{"title":259,"path":260,"stem":261},"cancelStorefrontOrder","\u002Fen\u002Freference\u002Foperations\u002Fcancel-storefront-order","en\u002F6.reference\u002F3.operations\u002F40.cancel-storefront-order",{"title":263,"path":264,"stem":265},"getStorefrontOrder","\u002Fen\u002Freference\u002Foperations\u002Fget-storefront-order","en\u002F6.reference\u002F3.operations\u002F41.get-storefront-order",{"title":267,"path":268,"stem":269},"replayInstallationWebhookDelivery","\u002Fen\u002Freference\u002Foperations\u002Freplay-installation-webhook-delivery","en\u002F6.reference\u002F3.operations\u002F42.replay-installation-webhook-delivery",{"title":271,"path":272,"stem":273},"listInstallationWebhookDeliveries","\u002Fen\u002Freference\u002Foperations\u002Flist-installation-webhook-deliveries","en\u002F6.reference\u002F3.operations\u002F43.list-installation-webhook-deliveries",{"title":275,"path":276,"stem":277},"getInstallationWebhookSignatureFixture","\u002Fen\u002Freference\u002Foperations\u002Fget-installation-webhook-signature-fixture","en\u002F6.reference\u002F3.operations\u002F44.get-installation-webhook-signature-fixture",{"title":279,"path":280,"stem":281},"updateInstallationWebhook","\u002Fen\u002Freference\u002Foperations\u002Fupdate-installation-webhook","en\u002F6.reference\u002F3.operations\u002F45.update-installation-webhook",{"title":283,"path":284,"stem":285},"listInstallationWebhooks","\u002Fen\u002Freference\u002Foperations\u002Flist-installation-webhooks","en\u002F6.reference\u002F3.operations\u002F46.list-installation-webhooks",{"title":287,"path":288,"stem":289},"createInstallationWebhook","\u002Fen\u002Freference\u002Foperations\u002Fcreate-installation-webhook","en\u002F6.reference\u002F3.operations\u002F47.create-installation-webhook",{"title":291,"path":292,"stem":293},"listInstallationWebhookEvents","\u002Fen\u002Freference\u002Foperations\u002Flist-installation-webhook-events","en\u002F6.reference\u002F3.operations\u002F48.list-installation-webhook-events",{"title":295,"path":296,"stem":297},"Get public contact channels","\u002Fen\u002Freference\u002Foperations\u002Fget-public-contact","en\u002F6.reference\u002F3.operations\u002F49.get-public-contact",{"title":299,"path":300,"stem":301},"Get the public store security configuration","\u002Fen\u002Freference\u002Foperations\u002Fget-public-store-security-config","en\u002F6.reference\u002F3.operations\u002F50.get-public-store-security-config",{"title":303,"path":304,"stem":305},"Get the public runtime configuration","\u002Fen\u002Freference\u002Foperations\u002Fget-public-runtime-config","en\u002F6.reference\u002F3.operations\u002F51.get-public-runtime-config",{"title":307,"path":308,"stem":309},"Search public products","\u002Fen\u002Freference\u002Foperations\u002Fsearch-public-products","en\u002F6.reference\u002F3.operations\u002F52.search-public-products",{"title":311,"path":312,"stem":313},"Get the published Storefront decoration","\u002Fen\u002Freference\u002Foperations\u002Fget-public-storefront-decoration","en\u002F6.reference\u002F3.operations\u002F53.get-public-storefront-decoration",{"title":315,"icon":316,"path":317,"stem":318,"children":319,"page":22},"Examples","i-lucide-code-xml","\u002Fen\u002Fexamples","en\u002F7.examples",[320,324],{"title":321,"path":322,"stem":323},"Minimal Nuxt Storefront","\u002Fen\u002Fexamples\u002Fnuxt-storefront","en\u002F7.examples\u002F1.nuxt-storefront",{"title":325,"path":326,"stem":327},"Webhook verification","\u002Fen\u002Fexamples\u002Fwebhook-verification","en\u002F7.examples\u002F2.webhook-verification",{"title":329,"icon":330,"path":331,"stem":332,"children":333,"page":22},"Versions and support","i-lucide-life-buoy","\u002Fen\u002Foperations","en\u002F8.operations",[334,338],{"title":335,"path":336,"stem":337},"Versions, migrations, and changelog","\u002Fen\u002Foperations\u002Fversions-and-migrations","en\u002F8.operations\u002F1.versions-and-migrations",{"title":339,"path":340,"stem":341},"Support and security disclosure","\u002Fen\u002Foperations\u002Fsupport-and-security","en\u002F8.operations\u002F2.support-and-security",{"id":343,"title":11,"body":344,"description":749,"extension":750,"links":751,"meta":752,"navigation":637,"path":12,"seo":753,"stem":13,"__hash__":754},"docs_en\u002Fen\u002F1.getting-started\u002F1.quick-start.md",{"type":345,"value":346,"toc":744},"minimark",[347,351,360,365,432,435,439,446,482,489,493,713,740],[348,349,11],"h1",{"id":350},"quick-start",[352,353,354,355,359],"p",{},"For an enterprise production integration, complete every gate in the ",[356,357,358],"a",{"href":20},"enterprise integration journey",", from readiness through production and incident response. This page covers only the first public read.",[361,362,364],"h2",{"id":363},"choose-the-integration-boundary","Choose the integration boundary",[366,367,368,384],"table",{},[369,370,371],"thead",{},[372,373,374,378,381],"tr",{},[375,376,377],"th",{},"Goal",[375,379,380],{},"Use",[375,382,383],{},"Never use",[385,386,387,399,410,421],"tbody",{},[372,388,389,393,396],{},[390,391,392],"td",{},"Read public catalog",[390,394,395],{},"Public Storefront API",[390,397,398],{},"Merchant session cookie",[372,400,401,404,407],{},[390,402,403],{},"Access a user's account (after review\u002Fopening)",[390,405,406],{},"Authorization Code with PKCE S256 on the official authorization domain",[390,408,409],{},"Password grant, imitated sign-in, or shared Ayalink Cookie",[372,411,412,415,418],{},[390,413,414],{},"Server-to-server app",[390,416,417],{},"Installation token with minimum scopes",[390,419,420],{},"Browser-held client secret",[372,422,423,426,429],{},[390,424,425],{},"Receive business events",[390,427,428],{},"Installation-scoped signed Webhook",[390,430,431],{},"Unsigned callback or query token",[352,433,434],{},"Create the developer organization, app version, and store installation in the Ayalink Merchant developer workspace. Production access is not implied by the documentation: the app version, requested scopes, legal consent, store capability, market, and installation must all be active.",[361,436,438],{"id":437},"configure-the-public-base-url","Configure the public base URL",[352,440,441,442,445],{},"The ",[356,443,444],{"href":322},"Nuxt example"," requires only public configuration:",[447,448,453],"pre",{"className":449,"code":450,"language":451,"meta":452,"style":452},"language-env shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","NUXT_PUBLIC_AYALINK_API_BASE=https:\u002F\u002Fapi.example.invalid\u002Fapi\u002Fv1\nNUXT_PUBLIC_AYALINK_AUTH_BASE=https:\u002F\u002Fstorefront.example.invalid\nNUXT_PUBLIC_AYALINK_CLIENT_ID=replace-with-public-client-id\nNUXT_PUBLIC_AYALINK_REDIRECT_URI=https:\u002F\u002Fshop.example.invalid\u002Foauth\u002Fcallback\n","env","",[454,455,456,464,470,476],"code",{"__ignoreMap":452},[457,458,461],"span",{"class":459,"line":460},"line",1,[457,462,463],{},"NUXT_PUBLIC_AYALINK_API_BASE=https:\u002F\u002Fapi.example.invalid\u002Fapi\u002Fv1\n",[457,465,467],{"class":459,"line":466},2,[457,468,469],{},"NUXT_PUBLIC_AYALINK_AUTH_BASE=https:\u002F\u002Fstorefront.example.invalid\n",[457,471,473],{"class":459,"line":472},3,[457,474,475],{},"NUXT_PUBLIC_AYALINK_CLIENT_ID=replace-with-public-client-id\n",[457,477,479],{"class":459,"line":478},4,[457,480,481],{},"NUXT_PUBLIC_AYALINK_REDIRECT_URI=https:\u002F\u002Fshop.example.invalid\u002Foauth\u002Fcallback\n",[352,483,484,485,488],{},"The values above are inert placeholders, not production endpoints. Never prefix a secret with ",[454,486,487],{},"NUXT_PUBLIC_",".",[361,490,492],{"id":491},"request-public-data","Request public data",[447,494,498],{"className":495,"code":496,"language":497,"meta":452,"style":452},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const response = await fetch(`${apiBase}\u002Fcatalog\u002Fproducts`, {\n  headers: {\n    accept: 'application\u002Fjson',\n    'accept-language': 'en',\n    'x-ayalink-market': 'US'\n  }\n})\n\nif (!response.ok) throw new Error(`AYALINK_HTTP_${response.status}`)\nconst envelope = await response.json()\n","ts",[454,499,500,547,558,577,598,618,624,632,639,690],{"__ignoreMap":452},[457,501,502,506,510,514,518,522,525,528,531,534,538,541,544],{"class":459,"line":460},[457,503,505],{"class":504},"spNyl","const",[457,507,509],{"class":508},"sTEyZ"," response ",[457,511,513],{"class":512},"sMK4o","=",[457,515,517],{"class":516},"s7zQu"," await",[457,519,521],{"class":520},"s2Zo4"," fetch",[457,523,524],{"class":508},"(",[457,526,527],{"class":512},"`${",[457,529,530],{"class":508},"apiBase",[457,532,533],{"class":512},"}",[457,535,537],{"class":536},"sfazB","\u002Fcatalog\u002Fproducts",[457,539,540],{"class":512},"`",[457,542,543],{"class":512},",",[457,545,546],{"class":512}," {\n",[457,548,549,553,556],{"class":459,"line":466},[457,550,552],{"class":551},"swJcz","  headers",[457,554,555],{"class":512},":",[457,557,546],{"class":512},[457,559,560,563,565,568,571,574],{"class":459,"line":472},[457,561,562],{"class":551},"    accept",[457,564,555],{"class":512},[457,566,567],{"class":512}," '",[457,569,570],{"class":536},"application\u002Fjson",[457,572,573],{"class":512},"'",[457,575,576],{"class":512},",\n",[457,578,579,582,585,587,589,591,594,596],{"class":459,"line":478},[457,580,581],{"class":512},"    '",[457,583,584],{"class":551},"accept-language",[457,586,573],{"class":512},[457,588,555],{"class":512},[457,590,567],{"class":512},[457,592,593],{"class":536},"en",[457,595,573],{"class":512},[457,597,576],{"class":512},[457,599,601,603,606,608,610,612,615],{"class":459,"line":600},5,[457,602,581],{"class":512},[457,604,605],{"class":551},"x-ayalink-market",[457,607,573],{"class":512},[457,609,555],{"class":512},[457,611,567],{"class":512},[457,613,614],{"class":536},"US",[457,616,617],{"class":512},"'\n",[457,619,621],{"class":459,"line":620},6,[457,622,623],{"class":512},"  }\n",[457,625,627,629],{"class":459,"line":626},7,[457,628,533],{"class":512},[457,630,631],{"class":508},")\n",[457,633,635],{"class":459,"line":634},8,[457,636,638],{"emptyLinePlaceholder":637},true,"\n",[457,640,642,645,648,651,654,656,659,662,665,668,670,672,675,678,680,682,685,688],{"class":459,"line":641},9,[457,643,644],{"class":516},"if",[457,646,647],{"class":508}," (",[457,649,650],{"class":512},"!",[457,652,653],{"class":508},"response",[457,655,488],{"class":512},[457,657,658],{"class":508},"ok) ",[457,660,661],{"class":516},"throw",[457,663,664],{"class":512}," new",[457,666,667],{"class":520}," Error",[457,669,524],{"class":508},[457,671,540],{"class":512},[457,673,674],{"class":536},"AYALINK_HTTP_",[457,676,677],{"class":512},"${",[457,679,653],{"class":508},[457,681,488],{"class":512},[457,683,684],{"class":508},"status",[457,686,687],{"class":512},"}`",[457,689,631],{"class":508},[457,691,693,695,698,700,702,705,707,710],{"class":459,"line":692},10,[457,694,505],{"class":504},[457,696,697],{"class":508}," envelope ",[457,699,513],{"class":512},[457,701,517],{"class":516},[457,703,704],{"class":508}," response",[457,706,488],{"class":512},[457,708,709],{"class":520},"json",[457,711,712],{"class":508},"()\n",[352,714,715,716,719,720,719,723,719,726,719,729,732,733,736,737,488],{},"Do not invent products when the API is unavailable. Treat ",[454,717,718],{},"401",", ",[454,721,722],{},"403",[454,724,725],{},"404",[454,727,728],{},"409",[454,730,731],{},"422",", and ",[454,734,735],{},"429"," as distinct states described in ",[356,738,739],{"href":95},"errors and rate limits",[741,742,743],"style",{},"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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":452,"searchDepth":466,"depth":466,"links":745},[746,747,748],{"id":363,"depth":466,"text":364},{"id":437,"depth":466,"text":438},{"id":491,"depth":466,"text":492},"Choose an integration environment and make the first public API request without storing secrets in a browser.","md",null,{},{"title":11,"description":749},"jbJUY8k5bNoMoEgjrBVRq4QmlsH7_rvYvOFGZZN0Wr4",[751,756],{"title":15,"path":16,"stem":17,"description":757,"children":-1},"Understand the public documentation, platform, store, installation, user, and provider trust boundaries.",1786201423414]