[{"data":1,"prerenderedAt":806},["ShallowReactive",2],{"navigation_docs_en":3,"-en-getting-started-quick-start":390,"-en-getting-started-quick-start-surround":803},[4,23,41,51,65,83,362,376],{"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,314,318,322,326,330,334,338,342,346,350,354,358],{"title":103,"path":104,"stem":105},"confirmOfficialPasswordReset","\u002Fen\u002Freference\u002Foperations\u002Fconfirm-official-password-reset","en\u002F6.reference\u002F3.operations\u002F01.confirm-official-password-reset",{"title":107,"path":108,"stem":109},"requestOfficialPasswordReset","\u002Fen\u002Freference\u002Foperations\u002Frequest-official-password-reset","en\u002F6.reference\u002F3.operations\u002F02.request-official-password-reset",{"title":111,"path":112,"stem":113},"registerOfficialStorefrontCustomer","\u002Fen\u002Freference\u002Foperations\u002Fregister-official-storefront-customer","en\u002F6.reference\u002F3.operations\u002F03.register-official-storefront-customer",{"title":115,"path":116,"stem":117},"Get the public site bootstrap configuration","\u002Fen\u002Freference\u002Foperations\u002Fget-public-bootstrap","en\u002F6.reference\u002F3.operations\u002F04.get-public-bootstrap",{"title":119,"path":120,"stem":121},"List public categories","\u002Fen\u002Freference\u002Foperations\u002Flist-public-categories","en\u002F6.reference\u002F3.operations\u002F05.list-public-categories",{"title":123,"path":124,"stem":125},"Get a public product for a store","\u002Fen\u002Freference\u002Foperations\u002Fget-public-merchant-product","en\u002F6.reference\u002F3.operations\u002F06.get-public-merchant-product",{"title":127,"path":128,"stem":129},"List public categories for a store","\u002Fen\u002Freference\u002Foperations\u002Flist-public-merchant-categories","en\u002F6.reference\u002F3.operations\u002F07.list-public-merchant-categories",{"title":131,"path":132,"stem":133},"List public products for a store","\u002Fen\u002Freference\u002Foperations\u002Flist-public-merchant-products","en\u002F6.reference\u002F3.operations\u002F08.list-public-merchant-products",{"title":135,"path":136,"stem":137},"Get a public store profile","\u002Fen\u002Freference\u002Foperations\u002Fget-public-merchant","en\u002F6.reference\u002F3.operations\u002F09.get-public-merchant",{"title":139,"path":140,"stem":141},"Get a public product by slug","\u002Fen\u002Freference\u002Foperations\u002Fget-public-product","en\u002F6.reference\u002F3.operations\u002F10.get-public-product",{"title":143,"path":144,"stem":145},"List the public product catalog","\u002Fen\u002Freference\u002Foperations\u002Flist-public-products","en\u002F6.reference\u002F3.operations\u002F11.list-public-products",{"title":147,"path":148,"stem":149},"Cancel the hosted checkout browser flow","\u002Fen\u002Freference\u002Foperations\u002Fcancel-hosted-checkout-browser","en\u002F6.reference\u002F3.operations\u002F12.cancel-hosted-checkout-browser",{"title":151,"path":152,"stem":153},"Continue the hosted checkout browser flow","\u002Fen\u002Freference\u002Foperations\u002Fcontinue-hosted-checkout-browser","en\u002F6.reference\u002F3.operations\u002F13.continue-hosted-checkout-browser",{"title":155,"path":156,"stem":157},"Get the hosted checkout browser projection","\u002Fen\u002Freference\u002Foperations\u002Fget-hosted-checkout-browser-projection","en\u002F6.reference\u002F3.operations\u002F14.get-hosted-checkout-browser-projection",{"title":159,"path":160,"stem":161},"Return from the hosted checkout browser flow","\u002Fen\u002Freference\u002Foperations\u002Freturn-hosted-checkout-browser","en\u002F6.reference\u002F3.operations\u002F15.return-hosted-checkout-browser",{"title":163,"path":164,"stem":165},"Consume a hosted checkout browser ticket","\u002Fen\u002Freference\u002Foperations\u002Fconsume-hosted-checkout-browser-ticket","en\u002F6.reference\u002F3.operations\u002F16.consume-hosted-checkout-browser-ticket",{"title":167,"path":168,"stem":169},"Consume a hosted login browser ticket","\u002Fen\u002Freference\u002Foperations\u002Fconsume-hosted-login-browser-ticket","en\u002F6.reference\u002F3.operations\u002F17.consume-hosted-login-browser-ticket",{"title":171,"path":172,"stem":173},"List current published legal documents by locale","\u002Fen\u002Freference\u002Foperations\u002Flist-public-legal-documents","en\u002F6.reference\u002F3.operations\u002F18.list-public-legal-documents",{"title":175,"path":176,"stem":177},"describeOAuthAuthorization","\u002Fen\u002Freference\u002Foperations\u002Fdescribe-oauth-authorization","en\u002F6.reference\u002F3.operations\u002F19.describe-oauth-authorization",{"title":179,"path":180,"stem":181},"revokeOAuthToken","\u002Fen\u002Freference\u002Foperations\u002Frevoke-oauth-token","en\u002F6.reference\u002F3.operations\u002F20.revoke-oauth-token",{"title":183,"path":184,"stem":185},"exchangeOAuthToken","\u002Fen\u002Freference\u002Foperations\u002Fexchange-oauth-token","en\u002F6.reference\u002F3.operations\u002F21.exchange-oauth-token",{"title":187,"path":188,"stem":189},"List public categories with an API Key","\u002Fen\u002Freference\u002Foperations\u002Flist-api-key-catalog-categories","en\u002F6.reference\u002F3.operations\u002F22.list-api-key-catalog-categories",{"title":191,"path":192,"stem":193},"Get a public product with an API Key","\u002Fen\u002Freference\u002Foperations\u002Fget-api-key-catalog-product","en\u002F6.reference\u002F3.operations\u002F23.get-api-key-catalog-product",{"title":195,"path":196,"stem":197},"List public products with an API Key","\u002Fen\u002Freference\u002Foperations\u002Flist-api-key-catalog-products","en\u002F6.reference\u002F3.operations\u002F24.list-api-key-catalog-products",{"title":199,"path":200,"stem":201},"Cancel a hosted checkout session","\u002Fen\u002Freference\u002Foperations\u002Fcancel-hosted-checkout-session","en\u002F6.reference\u002F3.operations\u002F25.cancel-hosted-checkout-session",{"title":203,"path":204,"stem":205},"Get a hosted checkout session","\u002Fen\u002Freference\u002Foperations\u002Fget-hosted-checkout-session","en\u002F6.reference\u002F3.operations\u002F26.get-hosted-checkout-session",{"title":207,"path":208,"stem":209},"Create a hosted checkout session","\u002Fen\u002Freference\u002Foperations\u002Fcreate-hosted-checkout-session","en\u002F6.reference\u002F3.operations\u002F27.create-hosted-checkout-session",{"title":211,"path":212,"stem":213},"Initiate a hosted login session","\u002Fen\u002Freference\u002Foperations\u002Finitiate-hosted-login","en\u002F6.reference\u002F3.operations\u002F28.initiate-hosted-login",{"title":215,"path":216,"stem":217},"Consume a hosted login return","\u002Fen\u002Freference\u002Foperations\u002Fconsume-hosted-login-return","en\u002F6.reference\u002F3.operations\u002F29.consume-hosted-login-return",{"title":219,"path":220,"stem":221},"Get the current API Key identity and scopes","\u002Fen\u002Freference\u002Foperations\u002Fget-api-key-identity","en\u002F6.reference\u002F3.operations\u002F30.get-api-key-identity",{"title":223,"path":224,"stem":225},"Get the installation credential identity","\u002Fen\u002Freference\u002Foperations\u002Fget-installation-credential-identity","en\u002F6.reference\u002F3.operations\u002F31.get-installation-credential-identity",{"title":227,"path":228,"stem":229},"Get the installation credential readiness","\u002Fen\u002Freference\u002Foperations\u002Fget-installation-credential-readiness","en\u002F6.reference\u002F3.operations\u002F32.get-installation-credential-readiness",{"title":231,"path":232,"stem":233},"setPublicCartAddress","\u002Fen\u002Freference\u002Foperations\u002Fset-public-cart-address","en\u002F6.reference\u002F3.operations\u002F33.set-public-cart-address",{"title":235,"path":236,"stem":237},"quotePublicCartCheckout","\u002Fen\u002Freference\u002Foperations\u002Fquote-public-cart-checkout","en\u002F6.reference\u002F3.operations\u002F34.quote-public-cart-checkout",{"title":239,"path":240,"stem":241},"checkoutPublicCart","\u002Fen\u002Freference\u002Foperations\u002Fcheckout-public-cart","en\u002F6.reference\u002F3.operations\u002F35.checkout-public-cart",{"title":243,"path":244,"stem":245},"clearPublicCart","\u002Fen\u002Freference\u002Foperations\u002Fclear-public-cart","en\u002F6.reference\u002F3.operations\u002F36.clear-public-cart",{"title":247,"path":248,"stem":249},"removePublicCartItem","\u002Fen\u002Freference\u002Foperations\u002Fremove-public-cart-item","en\u002F6.reference\u002F3.operations\u002F37.remove-public-cart-item",{"title":251,"path":252,"stem":253},"updatePublicCartItemQuantity","\u002Fen\u002Freference\u002Foperations\u002Fupdate-public-cart-item-quantity","en\u002F6.reference\u002F3.operations\u002F38.update-public-cart-item-quantity",{"title":255,"path":256,"stem":257},"addPublicCartItem","\u002Fen\u002Freference\u002Foperations\u002Fadd-public-cart-item","en\u002F6.reference\u002F3.operations\u002F39.add-public-cart-item",{"title":259,"path":260,"stem":261},"removePublicCartPromotion","\u002Fen\u002Freference\u002Foperations\u002Fremove-public-cart-promotion","en\u002F6.reference\u002F3.operations\u002F40.remove-public-cart-promotion",{"title":263,"path":264,"stem":265},"applyPublicCartPromotion","\u002Fen\u002Freference\u002Foperations\u002Fapply-public-cart-promotion","en\u002F6.reference\u002F3.operations\u002F41.apply-public-cart-promotion",{"title":267,"path":268,"stem":269},"quotePublicCart","\u002Fen\u002Freference\u002Foperations\u002Fquote-public-cart","en\u002F6.reference\u002F3.operations\u002F42.quote-public-cart",{"title":271,"path":272,"stem":273},"revokePublicCart","\u002Fen\u002Freference\u002Foperations\u002Frevoke-public-cart","en\u002F6.reference\u002F3.operations\u002F43.revoke-public-cart",{"title":275,"path":276,"stem":277},"getPublicCart","\u002Fen\u002Freference\u002Foperations\u002Fget-public-cart","en\u002F6.reference\u002F3.operations\u002F44.get-public-cart",{"title":279,"path":280,"stem":281},"createPublicCart","\u002Fen\u002Freference\u002Foperations\u002Fcreate-public-cart","en\u002F6.reference\u002F3.operations\u002F45.create-public-cart",{"title":283,"path":284,"stem":285},"getStorefrontOrderAfterSalesEligibility","\u002Fen\u002Freference\u002Foperations\u002Fget-storefront-order-after-sales-eligibility","en\u002F6.reference\u002F3.operations\u002F46.get-storefront-order-after-sales-eligibility",{"title":287,"path":288,"stem":289},"requestStorefrontOrderAfterSales","\u002Fen\u002Freference\u002Foperations\u002Frequest-storefront-order-after-sales","en\u002F6.reference\u002F3.operations\u002F47.request-storefront-order-after-sales",{"title":291,"path":292,"stem":293},"getStorefrontOrderCancellationEligibility","\u002Fen\u002Freference\u002Foperations\u002Fget-storefront-order-cancellation-eligibility","en\u002F6.reference\u002F3.operations\u002F48.get-storefront-order-cancellation-eligibility",{"title":295,"path":296,"stem":297},"cancelStorefrontOrder","\u002Fen\u002Freference\u002Foperations\u002Fcancel-storefront-order","en\u002F6.reference\u002F3.operations\u002F49.cancel-storefront-order",{"title":299,"path":300,"stem":301},"getStorefrontOrder","\u002Fen\u002Freference\u002Foperations\u002Fget-storefront-order","en\u002F6.reference\u002F3.operations\u002F50.get-storefront-order",{"title":303,"path":304,"stem":305},"listStorefrontOrders","\u002Fen\u002Freference\u002Foperations\u002Flist-storefront-orders","en\u002F6.reference\u002F3.operations\u002F51.list-storefront-orders",{"title":307,"path":308,"stem":309},"replayInstallationWebhookDelivery","\u002Fen\u002Freference\u002Foperations\u002Freplay-installation-webhook-delivery","en\u002F6.reference\u002F3.operations\u002F52.replay-installation-webhook-delivery",{"title":311,"path":312,"stem":313},"listInstallationWebhookDeliveries","\u002Fen\u002Freference\u002Foperations\u002Flist-installation-webhook-deliveries","en\u002F6.reference\u002F3.operations\u002F53.list-installation-webhook-deliveries",{"title":315,"path":316,"stem":317},"getInstallationWebhookSignatureFixture","\u002Fen\u002Freference\u002Foperations\u002Fget-installation-webhook-signature-fixture","en\u002F6.reference\u002F3.operations\u002F54.get-installation-webhook-signature-fixture",{"title":319,"path":320,"stem":321},"updateInstallationWebhook","\u002Fen\u002Freference\u002Foperations\u002Fupdate-installation-webhook","en\u002F6.reference\u002F3.operations\u002F55.update-installation-webhook",{"title":323,"path":324,"stem":325},"listInstallationWebhooks","\u002Fen\u002Freference\u002Foperations\u002Flist-installation-webhooks","en\u002F6.reference\u002F3.operations\u002F56.list-installation-webhooks",{"title":327,"path":328,"stem":329},"createInstallationWebhook","\u002Fen\u002Freference\u002Foperations\u002Fcreate-installation-webhook","en\u002F6.reference\u002F3.operations\u002F57.create-installation-webhook",{"title":331,"path":332,"stem":333},"listInstallationWebhookEvents","\u002Fen\u002Freference\u002Foperations\u002Flist-installation-webhook-events","en\u002F6.reference\u002F3.operations\u002F58.list-installation-webhook-events",{"title":335,"path":336,"stem":337},"Get public contact channels","\u002Fen\u002Freference\u002Foperations\u002Fget-public-contact","en\u002F6.reference\u002F3.operations\u002F59.get-public-contact",{"title":339,"path":340,"stem":341},"verifyStorefrontChallenge","\u002Fen\u002Freference\u002Foperations\u002Fverify-storefront-challenge","en\u002F6.reference\u002F3.operations\u002F60.verify-storefront-challenge",{"title":343,"path":344,"stem":345},"createStorefrontChallenge","\u002Fen\u002Freference\u002Foperations\u002Fcreate-storefront-challenge","en\u002F6.reference\u002F3.operations\u002F61.create-storefront-challenge",{"title":347,"path":348,"stem":349},"Get the public store security configuration","\u002Fen\u002Freference\u002Foperations\u002Fget-public-store-security-config","en\u002F6.reference\u002F3.operations\u002F62.get-public-store-security-config",{"title":351,"path":352,"stem":353},"Get the public runtime configuration","\u002Fen\u002Freference\u002Foperations\u002Fget-public-runtime-config","en\u002F6.reference\u002F3.operations\u002F63.get-public-runtime-config",{"title":355,"path":356,"stem":357},"Search public products","\u002Fen\u002Freference\u002Foperations\u002Fsearch-public-products","en\u002F6.reference\u002F3.operations\u002F64.search-public-products",{"title":359,"path":360,"stem":361},"Get the published Storefront decoration","\u002Fen\u002Freference\u002Foperations\u002Fget-public-storefront-decoration","en\u002F6.reference\u002F3.operations\u002F65.get-public-storefront-decoration",{"title":363,"icon":364,"path":365,"stem":366,"children":367,"page":22},"Examples","i-lucide-code-xml","\u002Fen\u002Fexamples","en\u002F7.examples",[368,372],{"title":369,"path":370,"stem":371},"Minimal Nuxt Storefront","\u002Fen\u002Fexamples\u002Fnuxt-storefront","en\u002F7.examples\u002F1.nuxt-storefront",{"title":373,"path":374,"stem":375},"Webhook verification","\u002Fen\u002Fexamples\u002Fwebhook-verification","en\u002F7.examples\u002F2.webhook-verification",{"title":377,"icon":378,"path":379,"stem":380,"children":381,"page":22},"Versions and support","i-lucide-life-buoy","\u002Fen\u002Foperations","en\u002F8.operations",[382,386],{"title":383,"path":384,"stem":385},"Versions, migrations, and changelog","\u002Fen\u002Foperations\u002Fversions-and-migrations","en\u002F8.operations\u002F1.versions-and-migrations",{"title":387,"path":388,"stem":389},"Support and security disclosure","\u002Fen\u002Foperations\u002Fsupport-and-security","en\u002F8.operations\u002F2.support-and-security",{"id":391,"title":11,"body":392,"description":797,"extension":798,"links":799,"meta":800,"navigation":685,"path":12,"seo":801,"stem":13,"__hash__":802},"docs_en\u002Fen\u002F1.getting-started\u002F1.quick-start.md",{"type":393,"value":394,"toc":792},"minimark",[395,399,408,413,480,483,487,494,530,537,541,761,788],[396,397,11],"h1",{"id":398},"quick-start",[400,401,402,403,407],"p",{},"For an enterprise production integration, complete every gate in the ",[404,405,406],"a",{"href":20},"enterprise integration journey",", from readiness through production and incident response. This page covers only the first public read.",[409,410,412],"h2",{"id":411},"choose-the-integration-boundary","Choose the integration boundary",[414,415,416,432],"table",{},[417,418,419],"thead",{},[420,421,422,426,429],"tr",{},[423,424,425],"th",{},"Goal",[423,427,428],{},"Use",[423,430,431],{},"Never use",[433,434,435,447,458,469],"tbody",{},[420,436,437,441,444],{},[438,439,440],"td",{},"Read public catalog",[438,442,443],{},"Public Storefront API",[438,445,446],{},"Merchant session cookie",[420,448,449,452,455],{},[438,450,451],{},"Access a user's account (after review\u002Fopening)",[438,453,454],{},"Authorization Code with PKCE S256 on the official authorization domain",[438,456,457],{},"Password grant, imitated sign-in, or shared Ayalink Cookie",[420,459,460,463,466],{},[438,461,462],{},"Server-to-server app",[438,464,465],{},"Installation token with minimum scopes",[438,467,468],{},"Browser-held client secret",[420,470,471,474,477],{},[438,472,473],{},"Receive business events",[438,475,476],{},"Installation-scoped signed Webhook",[438,478,479],{},"Unsigned callback or query token",[400,481,482],{},"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.",[409,484,486],{"id":485},"configure-the-public-base-url","Configure the public base URL",[400,488,489,490,493],{},"The ",[404,491,492],{"href":370},"Nuxt example"," requires only public configuration:",[495,496,501],"pre",{"className":497,"code":498,"language":499,"meta":500,"style":500},"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","",[502,503,504,512,518,524],"code",{"__ignoreMap":500},[505,506,509],"span",{"class":507,"line":508},"line",1,[505,510,511],{},"NUXT_PUBLIC_AYALINK_API_BASE=https:\u002F\u002Fapi.example.invalid\u002Fapi\u002Fv1\n",[505,513,515],{"class":507,"line":514},2,[505,516,517],{},"NUXT_PUBLIC_AYALINK_AUTH_BASE=https:\u002F\u002Fstorefront.example.invalid\n",[505,519,521],{"class":507,"line":520},3,[505,522,523],{},"NUXT_PUBLIC_AYALINK_CLIENT_ID=replace-with-public-client-id\n",[505,525,527],{"class":507,"line":526},4,[505,528,529],{},"NUXT_PUBLIC_AYALINK_REDIRECT_URI=https:\u002F\u002Fshop.example.invalid\u002Foauth\u002Fcallback\n",[400,531,532,533,536],{},"The values above are inert placeholders, not production endpoints. Never prefix a secret with ",[502,534,535],{},"NUXT_PUBLIC_",".",[409,538,540],{"id":539},"request-public-data","Request public data",[495,542,546],{"className":543,"code":544,"language":545,"meta":500,"style":500},"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",[502,547,548,595,606,625,646,666,672,680,687,738],{"__ignoreMap":500},[505,549,550,554,558,562,566,570,573,576,579,582,586,589,592],{"class":507,"line":508},[505,551,553],{"class":552},"spNyl","const",[505,555,557],{"class":556},"sTEyZ"," response ",[505,559,561],{"class":560},"sMK4o","=",[505,563,565],{"class":564},"s7zQu"," await",[505,567,569],{"class":568},"s2Zo4"," fetch",[505,571,572],{"class":556},"(",[505,574,575],{"class":560},"`${",[505,577,578],{"class":556},"apiBase",[505,580,581],{"class":560},"}",[505,583,585],{"class":584},"sfazB","\u002Fcatalog\u002Fproducts",[505,587,588],{"class":560},"`",[505,590,591],{"class":560},",",[505,593,594],{"class":560}," {\n",[505,596,597,601,604],{"class":507,"line":514},[505,598,600],{"class":599},"swJcz","  headers",[505,602,603],{"class":560},":",[505,605,594],{"class":560},[505,607,608,611,613,616,619,622],{"class":507,"line":520},[505,609,610],{"class":599},"    accept",[505,612,603],{"class":560},[505,614,615],{"class":560}," '",[505,617,618],{"class":584},"application\u002Fjson",[505,620,621],{"class":560},"'",[505,623,624],{"class":560},",\n",[505,626,627,630,633,635,637,639,642,644],{"class":507,"line":526},[505,628,629],{"class":560},"    '",[505,631,632],{"class":599},"accept-language",[505,634,621],{"class":560},[505,636,603],{"class":560},[505,638,615],{"class":560},[505,640,641],{"class":584},"en",[505,643,621],{"class":560},[505,645,624],{"class":560},[505,647,649,651,654,656,658,660,663],{"class":507,"line":648},5,[505,650,629],{"class":560},[505,652,653],{"class":599},"x-ayalink-market",[505,655,621],{"class":560},[505,657,603],{"class":560},[505,659,615],{"class":560},[505,661,662],{"class":584},"US",[505,664,665],{"class":560},"'\n",[505,667,669],{"class":507,"line":668},6,[505,670,671],{"class":560},"  }\n",[505,673,675,677],{"class":507,"line":674},7,[505,676,581],{"class":560},[505,678,679],{"class":556},")\n",[505,681,683],{"class":507,"line":682},8,[505,684,686],{"emptyLinePlaceholder":685},true,"\n",[505,688,690,693,696,699,702,704,707,710,713,716,718,720,723,726,728,730,733,736],{"class":507,"line":689},9,[505,691,692],{"class":564},"if",[505,694,695],{"class":556}," (",[505,697,698],{"class":560},"!",[505,700,701],{"class":556},"response",[505,703,536],{"class":560},[505,705,706],{"class":556},"ok) ",[505,708,709],{"class":564},"throw",[505,711,712],{"class":560}," new",[505,714,715],{"class":568}," Error",[505,717,572],{"class":556},[505,719,588],{"class":560},[505,721,722],{"class":584},"AYALINK_HTTP_",[505,724,725],{"class":560},"${",[505,727,701],{"class":556},[505,729,536],{"class":560},[505,731,732],{"class":556},"status",[505,734,735],{"class":560},"}`",[505,737,679],{"class":556},[505,739,741,743,746,748,750,753,755,758],{"class":507,"line":740},10,[505,742,553],{"class":552},[505,744,745],{"class":556}," envelope ",[505,747,561],{"class":560},[505,749,565],{"class":564},[505,751,752],{"class":556}," response",[505,754,536],{"class":560},[505,756,757],{"class":568},"json",[505,759,760],{"class":556},"()\n",[400,762,763,764,767,768,767,771,767,774,767,777,780,781,784,785,536],{},"Do not invent products when the API is unavailable. Treat ",[502,765,766],{},"401",", ",[502,769,770],{},"403",[502,772,773],{},"404",[502,775,776],{},"409",[502,778,779],{},"422",", and ",[502,782,783],{},"429"," as distinct states described in ",[404,786,787],{"href":95},"errors and rate limits",[789,790,791],"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":500,"searchDepth":514,"depth":514,"links":793},[794,795,796],{"id":411,"depth":514,"text":412},{"id":485,"depth":514,"text":486},{"id":539,"depth":514,"text":540},"Choose an integration environment and make the first public API request without storing secrets in a browser.","md",null,{},{"title":11,"description":797},"jbJUY8k5bNoMoEgjrBVRq4QmlsH7_rvYvOFGZZN0Wr4",[799,804],{"title":15,"path":16,"stem":17,"description":805,"children":-1},"Understand the public documentation, platform, store, installation, user, and provider trust boundaries.",1786284818065]