[{"data":1,"prerenderedAt":1339},["ShallowReactive",2],{"knowledge-routes":3,"zh:footer-pages":643,"zh:\u002Fcommerce\u002Fapi-authentication":656,"zh:\u002Fcommerce\u002Fapi-authentication:navigation":1204,"zh:related:\u002Fshopify\u002Fshopify-oauth-redirect-callback,\u002Fshopify\u002Fshopify-admin-api-graphql,\u002Fterms\u002Fhash-based-message-authentication-code,\u002Fcommerce\u002Fwebhooks,\u002Fcommerce\u002Fenvironments-permissions,\u002Fcommerce\u002Fapp-distribution-models,\u002Fterms\u002Foauth-2-authorization-framework,\u002Fterms\u002Faccess-scope,\u002Fterms\u002Frate-limiting,\u002Fterms\u002Fapi-versioning":1298,"zh:graph:\u002Fcommerce\u002Fapi-authentication":1311},{"en":4,"zh":32},[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],"\u002Fshopify\u002Fshopify-app-boundaries","\u002Fshopify\u002Fshopify-app-distribution","\u002Fshopify\u002Fshopify-app-environment-strategy","\u002Fshopify\u002Fshopify-app-review-access","\u002Fshopify\u002Fshopify-app-usage-billing","\u002Fshopify\u002Fshopify-multiple-apps-shared-backend","\u002Fshopify\u002Fshopify-oauth-redirect-callback","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fadd-to-cart-race","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fcomponent-base","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fkeyed-hydration","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Flayout-thrashing","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fliquid-smart-contrast","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fsection-rendering-morph","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fview-transitions","\u002Fshopify\u002Ftopics\u002Fapps-integrations","\u002Fdomains\u002Facquisition-marketing","\u002Fdomains\u002Fcustomer-service","\u002Fdomains\u002Fdata-analytics","\u002Fdomains\u002Ffinance-compliance","\u002Fdomains\u002Ffulfillment-logistics","\u002Fdomains\u002Fpayments","\u002Fdomains\u002Fplatform-development","\u002Fdomains\u002Fproduct-pricing","\u002Fdomains\u002Fretention","\u002Fdomains\u002Fstorefront-experience","\u002Fjourney\u002Fconvert","\u002Ffunnel\u002Fintent",[33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,5,6,7,8,9,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,10,328,329,11,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,12,387,388,389,390,391,13,392,393,394,14,395,15,16,396,397,398,399,400,401,402,17,403,404,405,18,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,19,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,20,21,22,23,24,25,26,27,28,29,632,633,30,634,635,636,637,638,639,640,31,641,642],"\u002Fcommerce\u002Faccessibility-compliance-baseline","\u002Fcommerce\u002Fad-creative-testing","\u002Fcommerce\u002Fapi-authentication","\u002Fcommerce\u002Fapp-distribution-models","\u002Fcommerce\u002Fassortment-planning","\u002Fcommerce\u002Fattribution-basics","\u002Fcommerce\u002Faudiences-remarketing","\u002Fcommerce\u002Fcampaign-formats","\u002Fcommerce\u002Fcheckout-design","\u002Fcommerce\u002Fcheckout-funnel","\u002Fcommerce\u002Fclearance-sales","\u002Fcommerce\u002Fcohort-analysis","\u002Fcommerce\u002Fconsent-and-advertising","\u002Fcommerce\u002Fconsumer-protection-basics","\u002Fcommerce\u002Fcontent-acquisition","\u002Fcommerce\u002Fcontent-localization","\u002Fcommerce\u002Fcontent-repurposing","\u002Fcommerce\u002Fcross-border-basics","\u002Fcommerce\u002Fcustom-data-modeling","\u002Fcommerce\u002Fcustomer-account-access","\u002Fcommerce\u002Fcustomer-data-platform","\u002Fcommerce\u002Fcustomer-demand-validation","\u002Fcommerce\u002Fcustomer-feedback-analysis","\u002Fcommerce\u002Fcustomer-journey-models","\u002Fcommerce\u002Fcustomer-lifecycle-segmentation","\u002Fcommerce\u002Fcustomer-support-channels","\u002Fcommerce\u002Fdata-collection","\u002Fcommerce\u002Fdata-quality","\u002Fcommerce\u002Fdelivery-promise","\u002Fcommerce\u002Fdomain-dns-tls","\u002Fcommerce\u002Fdtc-customer-journey","\u002Fcommerce\u002Femail-sms-marketing","\u002Fcommerce\u002Fenvironments-permissions","\u002Fcommerce\u002Fevent-tracking-plan","\u002Fcommerce\u002Fexperimentation","\u002Fcommerce\u002Fflash-sales","\u002Fcommerce\u002Ffulfillment-delivery","\u002Fcommerce\u002Fgift-with-purchase-bundles","\u002Fcommerce\u002Fgiveaways-contests","\u002Fcommerce\u002Fheadless-commerce","\u002Fcommerce\u002Fidentity-resolution","\u002Fcommerce\u002Finfluencer-collaborations","\u002Fcommerce\u002Finventory-accuracy","\u002Fcommerce\u002Finventory-basics","\u002Fcommerce\u002Finventory-replenishment","\u002Fcommerce\u002Fjourney-stage-alignment","\u002Fcommerce\u002Floyalty-programs","\u002Fcommerce\u002Fmarketing-budget-pacing","\u002Fcommerce\u002Fmarketing-campaign-review","\u002Fcommerce\u002Fmarketing-contact-frequency","\u002Fcommerce\u002Fmarketing-funnel","\u002Fcommerce\u002Fmedia-asset-management","\u002Fcommerce\u002Fmetric-definitions","\u002Fcommerce\u002Forder-event-ad-spend-grain","\u002Fcommerce\u002Forder-unit-economics","\u002Fcommerce\u002Fpaid-acquisition-signals","\u002Fcommerce\u002Fpartial-page-updates","\u002Fcommerce\u002Fpayment-methods","\u002Fcommerce\u002Fpayments-chargebacks","\u002Fcommerce\u002Fpeak-season-campaigns","\u002Fcommerce\u002Fplatform-extension-points","\u002Fcommerce\u002Fpost-purchase-education","\u002Fcommerce\u002Fpre-orders","\u002Fcommerce\u002Fpricing-discounts","\u002Fcommerce\u002Fprivacy-consent-basics","\u002Fcommerce\u002Fproduct-information","\u002Fcommerce\u002Fproduct-launches-drops","\u002Fcommerce\u002Fproduct-search-visibility","\u002Fcommerce\u002Freferral-programs","\u002Fcommerce\u002Frepeat-purchase-retention","\u002Fcommerce\u002Freturns-refunds","\u002Fcommerce\u002Freverse-logistics","\u002Fcommerce\u002Freview-collection","\u002Fcommerce\u002Fsales-channel-publishing","\u002Fcommerce\u002Fsales-tax-vat-basics","\u002Fcommerce\u002Fshipping-rates-strategy","\u002Fcommerce\u002Fstaff-access-control","\u002Fcommerce\u002Fstorefront-component-lifecycle","\u002Fcommerce\u002Fstorefront-design-tokens","\u002Fcommerce\u002Fstorefront-release-validation","\u002Fcommerce\u002Fstorefront-rendering-performance","\u002Fcommerce\u002Fsubscription-commerce","\u002Fcommerce\u002Fthreshold-promotions","\u002Fcommerce\u002Ftransactional-notifications","\u002Fcommerce\u002Furl-redirects","\u002Fcommerce\u002Fusage-based-billing","\u002Fcommerce\u002Fwebhooks","\u002Fcommerce\u002Fwin-back","\u002Fcontent-types\u002Fbrand-story","\u002Fcontent-types\u002Fbrand-values","\u002Fcontent-types\u002Fcore-message","\u002Fcontent-types\u002Fcustomer-reviews","\u002Fcontent-types\u002Fcustomer-testimonials","\u002Fcontent-types\u002Femail-signup","\u002Fcontent-types\u002Ffaq","\u002Fcontent-types\u002Ffeatured-products","\u002Fcontent-types\u002Fguarantee","\u002Fcontent-types\u002Floyalty-rewards","\u002Fcontent-types\u002Fmedia-coverage","\u002Fcontent-types\u002Fpackage-contents","\u002Fcontent-types\u002Fpayment-options","\u002Fcontent-types\u002Fproduct-categories","\u002Fcontent-types\u002Fproduct-overview","\u002Fcontent-types\u002Fproduct-showcase","\u002Fcontent-types\u002Fproduct-specifications","\u002Fcontent-types\u002Fproduct-video","\u002Fcontent-types\u002Fpromotions","\u002Fcontent-types\u002Fproof-metrics","\u002Fcontent-types\u002Frelated-products","\u002Fcontent-types\u002Fresources","\u002Fcontent-types\u002Fshipping-delivery-info","\u002Fcontent-types\u002Fsocial-follow","\u002Fcontent-types\u002Fsupport-contact","\u002Fcontent-types\u002Fthird-party-reviews","\u002Fcontent-types\u002Ftrust-marks","\u002Fcontent-types\u002Ftypes","\u002Fcontent-types\u002Fuser-generated-content","\u002Felevar\u002Fshopify-delivery-chain","\u002Fgoogle-ads\u002Fdynamic-remarketing-feed","\u002Fgoogle-ads\u002Fenhanced-conversions-boundaries","\u002Fgoogle-ads\u002Ftransaction-id-and-reconciliation","\u002Fgoogle-analytics\u002Fcustom-dimensions-and-reconciliation","\u002Fgoogle-analytics\u002Fecommerce-event-mapping","\u002Fgoogle-analytics\u002Fmeasurement-protocol","\u002Fgoogle-analytics\u002Fpage-view-and-spa","\u002Fgoogle-analytics\u002Fproperty-stream-debugging","\u002Fgoogle-merchant-center\u002Fgoogle-ads-linking","\u002Fgoogle-merchant-center\u002Fproduct-feed-review","\u002Fgoogle-tag-manager\u002Fconsent-trigger-troubleshooting","\u002Fgoogle-tag-manager\u002Fcontainers-and-publishing","\u002Fgoogle-tag-manager\u002Fdata-layer-events","\u002Fgoogle-tag-manager\u002Ftag-stack","\u002Fgorgias\u002Fmacros-automation","\u002Fgorgias\u002Ftickets-orders","\u002Fjudge-me\u002Freview-request-scheduling","\u002Fjudge-me\u002Freview-widget-verification","\u002Fklaviyo\u002Fdelivery-unsubscribe-troubleshooting","\u002Fklaviyo\u002Fflow-triggers-and-filters","\u002Fklaviyo\u002Fsubscription-consent-sources","\u002Fmeta-ads\u002Fcustomer-audience-sync","\u002Fmeta-ads\u002Fpixel-capi-event-mapping","\u002Fmeta-ads\u002Fpurchase-event-duplicates","\u002Fmodules\u002Favailability-notification","\u002Fmodules\u002Fbuy-box","\u002Fmodules\u002Fcart-summary","\u002Fmodules\u002Fcollection-browse-filter","\u002Fmodules\u002Fcookie-consent","\u002Fmodules\u002Fcross-sell-upsell","\u002Fmodules\u002Ffit-guidance","\u002Fmodules\u002Fpage-composition","\u002Fmodules\u002Fpatterns","\u002Fmodules\u002Fproduct-selection","\u002Fmodules\u002Fproduct-support-navigation","\u002Fmodules\u002Fpromotion-redemption","\u002Fmodules\u002Freview-display","\u002Fmodules\u002Fsignup-capture","\u002Fmodules\u002Fsite-search","\u002Fmodules\u002Fsocial-proof-strip","\u002Fmodules\u002Fsubscription-terms-summary","\u002Fmodules\u002Fvariant-media-gallery","\u002Fpaypal\u002Fcheckout-disputes","\u002Fpaypal\u002Frefund-not-received","\u002Fpaypal\u002Fsettlement-reconciliation","\u002Fpresentation\u002Faccordion","\u002Fpresentation\u002Fbadge","\u002Fpresentation\u002Fbanner","\u002Fpresentation\u002Fbefore-after","\u002Fpresentation\u002Fcallout","\u002Fpresentation\u002Fcards","\u002Fpresentation\u002Fcarousel","\u002Fpresentation\u002Fcomparison","\u002Fpresentation\u002Fcountdown-timer","\u002Fpresentation\u002Fdrawer","\u002Fpresentation\u002Fempty-state","\u002Fpresentation\u002Fgrid","\u002Fpresentation\u002Fhero","\u002Fpresentation\u002Fhotspot","\u002Fpresentation\u002Finline-form","\u002Fpresentation\u002Flist","\u002Fpresentation\u002Fmarquee","\u002Fpresentation\u002Fmasonry","\u002Fpresentation\u002Fmedia-gallery","\u002Fpresentation\u002Fmodal","\u002Fpresentation\u002Fnavigation-menu","\u002Fpresentation\u002Foverlay","\u002Fpresentation\u002Fpagination","\u002Fpresentation\u002Fpatterns","\u002Fpresentation\u002Fpopover","\u002Fpresentation\u002Fprogress-bar","\u002Fpresentation\u002Frating-stars","\u002Fpresentation\u002Fscroll-reveal","\u002Fpresentation\u002Fsingle-column","\u002Fpresentation\u002Fskeleton-loader","\u002Fpresentation\u002Fsplit","\u002Fpresentation\u002Fstepper","\u002Fpresentation\u002Fsticky-bar","\u002Fpresentation\u002Fswatch","\u002Fpresentation\u002Ftable","\u002Fpresentation\u002Ftabs","\u002Fpresentation\u002Ftimeline","\u002Fpresentation\u002Ftoast","\u002Fregulations\u002Fca-casl","\u002Fregulations\u002Fca-pipeda-consent","\u002Fregulations\u002Feu-accessibility-act","\u002Fregulations\u002Feu-consumer-rights","\u002Fregulations\u002Feu-gdpr-eprivacy-consent","\u002Fregulations\u002Feu-price-reduction-indication","\u002Fregulations\u002Feu-psd2-sca","\u002Fregulations\u002Feu-ucpd-reviews-ranking","\u002Fregulations\u002Feu-vat-oss-ioss","\u002Fregulations\u002Fuk-consumer-contracts","\u002Fregulations\u002Fuk-consumer-rights","\u002Fregulations\u002Fuk-dmcc-reviews-pricing","\u002Fregulations\u002Fuk-gdpr-pecr-consent","\u002Fregulations\u002Fuk-vat-overseas-sellers","\u002Fregulations\u002Fus-can-spam","\u002Fregulations\u002Fus-consumer-reviews-testimonials","\u002Fregulations\u002Fus-endorsement-guides","\u002Fregulations\u002Fus-mail-order-rule","\u002Fregulations\u002Fus-tcpa-text-consent","\u002Fshopify\u002Farticle","\u002Fshopify\u002Farticle\u002Fbuying-guide-article","\u002Fshopify\u002Farticle\u002Fhow-to-article","\u002Fshopify\u002Fblog","\u002Fshopify\u002Fcart","\u002Fshopify\u002Fcollection","\u002Fshopify\u002Fcollection\u002Fcampaign-collection-page","\u002Fshopify\u002Fcollection\u002Fcategory-collection-page","\u002Fshopify\u002Fdawn-vs-horizon","\u002Fshopify\u002Fdiscount-troubleshooting","\u002Fshopify\u002Femail-platform-comparison","\u002Fshopify\u002Fhomepage","\u002Fshopify\u002Finventory-mismatch","\u002Fshopify\u002Flist-collections","\u002Fshopify\u002Forder-analytics-reconciliation","\u002Fshopify\u002Fpage","\u002Fshopify\u002Fpage\u002Fabout-us","\u002Fshopify\u002Fpage\u002Fbrand-story","\u002Fshopify\u002Fpage\u002Fcampaign-landing","\u002Fshopify\u002Fpage\u002Fcontact-us","\u002Fshopify\u002Fpage\u002Ffaq","\u002Fshopify\u002Fpage\u002Fgiveaway","\u002Fshopify\u002Fpage\u002Floyalty-program","\u002Fshopify\u002Fpage\u002Forder-tracking","\u002Fshopify\u002Fpage\u002Fpolicies","\u002Fshopify\u002Fpage\u002Fpress","\u002Fshopify\u002Fpage\u002Freviews","\u002Fshopify\u002Fpage\u002Fshipping-returns","\u002Fshopify\u002Fpage\u002Fsize-guide","\u002Fshopify\u002Fpage\u002Fstore-locator","\u002Fshopify\u002Fpayment-gateway-comparison","\u002Fshopify\u002Fpreorder-delay-troubleshooting","\u002Fshopify\u002Fproduct","\u002Fshopify\u002Fproduct\u002Ffit-sensitive-product-page","\u002Fshopify\u002Fproduct\u002Fpreorder-subscription-page","\u002Fshopify\u002Fproduct\u002Fproduct-drop-page","\u002Fshopify\u002Fproduct\u002Fstandard-product-page","\u002Fshopify\u002Freview-options-comparison","\u002Fshopify\u002Fsearch","\u002Fshopify\u002Fshipping-rate-troubleshooting","\u002Fshopify\u002Fshopify-admin-api-graphql","\u002Fshopify\u002Fshopify-admin-map","\u002Fshopify\u002Fshopify-amount-check","\u002Fshopify\u002Fshopify-analytics-reports","\u002Fshopify\u002Fshopify-b2b","\u002Fshopify\u002Fshopify-bundles","\u002Fshopify\u002Fshopify-checkout-customization","\u002Fshopify\u002Fshopify-collections-publishing","\u002Fshopify\u002Fshopify-custom-data","\u002Fshopify\u002Fshopify-customer-accounts","\u002Fshopify\u002Fshopify-customer-privacy","\u002Fshopify\u002Fshopify-customer-segments","\u002Fshopify\u002Fshopify-discounts","\u002Fshopify\u002Fshopify-domains-dns","\u002Fshopify\u002Fshopify-ecosystem","\u002Fshopify\u002Fshopify-ecosystem-analysis","\u002Fshopify\u002Fshopify-entry-map","\u002Fshopify\u002Fshopify-file-sync-diff","\u002Fshopify\u002Fshopify-files-media","\u002Fshopify\u002Fshopify-flow","\u002Fshopify\u002Fshopify-follow-on-shop","\u002Fshopify\u002Fshopify-fraud-disputes","\u002Fshopify\u002Fshopify-fulfillment-delivery","\u002Fshopify\u002Fshopify-functions-extensions","\u002Fshopify\u002Fshopify-gift-cards","\u002Fshopify\u002Fshopify-headless","\u002Fshopify\u002Fshopify-identities-permissions","\u002Fshopify\u002Fshopify-inventory-locations","\u002Fshopify\u002Fshopify-knowledge-base-method","\u002Fshopify\u002Fshopify-knowledge-source-inventory","\u002Fshopify\u002Fshopify-local-delivery-pickup","\u002Fshopify\u002Fshopify-marketing-channels","\u002Fshopify\u002Fshopify-marketing-messaging","\u002Fshopify\u002Fshopify-markets-shipping","\u002Fshopify\u002Fshopify-multi-currency-pricing","\u002Fshopify\u002Fshopify-navigation-menus","\u002Fshopify\u002Fshopify-notifications-emails","\u002Fshopify\u002Fshopify-online-store-preferences","\u002Fshopify\u002Fshopify-order-payment-status","\u002Fshopify\u002Fshopify-orders-management","\u002Fshopify\u002Fshopify-payments-checkout","\u002Fshopify\u002Fshopify-plans","\u002Fshopify\u002Fshopify-pos","\u002Fshopify\u002Fshopify-product-import-export","\u002Fshopify\u002Fshopify-products-variants","\u002Fshopify\u002Fshopify-purchase-journey","\u002Fshopify\u002Fshopify-purchase-validation","\u002Fshopify\u002Fshopify-returns-refunds","\u002Fshopify\u002Fshopify-sales-channels","\u002Fshopify\u002Fshopify-search-and-discovery","\u002Fshopify\u002Fshopify-selling-plans","\u002Fshopify\u002Fshopify-shipping-rates-labels","\u002Fshopify\u002Fshopify-storefront","\u002Fshopify\u002Fshopify-storefront-performance","\u002Fshopify\u002Fshopify-storefront-seo-framework","\u002Fshopify\u002Fshopify-tagging-options","\u002Fshopify\u002Fshopify-taxes-duties","\u002Fshopify\u002Fshopify-theme-management","\u002Fshopify\u002Fshopify-translation-localization","\u002Fshopify\u002Fshopify-url-redirects","\u002Fshopify\u002Fshopify-verification-priorities","\u002Fshopify\u002Fshopify-web-pixels","\u002Fshopify\u002Fshopify-webhooks-events","\u002Fshopify\u002Fsubscription-app-comparison","\u002Fshopify\u002Ftheme\u002Farchitecture","\u002Fshopify\u002Ftheme\u002Fcapability-modules","\u002Fshopify\u002Ftheme\u002Fcontent-architecture","\u002Fshopify\u002Ftheme\u002Fdecision-patterns-and-states","\u002Fshopify\u002Ftheme\u002Fdelivery-framework","\u002Fshopify\u002Ftheme\u002Fglobal-regions","\u002Fshopify\u002Ftheme\u002Flayout","\u002Fshopify\u002Ftheme\u002Flocales","\u002Fshopify\u002Ftheme\u002Fsettings","\u002Fshopify\u002Ftheme\u002Ftemplates","\u002Fshopify\u002Fthemes\u002Fdawn\u002Faccessibility-patterns","\u002Fshopify\u002Fthemes\u002Fdawn\u002Farchitecture","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fbuy-form-and-availability","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fcart-drawer-notification","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fcolor-schemes","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fcontent-sections-and-animations","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fcountdown-timer","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fcustom-elements-pubsub","\u002Fshopify\u002Fthemes\u002Fdawn\u002Ffacets-and-pagination","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fheader-navigation","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fhtml-update-utility","\u002Fshopify\u002Fthemes\u002Fdawn\u002Floading-performance","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fnewsletter-and-badges","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fpredictive-search","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fproduct-media","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fquantity-input","\u002Fshopify\u002Fthemes\u002Fdawn\u002Frecommendations","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fsection-rendering","\u002Fshopify\u002Fthemes\u002Fdawn\u002Ftheme-editor-events","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fvariant-update-protocol","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Farchitecture","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fbadges-reviews-signup","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fbuying","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fcart","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fcollection-search","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fcontent-modules","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Ffacets-and-pagination","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fheader-navigation","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Flayout","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fmarquee-slideshow-animations","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fmedia-zoom-and-hotspots","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fpredictive-search","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fproduct-cards","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fproduct-page","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Freading-source","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Frecommendations","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fsticky-add-to-cart-and-availability","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fstyles","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fvariants","\u002Fshopify\u002Fthemes\u002Fimpact\u002Fbehavior-components","\u002Fshopify\u002Fthemes\u002Fimpact\u002Fcart-events","\u002Fshopify\u002Fthemes\u002Fimpact\u002Fdialog-element","\u002Fshopify\u002Fthemes\u002Fimpact","\u002Fshopify\u002Fthemes\u002Fimpact\u002Flazy-media-player","\u002Fshopify\u002Fthemes\u002Fimpact\u002Fsection-spacing-collapsing","\u002Fshopify\u002Fthemes\u002Fimpact\u002Fvariant-picker-rerender","\u002Fshopify\u002Fthemes","\u002Fshopify\u002Fthemes\u002Fpattern-coverage","\u002Fshopify\u002Fwebhook-delivery-troubleshooting","\u002Ftasks\u002Fadd-product-custom-fields","\u002Ftasks\u002Fanalyse-a-repeat-purchase-cohort","\u002Ftasks\u002Fanalyze-customer-feedback","\u002Ftasks\u002Fanswer-order-status-inquiries","\u002Ftasks\u002Faudit-marketing-contact-pressure","\u002Ftasks\u002Fbuild-a-content-calendar","\u002Ftasks\u002Fcalculate-order-contribution","\u002Ftasks\u002Fcalculate-promotion-margin","\u002Ftasks\u002Fclean-up-a-marketing-list","\u002Ftasks\u002Fcollect-and-display-customer-reviews","\u002Ftasks\u002Fconfigure-sales-tax-or-vat","\u002Ftasks\u002Fconfigure-site-search-and-filters","\u002Ftasks\u002Fdefine-repeat-purchase-metrics","\u002Ftasks\u002Fdesign-loyalty-points-rules","\u002Ftasks\u002Fdiagnose-storefront-performance","\u002Ftasks\u002Fenable-and-test-a-payment-method","\u002Ftasks\u002Fevaluate-and-install-an-app","\u002Ftasks\u002Fhandle-a-delayed-order","\u002Ftasks\u002Fhandle-subscription-pause-and-cancellation","\u002Ftasks\u002Fintegrate-and-verify-a-webhook","\u002Ftasks\u002Flaunch-a-referral-program","\u002Ftasks\u002Fplan-a-discount-campaign","\u002Ftasks\u002Fplan-a-peak-season-campaign","\u002Ftasks\u002Fplan-a-product-assortment","\u002Ftasks\u002Fplan-a-win-back-campaign","\u002Ftasks\u002Fplan-an-ad-creative-test","\u002Ftasks\u002Fplan-inventory-replenishment","\u002Ftasks\u002Fplan-post-purchase-education","\u002Ftasks\u002Fprocess-a-refund","\u002Ftasks\u002Fprocess-returned-goods","\u002Ftasks\u002Fpublish-privacy-notice","\u002Ftasks\u002Freconcile-orders-and-analytics","\u002Ftasks\u002Frespond-to-a-chargeback","\u002Ftasks\u002Frespond-to-a-negative-review","\u002Ftasks\u002Freview-a-marketing-campaign","\u002Ftasks\u002Freview-creator-deliverables","\u002Ftasks\u002Freview-marketing-budget-pacing","\u002Ftasks\u002Freview-product-page-module-order","\u002Ftasks\u002Frun-a-cycle-count","\u002Ftasks\u002Frun-a-giveaway","\u002Ftasks\u002Frun-a-post-purchase-survey","\u002Ftasks\u002Frun-an-accessibility-baseline","\u002Ftasks\u002Fsend-back-in-stock-notifications","\u002Ftasks\u002Fseparate-development-environments","\u002Ftasks\u002Fset-shipping-rates","\u002Ftasks\u002Fset-up-a-pre-order","\u002Ftasks\u002Fset-up-a-welcome-flow","\u002Ftasks\u002Fset-up-conversion-tracking","\u002Ftasks\u002Fset-up-cookie-consent","\u002Ftasks\u002Fset-up-presales-support","\u002Ftasks\u002Ftag-campaign-links","\u002Ftasks\u002Ftest-a-purchase","\u002Ftasks\u002Fvalidate-a-customer-need","\u002Ftasks\u002Fvalidate-audience-sync","\u002Ftasks\u002Fwrite-a-creator-brief","\u002Ftasks\u002Fwrite-a-return-policy","\u002Ftasks\u002Fwrite-an-event-tracking-plan","\u002Ftasks\u002Fwrite-product-use-and-care-guide","\u002Fterms\u002Fabove-the-fold","\u002Fterms\u002Faccess-scope","\u002Fterms\u002Faccessible-rich-internet-applications","\u002Fterms\u002Famericans-with-disabilities-act","\u002Fterms\u002Fapi-versioning","\u002Fterms\u002Fattribution-model","\u002Fterms\u002Fattribution-window","\u002Fterms\u002Faverage-order-value","\u002Fterms\u002Faverage-resolution-time","\u002Fterms\u002Fbackorder","\u002Fterms\u002Fblack-friday-cyber-monday","\u002Fterms\u002Fbreak-even-point","\u002Fterms\u002Fbusiness-to-business","\u002Fterms\u002Fbusiness-to-consumer","\u002Fterms\u002Fbuy-now-pay-later","\u002Fterms\u002Fcall-to-action","\u002Fterms\u002Fcart-abandonment-rate","\u002Fterms\u002Fcash-flow","\u002Fterms\u002Fcash-on-delivery","\u002Fterms\u002Fchargeback","\u002Fterms\u002Fclick-through-rate","\u002Fterms\u002Fcohort","\u002Fterms\u002Fcontent-delivery-network","\u002Fterms\u002Fcontent-security-policy","\u002Fterms\u002Fcontribution-margin","\u002Fterms\u002Fconversion-rate","\u002Fterms\u002Fconversion-rate-optimization","\u002Fterms\u002Fcost-of-goods-sold","\u002Fterms\u002Fcost-per-action","\u002Fterms\u002Fcost-per-click","\u002Fterms\u002Fcost-per-mille","\u002Fterms\u002Fcross-selling","\u002Fterms\u002Fcumulative-layout-shift","\u002Fterms\u002Fcustomer-acquisition-cost","\u002Fterms\u002Fcustomer-churn-rate","\u002Fterms\u002Fcustomer-effort-score","\u002Fterms\u002Fcustomer-lifetime-value","\u002Fterms\u002Fcustomer-relationship-management","\u002Fterms\u002Fcustomer-retention-rate","\u002Fterms\u002Fcustomer-satisfaction-score","\u002Fterms\u002Fdays-of-supply","\u002Fterms\u002Fdelivered-at-place","\u002Fterms\u002Fdelivered-duty-paid","\u002Fterms\u002Fdirect-to-consumer","\u002Fterms\u002Fdomain-name-system-record","\u002Fterms\u002Femail-delivery-rate","\u002Fterms\u002Feuropean-accessibility-act","\u002Fterms\u002Fevent","\u002Fterms\u002Ffeature-flag","\u002Fterms\u002Ffirst-contact-resolution","\u002Fterms\u002Ffirst-response-time","\u002Fterms\u002Fgeneral-data-protection-regulation","\u002Fterms\u002Fglobal-trade-item-number","\u002Fterms\u002Fgross-margin","\u002Fterms\u002Fgross-merchandise-value","\u002Fterms\u002Fgross-profit","\u002Fterms\u002Fharmonized-system-code","\u002Fterms\u002Fhash-based-message-authentication-code","\u002Fterms\u002Fideal-customer-profile","\u002Fterms\u002Fidempotency-key","\u002Fterms\u002Fimport-one-stop-shop","\u002Fterms\u002Finteraction-to-next-paint","\u002Fterms\u002Finventory-record-accuracy","\u002Fterms\u002Flanded-cost","\u002Fterms\u002Flargest-contentful-paint","\u002Fterms\u002Flead-time","\u002Fterms\u002Fminimum-order-quantity","\u002Fterms\u002Fmonth-to-date","\u002Fterms\u002Fmonthly-recurring-revenue","\u002Fterms\u002Fnet-promoter-score","\u002Fterms\u002Fnet-sales","\u002Fterms\u002Foauth-2-authorization-framework","\u002Fterms\u002Fpayment-authorization","\u002Fterms\u002Fpayment-capture","\u002Fterms\u002Fpayment-settlement","\u002Fterms\u002Fpoint-of-sale","\u002Fterms\u002Fpre-order","\u002Fterms\u002Fproduct-bundle","\u002Fterms\u002Fproduct-detail-page","\u002Fterms\u002Fproduct-market-fit","\u002Fterms\u002Fproduct-variant","\u002Fterms\u002Frate-limiting","\u002Fterms\u002Freactivation-rate","\u002Fterms\u002Frecency-frequency-monetary","\u002Fterms\u002Frefund","\u002Fterms\u002Freorder-point","\u002Fterms\u002Frepeat-purchase-rate","\u002Fterms\u002Fresponsive-web-design","\u002Fterms\u002Freturn-on-ad-spend","\u002Fterms\u002Freturn-rate","\u002Fterms\u002Frevenue-per-session","\u002Fterms\u002Fsafety-stock","\u002Fterms\u002Fsearch-engine-marketing","\u002Fterms\u002Fsearch-engine-optimization","\u002Fterms\u002Fsell-through-rate","\u002Fterms\u002Fservice-level-agreement","\u002Fterms\u002Fsession","\u002Fterms\u002Fstaging-environment","\u002Fterms\u002Fstock-keeping-unit","\u002Fterms\u002Fstrong-customer-authentication","\u002Fterms\u002Fsubscription-churn-rate","\u002Fterms\u002Ftelevision-commercial","\u002Fterms\u002Fthird-party-logistics","\u002Fterms\u002Fthree-domain-secure","\u002Fterms\u002Fticket-backlog","\u002Fterms\u002Ftls-certificate","\u002Fterms\u002Funique-selling-proposition","\u002Fterms\u002Funsubscribe-rate","\u002Fterms\u002Fup-selling","\u002Fterms\u002Furchin-tracking-module","\u002Fterms\u002Fuser","\u002Fterms\u002Fuser-generated-content","\u002Fterms\u002Fvalue-added-tax","\u002Fterms\u002Fweb-content-accessibility-guidelines","\u002Fterms\u002Fwebhook","\u002Fwordpress\u002Ftemplates-and-content","\u002Fwordpress\u002Ftheme-json-and-patterns","\u002Fshopify\u002Ftopics\u002Fcustomers","\u002Fshopify\u002Ftopics\u002Fdata-automation","\u002Fshopify\u002Ftopics\u002Fecosystem","\u002Fshopify\u002Ftopics\u002Fofficial-themes","\u002Fshopify\u002Ftopics\u002Fpage-composition-patterns","\u002Fshopify\u002Ftopics\u002Fproducts-content","\u002Fshopify\u002Ftopics\u002Fstore-management","\u002Fshopify\u002Ftopics\u002Fstorefront","\u002Fshopify\u002Ftopics\u002Fstorefront-content-types","\u002Fshopify\u002Ftopics\u002Fstorefront-modules","\u002Fshopify\u002Ftopics\u002Fstorefront-pages","\u002Fshopify\u002Ftopics\u002Ftransactions","\u002Fcommerce\u002Fpaths\u002Fcampaign-planning","\u002Fcommerce\u002Fpaths\u002Fcampaign-tracking","\u002Fcommerce\u002Fpaths\u002Fcommerce-concepts","\u002Fcommerce\u002Fpaths\u002Fcommerce-terms-foundation","\u002Fcommerce\u002Fpaths\u002Fcompliance-baseline","\u002Fcommerce\u002Fpaths\u002Fconsent-and-tracking","\u002Fcommerce\u002Fpaths\u002Fcustomer-demand-validation","\u002Fcommerce\u002Fpaths\u002Fecommerce-tracking-implementation","\u002Fcommerce\u002Fpaths\u002Fmarketing-measurement","\u002Fcommerce\u002Fpaths\u002Forder-unit-economics","\u002Fcommerce\u002Fpaths\u002Fplatform-development-foundations","\u002Fcommerce\u002Fpaths\u002Fplatform-integration-foundations","\u002Fcommerce\u002Fpaths\u002Fpost-purchase-operations","\u002Fcommerce\u002Fpaths\u002Fproduct-to-purchase","\u002Fcommerce\u002Fpaths\u002Frepeat-purchase-cohorts","\u002Fcommerce\u002Fpaths\u002Fretention-operations","\u002Fcommerce\u002Fpaths\u002Fshipping-and-service","\u002Fcommerce\u002Fpaths\u002Ftrustworthy-commerce-data","\u002Fshopify\u002Fpaths\u002Fbuild-your-store","\u002Fshopify\u002Fpaths\u002Fcontent-foundations","\u002Fshopify\u002Fpaths\u002Fdawn","\u002Fshopify\u002Fpaths\u002Fofficial-themes","\u002Fshopify\u002Fpaths\u002Fpage-recipes","\u002Fshopify\u002Fpaths\u002Fplatform-basics","\u002Fshopify\u002Fpaths\u002Fpresentation-accessibility","\u002Fshopify\u002Fpaths\u002Fstorefront-platform-mechanisms","\u002Fshopify\u002Fpaths\u002Ftheme-foundations","\u002Fshopify\u002Fpaths\u002Ftheme-pattern-audit","\u002Fshopify\u002Fpaths\u002Fvalidate-purchase-tracking","\u002Fjourney\u002Fdiscover","\u002Fjourney\u002Fevaluate","\u002Fjourney\u002Frepurchase","\u002Fjourney\u002Fuse","\u002Fjourney\u002Fengage","\u002Fjourney\u002Fdeliver","\u002Ffunnel\u002Fawareness","\u002Ffunnel\u002Finterest","\u002Ffunnel\u002Fconsideration","\u002Ffunnel\u002Fpurchase","\u002Ffunnel\u002Fengage",[644,648,652],{"id":645,"path":646,"title":647},"zh_sitePages\u002Fabout.md","\u002Fabout","关于 WooDawn",{"id":649,"path":650,"title":651},"zh_sitePages\u002Flegal\u002Fprivacy.md","\u002Flegal\u002Fprivacy","隐私说明",{"id":653,"path":654,"title":655},"zh_sitePages\u002Flegal\u002Fterms.md","\u002Flegal\u002Fterms","内容使用说明",{"document":657,"isArticle":1171},{"id":658,"title":659,"abbreviations":660,"aliases":661,"answers":662,"appliesTo":663,"articleType":664,"body":665,"businessModel":1161,"constrainedBy":1162,"currency":1163,"description":1164,"discussionUrl":663,"domains":1165,"evidenceStatus":1167,"extension":1168,"funnel":1169,"implements":1170,"indexable":1171,"measuredBy":1172,"meta":1173,"metric":663,"navigation":1171,"needs":1174,"originalSources":1175,"path":35,"regions":1176,"related":1177,"reviewAfter":663,"roles":1178,"seo":1180,"seoImage":663,"seoTitle":663,"sources":1181,"stages":1184,"status":1185,"stem":1186,"supersededBy":663,"tags":1187,"term":663,"themeSources":1195,"tools":1196,"updatedAt":1199,"uses":1200,"verification":1201,"verifiedAt":1202,"__hash__":1203},"zh_articles\u002Fcommerce\u002Fapi-authentication.md","平台 API 与认证：身份、授权与令牌生命周期",[],[],[],null,"concept",{"type":666,"value":667,"toc":1154},"minimark",[668,672,676,686,753,762,765,774,836,932,935,938,941,982,1047,1055,1059,1062,1116,1119,1122,1150],[669,670,671],"p",{},"一个订单同步程序能读取订单，不代表它可以替顾客登录，也不代表它可以修改订单。设计集成时，先写清“谁以什么身份，对哪家店的什么资源，执行什么动作”，再选择令牌。",[673,674,675],"h2",{"id":675},"认证和授权回答不同问题",[669,677,678,679],{},"认证确认请求来自哪个身份；授权决定该身份获准做什么。OAuth 是委托访问的授权框架，不能仅凭“拿到了 OAuth 访问令牌”就推断已完成顾客登录。需要登录身份时，应使用平台规定的身份认证协议并验证其面向的应用与会话。",[680,681,685],"a",{"href":682,"rel":683},"https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc6749",[684],"nofollow","RFC 6749",[687,688,689,705],"table",{},[690,691,692],"thead",{},[693,694,695,699,702],"tr",{},[696,697,698],"th",{},"身份",[696,700,701],{},"典型任务",[696,703,704],{},"应核对的边界",[706,707,708,720,731,742],"tbody",{},[693,709,710,714,717],{},[711,712,713],"td",{},"商家安装的应用",[711,715,716],{},"后台同步订单、库存",[711,718,719],{},"应用、店铺、安装关系、实际授予的权限",[693,721,722,725,728],{},[711,723,724],{},"商家员工",[711,726,727],{},"在后台发起具体操作",[711,729,730],{},"应用权限之外，是否还受该员工角色限制",[693,732,733,736,739],{},[711,734,735],{},"顾客",[711,737,738],{},"查看自己的订单、管理账户",[711,740,741],{},"顾客会话、所属资源与账户 API；不能复用后台应用令牌",[693,743,744,747,750],{},[711,745,746],{},"匿名访客",[711,748,749],{},"浏览公开商品、建立购物车",[711,751,752],{},"平台明确允许公开的资源；公开访问不等于后台访问",[669,754,755,756,761],{},"同一个人既是店主又是消费者，也仍有两套业务身份。Shopify 的 Admin、Storefront、Customer Account API 使用各自的认证契约；在线令牌还可能受员工权限限制，见",[680,757,760],{"href":758,"rel":759},"https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Fbuild\u002Fauthentication-authorization",[684],"官方认证概览","。",[673,763,764],{"id":764},"先画授权链路",[669,766,767,768,773],{},"在委托授权模型中，资源所有者批准应用访问，应用向授权服务器出示这份授权许可，授权服务器核验后签发凭据，资源服务器检查凭据并提供资源（",[680,769,772],{"href":770,"rel":771},"https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc6749#section-1.2",[684],"RFC 6749 第 1.2 节","）。平台可能把后二者放在同一服务里，职责仍然不同。把这条链路落实为一份权限表：",[687,775,776,786],{},[690,777,778],{},[693,779,780,783],{},[696,781,782],{},"字段",[696,784,785],{},"应记录的内容",[706,787,788,796,804,812,820,828],{},[693,789,790,793],{},[711,791,792],{},"业务动作",[711,794,795],{},"例如“读取已付款订单供仓库备货”，不能只写“接 API”",[693,797,798,801],{},[711,799,800],{},"资源边界",[711,802,803],{},"店铺、组织、订单范围与环境",[693,805,806,809],{},[711,807,808],{},"调用身份",[711,810,811],{},"商家应用、员工或顾客；是否需要无人值守运行",[693,813,814,817],{},[711,815,816],{},"请求与实际授权",[711,818,819],{},"所申请的范围、实际授予范围、额外审批或数据限制",[693,821,822,825],{},[711,823,824],{},"凭据契约",[711,826,827],{},"目标 API、签发方、受众、有效期、刷新和撤销方式",[693,829,830,833],{},[711,831,832],{},"失败处理",[711,834,835],{},"授权不足时停止什么、提示谁、怎样恢复",[837,838,843],"pre",{"className":839,"code":840,"language":841,"meta":842,"style":842},"language-mermaid shiki shiki-themes github-light","sequenceDiagram\n  accTitle: 委托授权模型中的四个角色\n  accDescr: 资源所有者批准应用访问，应用向授权服务器出示授权许可，授权服务器核验后向应用签发凭据，应用携带凭据请求资源，资源服务器检查凭据后提供资源；授权服务器与资源服务器可能在同一服务里，但职责不同。\n  participant owner as 资源所有者\n  participant app as 应用\n  participant auth as 授权服务器\n  participant rs as 资源服务器\n  owner->>app: 批准应用访问\n  app->>auth: 出示授权许可\n  auth-->>app: 核验后签发凭据\n  app->>rs: 携带凭据请求资源\n  rs->>rs: 检查凭据\n  rs-->>app: 提供资源\n  Note over auth,rs: 平台可能放在同一服务里，职责仍然不同\n","mermaid","",[844,845,846,854,860,866,872,878,884,890,896,902,908,914,920,926],"code",{"__ignoreMap":842},[847,848,851],"span",{"class":849,"line":850},"line",1,[847,852,853],{},"sequenceDiagram\n",[847,855,857],{"class":849,"line":856},2,[847,858,859],{},"  accTitle: 委托授权模型中的四个角色\n",[847,861,863],{"class":849,"line":862},3,[847,864,865],{},"  accDescr: 资源所有者批准应用访问，应用向授权服务器出示授权许可，授权服务器核验后向应用签发凭据，应用携带凭据请求资源，资源服务器检查凭据后提供资源；授权服务器与资源服务器可能在同一服务里，但职责不同。\n",[847,867,869],{"class":849,"line":868},4,[847,870,871],{},"  participant owner as 资源所有者\n",[847,873,875],{"class":849,"line":874},5,[847,876,877],{},"  participant app as 应用\n",[847,879,881],{"class":849,"line":880},6,[847,882,883],{},"  participant auth as 授权服务器\n",[847,885,887],{"class":849,"line":886},7,[847,888,889],{},"  participant rs as 资源服务器\n",[847,891,893],{"class":849,"line":892},8,[847,894,895],{},"  owner->>app: 批准应用访问\n",[847,897,899],{"class":849,"line":898},9,[847,900,901],{},"  app->>auth: 出示授权许可\n",[847,903,905],{"class":849,"line":904},10,[847,906,907],{},"  auth-->>app: 核验后签发凭据\n",[847,909,911],{"class":849,"line":910},11,[847,912,913],{},"  app->>rs: 携带凭据请求资源\n",[847,915,917],{"class":849,"line":916},12,[847,918,919],{},"  rs->>rs: 检查凭据\n",[847,921,923],{"class":849,"line":922},13,[847,924,925],{},"  rs-->>app: 提供资源\n",[847,927,929],{"class":849,"line":928},14,[847,930,931],{},"  Note over auth,rs: 平台可能放在同一服务里，职责仍然不同\n",[669,933,934],{},"范围名称只是平台定义的权限单位，不是一套跨平台通用角色。请求了某个范围不等于已经获准，接口可用也不等于任意店铺资源都可访问。版本、分页和限流应另列接口契约，不要把限流失败当作令牌失效。",[673,936,937],{"id":937},"生命周期比第一次连通更重要",[669,939,940],{},"以下是编辑整理的设计检查，不规定统一的令牌寿命：",[942,943,944,952,958,964,970,976],"ol",{},[945,946,947,951],"li",{},[948,949,950],"strong",{},"取得","：采用平台当前支持的流程和维护中的官方库。重定向流程核对回调地址、授权事务与返回方，不能信任任意回跳参数。",[945,953,954,957],{},[948,955,956],{},"保存","：服务端秘密凭据进入密钥管理与受限存储，不放浏览器、URL、日志或仓库。公开客户端标识与平台明确可公开的令牌应分开分类。",[945,959,960,963],{},[948,961,962],{},"使用","：按应用、店铺、环境和目标接口取凭据，不从请求里的任意店铺参数直接选出另一个租户的令牌。",[945,965,966,969],{},[948,967,968],{},"到期与刷新","：记录官方有效期，刷新结果原子更新；同一授权并发刷新要协调，失败时不能无限重复旧凭据。没有刷新能力的流程按平台要求重新授权。",[945,971,972,975],{},[948,973,974],{},"撤权与卸载","：停止新的业务任务，关闭相关访问和订阅，标记安装失效；已排队任务执行前再查有效状态。数据删除、法定保留与卸载是不同事项，按适用约定分别处理。",[945,977,978,981],{},[948,979,980],{},"重新安装","：重新确认身份和授权，不能因为店铺标识相同就恢复旧权限或旧任务。",[837,983,985],{"className":839,"code":984,"language":841,"meta":842,"style":842},"flowchart TB\n  accTitle: 访问令牌生命周期的设计检查\n  accDescr: 取得、保存、使用之后进入到期与刷新；能刷新则原子更新后继续使用，没有刷新能力的流程按平台要求重新授权；撤权与卸载时停止新任务并标记安装失效，重新安装必须重新确认身份和授权，不恢复旧权限或旧任务。\n  obtain[\"取得\u003Cbr\u002F>平台当前流程与官方库\"] --> store[\"保存\u003Cbr\u002F>密钥管理与受限存储\"]\n  store --> use[\"使用\u003Cbr\u002F>按应用、店铺、环境取凭据\"]\n  use --> expire{\"到期：能否刷新\"}\n  expire -->|能| refresh[\"刷新结果原子更新\u003Cbr\u002F>并发刷新要协调\"]\n  refresh --> use\n  expire -->|没有刷新能力| obtain\n  use --> revoke[\"撤权与卸载\u003Cbr\u002F>停止新任务、标记安装失效\"]\n  revoke --> reinstall[\"重新安装\u003Cbr\u002F>不恢复旧权限或旧任务\"]\n  reinstall -->|重新确认身份和授权| obtain\n",[844,986,987,992,997,1002,1007,1012,1017,1022,1027,1032,1037,1042],{"__ignoreMap":842},[847,988,989],{"class":849,"line":850},[847,990,991],{},"flowchart TB\n",[847,993,994],{"class":849,"line":856},[847,995,996],{},"  accTitle: 访问令牌生命周期的设计检查\n",[847,998,999],{"class":849,"line":862},[847,1000,1001],{},"  accDescr: 取得、保存、使用之后进入到期与刷新；能刷新则原子更新后继续使用，没有刷新能力的流程按平台要求重新授权；撤权与卸载时停止新任务并标记安装失效，重新安装必须重新确认身份和授权，不恢复旧权限或旧任务。\n",[847,1003,1004],{"class":849,"line":868},[847,1005,1006],{},"  obtain[\"取得\u003Cbr\u002F>平台当前流程与官方库\"] --> store[\"保存\u003Cbr\u002F>密钥管理与受限存储\"]\n",[847,1008,1009],{"class":849,"line":874},[847,1010,1011],{},"  store --> use[\"使用\u003Cbr\u002F>按应用、店铺、环境取凭据\"]\n",[847,1013,1014],{"class":849,"line":880},[847,1015,1016],{},"  use --> expire{\"到期：能否刷新\"}\n",[847,1018,1019],{"class":849,"line":886},[847,1020,1021],{},"  expire -->|能| refresh[\"刷新结果原子更新\u003Cbr\u002F>并发刷新要协调\"]\n",[847,1023,1024],{"class":849,"line":892},[847,1025,1026],{},"  refresh --> use\n",[847,1028,1029],{"class":849,"line":898},[847,1030,1031],{},"  expire -->|没有刷新能力| obtain\n",[847,1033,1034],{"class":849,"line":904},[847,1035,1036],{},"  use --> revoke[\"撤权与卸载\u003Cbr\u002F>停止新任务、标记安装失效\"]\n",[847,1038,1039],{"class":849,"line":910},[847,1040,1041],{},"  revoke --> reinstall[\"重新安装\u003Cbr\u002F>不恢复旧权限或旧任务\"]\n",[847,1043,1044],{"class":849,"line":916},[847,1045,1046],{},"  reinstall -->|重新确认身份和授权| obtain\n",[669,1048,1049,1050],{},"OAuth 的现行安全建议已超出早期授权类型清单：RFC 9700 要求公开客户端的授权码流程使用 PKCE，建议机密客户端也使用；密码凭据授权不得使用，隐式授权不应作为默认方案。具体平台兼容性仍须核对，不能自行给不支持的端点加一组参数就宣称安全。",[680,1051,1054],{"href":1052,"rel":1053},"https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc9700#section-2",[684],"RFC 9700 §2",[673,1056,1058],{"id":1057},"练习只读仓库同步","练习：只读仓库同步",[669,1060,1061],{},"虚构应用只需读取甲店已付款订单，不负责退款或改价。交付上述权限表和以下预期结果；这不是已执行的安全测试。",[687,1063,1064,1074],{},[690,1065,1066],{},[693,1067,1068,1071],{},[696,1069,1070],{},"情景",[696,1072,1073],{},"验收预期",[706,1075,1076,1084,1092,1100,1108],{},[693,1077,1078,1081],{},[711,1079,1080],{},"员工离开后台，定时任务继续",[711,1082,1083],{},"所选授权明确支持无人值守；不依赖该员工网页会话",[693,1085,1086,1089],{},[711,1087,1088],{},"删掉读取订单权限",[711,1090,1091],{},"同步停止并报告缺少的权限，不偷偷申请写权限",[693,1093,1094,1097],{},[711,1095,1096],{},"甲店请求夹带乙店订单 ID",[711,1098,1099],{},"资源所属店铺校验拒绝，不泄露乙店数据",[693,1101,1102,1105],{},[711,1103,1104],{},"令牌过期且两个任务同时刷新",[711,1106,1107],{},"只有协调后的新凭据被采用，失败可恢复",[693,1109,1110,1113],{},[711,1111,1112],{},"卸载后队列还有订单任务",[711,1114,1115],{},"不再调用已撤权接口；数据保留与清理另有记录",[669,1117,1118],{},"完成时应能解释每条失败发生在身份、授权、租户还是生命周期层。实际验证必须记录环境、时间、预期、结果和脱敏证据；没有执行的行标为未测。",[673,1120,1121],{"id":1121},"平台落地与继续阅读",[669,1123,1124,1125,1129,1130,1134,1135,1139,1140,1144,1145,1149],{},"Shopify 的具体流程见 ",[680,1126,1128],{"href":1127},"\u002Fzh\u002Fshopify\u002Fshopify-oauth-redirect-callback","OAuth 回调","、",[680,1131,1133],{"href":1132},"\u002Fzh\u002Fshopify\u002Fshopify-admin-api-graphql","Admin GraphQL API","与",[680,1136,1138],{"href":1137},"\u002Fzh\u002Fshopify\u002Fshopify-identities-permissions","身份权限","。回调校验不能代替 ",[680,1141,1143],{"href":1142},"\u002Fzh\u002Fcommerce\u002Fwebhooks","Webhook 验签","；凭据隔离见",[680,1146,1148],{"href":1147},"\u002Fzh\u002Fcommerce\u002Fenvironments-permissions","环境与权限","。本文未核验其他平台的全部认证方式，也没有真实轮换演练。",[1151,1152,1153],"style",{},"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);}",{"title":842,"searchDepth":856,"depth":856,"links":1155},[1156,1157,1158,1159,1160],{"id":675,"depth":856,"text":675},{"id":764,"depth":856,"text":764},{"id":937,"depth":856,"text":937},{"id":1057,"depth":856,"text":1058},{"id":1121,"depth":856,"text":1121},"dtc",[],"current","从商家应用、员工与顾客三类身份出发，区分认证和 OAuth 授权，建立接口、资源、权限范围与令牌的对应关系，并用过期、撤权、跨店误用和卸载情景验证集成边界；平台参数沿专文查阅。",[1166],"platform-development","partial","md",[],[],true,[],{},[],[],[],[11,293,531,119,65,36,545,475,555,478],[1179],"developer",{"title":659,"description":1164},[682,1182,758,1183],"https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc9700","https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Fbuild\u002Fauthentication-authorization\u002Faccess-tokens",[],"published","commerce\u002Fapi-authentication",[1188,1189,1190,1191,1192,1193,1194],"API 认证","OAuth","访问令牌","权限范围","最小权限","限流","跨平台",[],[1197,1198],"shopify","woocommerce","2026-10-22",[],"概念、算例与方法依据下列资料整理，示例用于解释思路，不代表真实店铺的经营结果；适用范围与验证要求见正文。","2026-10-11","5xNSWlQO7fPyL9nv1_tlE-AQtYpjD50SGTElnnlGa_c",{"topic":1205,"paths":1207},{"title":1206,"path":26},"平台与开发",[1208,1267],{"id":1209,"path":613,"title":1210,"steps":1211},"zh_paths\u002Fcommerce\u002Fpaths\u002Fplatform-development-foundations.md","平台开发：从扩展边界到环境隔离",[1212,1215,1218,1221,1224,1227,1230,1233,1236,1239,1242,1245,1248,1251,1254,1257,1261,1264],{"path":93,"required":1171,"objective":1213,"check":1214},"选择扩展边界","说明由主题、应用、接口或独立服务承接的理由。",{"path":65,"required":1171,"objective":1216,"check":1217},"建立环境与权限映射","开发、测试和生产的账号、资源、凭据及权限分开。",{"path":109,"required":1171,"objective":1219,"check":1220},"设计人员访问","为角色列最小权限、授权范围与退出回收。",{"path":459,"required":1171,"objective":1222,"check":1223},"交付隔离工件","证明不会混用生产配置，保留失败样例。",{"path":35,"required":1171,"objective":1225,"check":1226},"确认调用者与令牌边界","区分身份认证、授权、生命周期与受控保存。",{"path":51,"required":1171,"objective":1228,"check":1229},"定义数据对象","记录类型、所有权、引用与迁移规则。",{"path":416,"required":1171,"objective":1231,"check":1232},"把商品字段落到交付","定义、赋值、主题读取及错误类型各有检查。",{"path":301,"required":1171,"objective":1234,"check":1235},"查看 Shopify 落点","核对 metafield 与 metaobject 的对象、类型和读取范围。",{"path":119,"required":1171,"objective":1237,"check":1238},"设计事件接收与恢复","说明真实性、幂等、乱序、重试和补偿。",{"path":435,"required":1171,"objective":1240,"check":1241},"交付接收验证","保留有效、伪造、重复、乱序与恢复样例。",{"path":355,"required":1171,"objective":1243,"check":1244},"查看平台事件边界","将主题与权限、版本、投递行为映射到接收契约。",{"path":36,"required":1171,"objective":1246,"check":1247},"明确应用分发对象","区分商家内部使用、定制与公开分发。",{"path":432,"required":1171,"objective":1249,"check":1250},"审核安装成本和访问","交付功能证据、权限、费用、数据与卸载恢复。",{"path":112,"required":1171,"objective":1252,"check":1253},"确定发布验收","保留版本、环境、正反例、回退与发布后证据。",{"path":7,"required":1171,"objective":1255,"check":1256},"核对 Shopify 环境实现","区别开发应用、开发店与生产分发，不复用真实业务数据。",{"path":118,"required":1258,"objective":1259,"check":1260},false,"选读：约定可计费事实","将计量、去重、重试、周期与账单解释分开。",{"path":110,"required":1258,"objective":1262,"check":1263},"选读：管理局部组件生命周期","说明重复挂载、事件解绑及失败恢复。",{"path":89,"required":1258,"objective":1265,"check":1266},"选读：设计局部更新","核对最新响应、焦点、状态消息与错误分支。",{"id":1268,"path":614,"title":1269,"steps":1270},"zh_paths\u002Fcommerce\u002Fpaths\u002Fplatform-integration-foundations.md","平台集成基础：从权限边界到失败恢复",[1271,1274,1277,1280,1283,1286,1289,1292,1295],{"path":93,"required":1171,"objective":1272,"check":1273},"把需求映射到执行位置与时机","能区分界面提示、权威交易校验和事后通知，列明不支持的需求。",{"path":65,"required":1171,"objective":1275,"check":1276},"建立环境与操作权限矩阵","身份、数据、队列、回调和外部副作用分别有边界及负向测试。",{"path":35,"required":1171,"objective":1278,"check":1279},"确定身份、授权与令牌生命周期","商家与顾客身份不混用，记录实际授权、刷新、撤权和卸载后的行为。",{"path":51,"required":1171,"objective":1281,"check":1282},"定义数据契约与演进方式","说明资源归属、类型、所有权、读取权限和迁移；无需新增字段时记录理由。",{"path":119,"required":1171,"objective":1284,"check":1285},"完成事件失败与恢复设计","持久接收、业务幂等、乱序保护、对账和告警各有预期与证据状态。",{"path":36,"required":1258,"objective":1287,"check":1288},"需要交付应用时核对安装范围","区分商家与店铺，核对审核、收费、迁移和退出成本。",{"path":72,"required":1258,"objective":1290,"check":1291},"需要替换店面时评估责任与成本","买家上下文、购物车、结账交接与运营发布有方案和测试矩阵。",{"path":459,"required":1171,"objective":1293,"check":1294},"按环境表执行一次隔离核对","明确实际目标、测试范围与恢复证据；无环境时标未测。",{"path":435,"required":1171,"objective":1296,"check":1297},"按事件契约验证接收与恢复","覆盖重复、失败、无效来源与对账，区分设计与实测。",[1299,1301,1303,1305,1307,1309],{"title":1300,"path":11},"Shopify OAuth 回调指南：URL、参数与验证顺序",{"title":1302,"path":293},"Admin GraphQL API：认证、版本与限流",{"title":1304,"path":531},"HMAC：基于哈希的消息认证码，用途、密钥与签名比较",{"title":1306,"path":119},"Webhook：可靠接收、幂等处理与对账",{"title":1308,"path":65},"环境与权限：隔离身份、数据和外部副作用",{"title":1310,"path":36},"电商应用分发：安装对象、运营责任与退出成本",{"titles":1312,"toolNames":1313,"domainPaths":1327,"reverse":1328},{},{"elevar":1314,"google-ads":1315,"google-analytics":1316,"google-merchant-center":1317,"google-tag-manager":1318,"gorgias":1319,"judge-me":1320,"klaviyo":1321,"meta-ads":1322,"paypal":1323,"shopify":1324,"woocommerce":1325,"wordpress":1326},"Elevar","Google Ads","Google Analytics","Google Merchant Center","Google Tag Manager","Gorgias","Judge.me","Klaviyo","Meta Ads","PayPal","Shopify","WooCommerce","WordPress",[20,21,22,23,24,25,26,27,28,29],{"implements":1329,"measuredBy":1334,"needs":1335,"constrainedBy":1338},[1330,1331,1333],{"path":293,"title":1302},{"path":10,"title":1332},"两个 Shopify App 共用一个后端：隔离身份而不是复制业务",{"path":11,"title":1300},[],[1336],{"path":435,"title":1337},"接入并验证一个 webhook",[],1792741306315]