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