From 79551590b3265c8541a6f509076dd9b75d7f5123 Mon Sep 17 00:00:00 2001 From: Sarika Vanapalli Date: Thu, 9 Oct 2025 17:17:45 -0500 Subject: [PATCH] update storefront mock examples for ACCS & ACO --- .../mock-storefront-context.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/examples/events/example-contexts/mock-storefront-context.md b/examples/events/example-contexts/mock-storefront-context.md index e10926a..de91544 100644 --- a/examples/events/example-contexts/mock-storefront-context.md +++ b/examples/events/example-contexts/mock-storefront-context.md @@ -20,10 +20,11 @@ ### Mock data +PaaS/ACCS Example: + ```javascript const mockStorefrontCtx = { environmentId: "aaaaaa", - instanceId: "bbbbbb", environment: "Production", storeUrl: "https://example.com", websiteId: 333333, @@ -38,6 +39,20 @@ const mockStorefrontCtx = { baseCurrencyCode: "USD", storeViewCurrencyCode: "USD", storefrontTemplate: "Other", - viewId: "12345678-1234-1234-1234-123456789abc" +}; +``` + +ACO Example: + +```javascript +const mockStorefrontCtx = { + environmentId: "aaaaaa", + environment: "Production", + storeUrl: "https://example.com", + baseCurrencyCode: "USD", + storeViewCurrencyCode: "USD", + storefrontTemplate: "Other", + viewId: "12345678-1234-1234-1234-123456789abc", + locale: "en-US" }; ```