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