Skip to content

Commit 390fd31

Browse files
update storefront mock examples for ACCS & ACO (#194)
1 parent c874e3f commit 390fd31

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

examples/events/example-contexts/mock-storefront-context.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020

2121
### Mock data
2222

23+
PaaS/ACCS Example:
24+
2325
```javascript
2426
const mockStorefrontCtx = {
2527
environmentId: "aaaaaa",
26-
instanceId: "bbbbbb",
2728
environment: "Production",
2829
storeUrl: "https://example.com",
2930
websiteId: 333333,
@@ -38,6 +39,20 @@ const mockStorefrontCtx = {
3839
baseCurrencyCode: "USD",
3940
storeViewCurrencyCode: "USD",
4041
storefrontTemplate: "Other",
41-
viewId: "12345678-1234-1234-1234-123456789abc"
42+
};
43+
```
44+
45+
ACO Example:
46+
47+
```javascript
48+
const mockStorefrontCtx = {
49+
environmentId: "aaaaaa",
50+
environment: "Production",
51+
storeUrl: "https://example.com",
52+
baseCurrencyCode: "USD",
53+
storeViewCurrencyCode: "USD",
54+
storefrontTemplate: "Other",
55+
viewId: "12345678-1234-1234-1234-123456789abc",
56+
locale: "en-US"
4257
};
4358
```

0 commit comments

Comments
 (0)