@salesforcedevs/dx-components 0.17.0 → 0.18.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/lwc.config.json +1 -0
  2. package/package.json +3 -3
  3. package/src/assets/svg/sidebar-loading.svg +34 -0
  4. package/src/modules/dx/header/__tests__/mockProps.ts +7 -1
  5. package/src/modules/dx/headerSearch/__tests__/headerSearch.test.ts +24 -39
  6. package/src/modules/dx/headerSearch/__tests__/mockProps.ts +2 -7
  7. package/src/modules/dx/headerSearch/headerSearch.ts +13 -19
  8. package/src/modules/dx/lazy/lazy.ts +0 -7
  9. package/src/modules/dx/sidebar/__tests__/mockSearchChangeEmptyEvent.ts +6 -0
  10. package/src/modules/dx/sidebar/__tests__/mockSearchChangeEvent.ts +527 -0
  11. package/src/modules/dx/sidebar/__tests__/sidebar.test.ts +210 -247
  12. package/src/modules/dx/sidebar/sidebar.css +68 -34
  13. package/src/modules/dx/sidebar/sidebar.html +58 -34
  14. package/src/modules/dx/sidebar/sidebar.stories.ts +50 -4
  15. package/src/modules/dx/sidebar/sidebar.ts +141 -73
  16. package/src/modules/dx/sidebarOld/__tests__/mockProps.ts +178 -0
  17. package/src/modules/dx/sidebarOld/__tests__/sidebarOld.test.ts +574 -0
  18. package/src/modules/dx/sidebarOld/sidebarOld.css +160 -0
  19. package/src/modules/dx/sidebarOld/sidebarOld.html +70 -0
  20. package/src/modules/dx/sidebarOld/sidebarOld.stories.ts +139 -0
  21. package/src/modules/dx/sidebarOld/sidebarOld.ts +187 -0
  22. package/src/modules/dx/sidebarSearch/__tests__/mockPreloadedState.ts +1678 -0
  23. package/src/modules/dx/sidebarSearch/__tests__/sidebarSearch.test.ts +113 -0
  24. package/src/modules/dx/sidebarSearch/sidebarSearch.css +3 -0
  25. package/src/modules/dx/sidebarSearch/sidebarSearch.html +26 -0
  26. package/src/modules/dx/sidebarSearch/sidebarSearch.ts +427 -0
  27. package/src/modules/dx/sidebarSearchResult/__tests__/sidebarSearchResult.test.ts +55 -0
  28. package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.css +36 -0
  29. package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.html +14 -0
  30. package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.ts +56 -0
  31. package/src/modules/dx/treeTile/__tests__/treeTile.test.ts +27 -38
  32. package/src/modules/dx/treeTile/treeTile.css +3 -19
  33. package/src/modules/dx/treeTile/treeTile.html +4 -1
  34. package/src/modules/dx/treeTile/treeTile.ts +2 -2
  35. package/src/modules/helpers/sidebar/sidebar.css +21 -0
  36. package/src/modules/utils/coveo/coveo.ts +69 -0
  37. package/src/modules/utils/highlight/__tests__/highlight.test.ts +108 -0
  38. package/src/modules/utils/highlight/__tests__/mockProps.ts +45 -0
  39. package/src/modules/utils/highlight/highlight.ts +2 -1
  40. package/src/modules/utils/jest/jest.ts +35 -0
  41. package/src/modules/utils/recentSearches/__tests__/recentSearches.test.ts +79 -0
  42. package/src/modules/utils/recentSearches/recentSearches.ts +57 -0
  43. package/src/modules/utils/tests/tests.ts +18 -11
@@ -0,0 +1,1678 @@
1
+ export default {
2
+ configuration: {
3
+ organizationId: "coveosalesforcetestakshatha",
4
+ accessToken: "xxfeb39525-e402-4e41-a870-7132441f7875",
5
+ platformUrl: "https://platform.cloud.coveo.com",
6
+ search: {
7
+ apiBaseUrl: "https://platform.cloud.coveo.com/rest/search/v2",
8
+ locale: "en-US",
9
+ timezone: "America/Los_Angeles"
10
+ },
11
+ analytics: {
12
+ enabled: true,
13
+ apiBaseUrl: "https://analytics.cloud.coveo.com/rest/ua",
14
+ originLevel2: "default",
15
+ originLevel3: "default",
16
+ anonymous: false
17
+ }
18
+ },
19
+ version: "1.32.0",
20
+ debug: false,
21
+ pipeline: "",
22
+ searchHub: "Developer_MdDocs_SS",
23
+ search: {
24
+ response: {
25
+ totalCount: 11,
26
+ totalCountFiltered: 11,
27
+ duration: 3,
28
+ indexDuration: 31,
29
+ requestDuration: 1,
30
+ searchUid: "8a6d9677-9727-4f7e-a8cc-57ced0979955",
31
+ pipeline: "Developer MdDocs Scoped Search",
32
+ apiVersion: 2,
33
+ index: "cache",
34
+ refinedKeywords: [],
35
+ triggers: [],
36
+ termsToHighlight: {
37
+ reference: [
38
+ "refer",
39
+ "referable",
40
+ "referably",
41
+ "referal",
42
+ "referals",
43
+ "referance",
44
+ "referances",
45
+ "referant",
46
+ "refere",
47
+ "refereal",
48
+ "refereals",
49
+ "refered",
50
+ "refereence",
51
+ "refereing",
52
+ "referenc",
53
+ "referenced",
54
+ "referenceid",
55
+ "referenceing",
56
+ "referencen",
57
+ "referencer",
58
+ "referencerne",
59
+ "references",
60
+ "referenci",
61
+ "referencia",
62
+ "referenciada",
63
+ "referenciadas",
64
+ "referenciado",
65
+ "referenciador",
66
+ "referenciadores",
67
+ "referenciados",
68
+ "referenciais",
69
+ "referenciam",
70
+ "referenciamento",
71
+ "referenciamos",
72
+ "referenciando",
73
+ "referenciar",
74
+ "referenciará",
75
+ "referencias",
76
+ "referenciava",
77
+ "referenciavam",
78
+ "referencie",
79
+ "referenciei",
80
+ "referenciem",
81
+ "referencies",
82
+ "referenciing",
83
+ "referencing",
84
+ "referenciável",
85
+ "referencés",
86
+ "referent",
87
+ "referente",
88
+ "referentes",
89
+ "referenti",
90
+ "referentie",
91
+ "referenties",
92
+ "referents",
93
+ "referer",
94
+ "referered",
95
+ "referering",
96
+ "refererred",
97
+ "refererring",
98
+ "referers",
99
+ "referes",
100
+ "refericing",
101
+ "refering",
102
+ "referred",
103
+ "referring",
104
+ "referrings",
105
+ "refers",
106
+ "reférence",
107
+ "réference",
108
+ "réferencés",
109
+ "réfère",
110
+ "réfèrent",
111
+ "référant",
112
+ "référence",
113
+ "références",
114
+ "référencé",
115
+ "référencés",
116
+ "référent",
117
+ "référente",
118
+ "référentes",
119
+ "référents",
120
+ "référer",
121
+ "référé",
122
+ "référénce"
123
+ ]
124
+ },
125
+ phrasesToHighlight: {},
126
+ queryCorrections: [],
127
+ groupByResults: [],
128
+ facets: [],
129
+ suggestedFacets: [],
130
+ categoryFacets: [],
131
+ results: [
132
+ {
133
+ title: "Reference | B2C Commerce API",
134
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/references",
135
+ printableUri:
136
+ "https://developer.salesforce.com/docs/commerce/commerce-api/references",
137
+ clickUri:
138
+ "https://developer.salesforce.com/docs/commerce/commerce-api/references",
139
+ uniqueId:
140
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/references",
141
+ excerpt:
142
+ "Documentation/B2C Commerce API ... We use three kinds of cookies on our websites: required, functional, and advertising. ... You can choose whether functional and advertising cookies apply.",
143
+ firstSentences: null,
144
+ summary: null,
145
+ flags: "HasHtmlVersion",
146
+ hasHtmlVersion: true,
147
+ hasMobileHtmlVersion: false,
148
+ score: 4719,
149
+ percentScore: 73.64028,
150
+ rankingInfo: null,
151
+ rating: 0,
152
+ isTopResult: false,
153
+ isRecommendation: false,
154
+ isUserActionView: false,
155
+ titleHighlights: [
156
+ {
157
+ length: 9,
158
+ offset: 0
159
+ }
160
+ ],
161
+ firstSentencesHighlights: [],
162
+ excerptHighlights: [],
163
+ printableUriHighlights: [
164
+ {
165
+ length: 10,
166
+ offset: 60
167
+ }
168
+ ],
169
+ summaryHighlights: [],
170
+ parentResult: null,
171
+ childResults: [],
172
+ totalNumberOfChildResults: 0,
173
+ absentTerms: [],
174
+ raw: {
175
+ sysauthor: "Salesforce",
176
+ sysurihash: "cHzA0IhN2DðbCGnt",
177
+ urihash: "cHzA0IhN2DðbCGnt",
178
+ permanentid:
179
+ "4ed7d69836cfd9eaeae9fbcbce6d335e8891208eff936600ec8be4772b26",
180
+ syslanguage: ["English"],
181
+ sourcetype: "Sitemap",
182
+ syssource: "Sitemap - Developer Docs",
183
+ author: "Salesforce",
184
+ source: "Sitemap - Developer Docs",
185
+ collection: "default",
186
+ syssourcetype: "Sitemap",
187
+ language: ["English"],
188
+ syscollection: "default"
189
+ },
190
+ Title: "Reference | B2C Commerce API",
191
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/references",
192
+ PrintableUri:
193
+ "https://developer.salesforce.com/docs/commerce/commerce-api/references",
194
+ ClickUri:
195
+ "https://developer.salesforce.com/docs/commerce/commerce-api/references",
196
+ UniqueId:
197
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/references",
198
+ Excerpt:
199
+ "Documentation/B2C Commerce API ... We use three kinds of cookies on our websites: required, functional, and advertising. ... You can choose whether functional and advertising cookies apply.",
200
+ FirstSentences: null
201
+ },
202
+ {
203
+ title: "Sample Application FAQ | B2C Commerce API",
204
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
205
+ printableUri:
206
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
207
+ clickUri:
208
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
209
+ uniqueId:
210
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
211
+ excerpt:
212
+ "However, the sample application is not a complete and fully functional storefront reference application. ... You can explore the full capabilities of this API with the API Reference. ... Back",
213
+ firstSentences: null,
214
+ summary: null,
215
+ flags: "HasHtmlVersion",
216
+ hasHtmlVersion: true,
217
+ hasMobileHtmlVersion: false,
218
+ score: 3115,
219
+ percentScore: 59.830063,
220
+ rankingInfo: null,
221
+ rating: 0,
222
+ isTopResult: false,
223
+ isRecommendation: false,
224
+ isUserActionView: false,
225
+ titleHighlights: [],
226
+ firstSentencesHighlights: [],
227
+ excerptHighlights: [
228
+ {
229
+ length: 9,
230
+ offset: 82
231
+ },
232
+ {
233
+ length: 9,
234
+ offset: 172
235
+ }
236
+ ],
237
+ printableUriHighlights: [],
238
+ summaryHighlights: [],
239
+ parentResult: null,
240
+ childResults: [],
241
+ totalNumberOfChildResults: 0,
242
+ absentTerms: [],
243
+ raw: {
244
+ sysauthor: "Salesforce",
245
+ sysurihash: "mlNUXbWDCBXL3aLd",
246
+ urihash: "mlNUXbWDCBXL3aLd",
247
+ permanentid:
248
+ "a5e068a17668e4c78509478a042462176aa12a6564072a9dc2e1e3e0ab43",
249
+ syslanguage: ["English"],
250
+ sourcetype: "Sitemap",
251
+ syssource: "Sitemap - Developer Docs",
252
+ author: "Salesforce",
253
+ source: "Sitemap - Developer Docs",
254
+ collection: "default",
255
+ syssourcetype: "Sitemap",
256
+ language: ["English"],
257
+ syscollection: "default"
258
+ },
259
+ Title: "Sample Application FAQ | B2C Commerce API",
260
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
261
+ PrintableUri:
262
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
263
+ ClickUri:
264
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
265
+ UniqueId:
266
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
267
+ Excerpt:
268
+ "However, the sample application is not a complete and fully functional storefront reference application. ... You can explore the full capabilities of this API with the API Reference. ... Back",
269
+ FirstSentences: null
270
+ },
271
+ {
272
+ title: "How-To Guides | B2C Commerce API",
273
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
274
+ printableUri:
275
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
276
+ clickUri:
277
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
278
+ uniqueId:
279
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
280
+ excerpt:
281
+ "You can see the full capabilities in the API Reference section of the Commerce Cloud Developer Center. ... Anyone can review the API reference and use the mocking service endpoints to try the ...",
282
+ firstSentences: null,
283
+ summary: null,
284
+ flags: "HasHtmlVersion",
285
+ hasHtmlVersion: true,
286
+ hasMobileHtmlVersion: false,
287
+ score: 2573,
288
+ percentScore: 54.37639,
289
+ rankingInfo: null,
290
+ rating: 0,
291
+ isTopResult: false,
292
+ isRecommendation: false,
293
+ isUserActionView: false,
294
+ titleHighlights: [],
295
+ firstSentencesHighlights: [],
296
+ excerptHighlights: [
297
+ {
298
+ length: 9,
299
+ offset: 45
300
+ },
301
+ {
302
+ length: 9,
303
+ offset: 133
304
+ }
305
+ ],
306
+ printableUriHighlights: [],
307
+ summaryHighlights: [],
308
+ parentResult: null,
309
+ childResults: [],
310
+ totalNumberOfChildResults: 0,
311
+ absentTerms: [],
312
+ raw: {
313
+ sysauthor: "Salesforce",
314
+ sysurihash: "l2ñg7FVX8CnF9ws5",
315
+ urihash: "l2ñg7FVX8CnF9ws5",
316
+ permanentid:
317
+ "9fdfacd8798312738e4dab6182b11426e41bc540cc6b2522ef791e72bba6",
318
+ syslanguage: ["English"],
319
+ sourcetype: "Sitemap",
320
+ syssource: "Sitemap - Developer Docs",
321
+ author: "Salesforce",
322
+ source: "Sitemap - Developer Docs",
323
+ collection: "default",
324
+ syssourcetype: "Sitemap",
325
+ language: ["English"],
326
+ syscollection: "default"
327
+ },
328
+ Title: "How-To Guides | B2C Commerce API",
329
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
330
+ PrintableUri:
331
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
332
+ ClickUri:
333
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
334
+ UniqueId:
335
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
336
+ Excerpt:
337
+ "You can see the full capabilities in the API Reference section of the Commerce Cloud Developer Center. ... Anyone can review the API reference and use the mocking service endpoints to try the ...",
338
+ FirstSentences: null
339
+ },
340
+ {
341
+ title: "Salesforce Commerce API | B2C Commerce API",
342
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
343
+ printableUri:
344
+ "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
345
+ clickUri:
346
+ "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
347
+ uniqueId:
348
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/overview",
349
+ excerpt:
350
+ "Build headless commerce experiences fast with a modern developer toolset. ... Get started with the GuidesGo to API Reference ... Required cookies are necessary for basic website functionality.",
351
+ firstSentences: null,
352
+ summary: null,
353
+ flags: "HasHtmlVersion",
354
+ hasHtmlVersion: true,
355
+ hasMobileHtmlVersion: false,
356
+ score: 2572,
357
+ percentScore: 54.365818,
358
+ rankingInfo: null,
359
+ rating: 0,
360
+ isTopResult: false,
361
+ isRecommendation: false,
362
+ isUserActionView: false,
363
+ titleHighlights: [],
364
+ firstSentencesHighlights: [],
365
+ excerptHighlights: [
366
+ {
367
+ length: 9,
368
+ offset: 115
369
+ }
370
+ ],
371
+ printableUriHighlights: [],
372
+ summaryHighlights: [],
373
+ parentResult: null,
374
+ childResults: [],
375
+ totalNumberOfChildResults: 0,
376
+ absentTerms: [],
377
+ raw: {
378
+ sysauthor: "Salesforce",
379
+ sysurihash: "HBGhhqbDeh1tNe1S",
380
+ urihash: "HBGhhqbDeh1tNe1S",
381
+ permanentid:
382
+ "738d371b87e5e3cd5c2744f4c2c85bee6bfef59c5127c55a6304978cb236",
383
+ syslanguage: ["English"],
384
+ sourcetype: "Sitemap",
385
+ syssource: "Sitemap - Developer Docs",
386
+ author: "Salesforce",
387
+ source: "Sitemap - Developer Docs",
388
+ collection: "default",
389
+ syssourcetype: "Sitemap",
390
+ language: ["English"],
391
+ syscollection: "default"
392
+ },
393
+ Title: "Salesforce Commerce API | B2C Commerce API",
394
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
395
+ PrintableUri:
396
+ "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
397
+ ClickUri:
398
+ "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
399
+ UniqueId:
400
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/overview",
401
+ Excerpt:
402
+ "Build headless commerce experiences fast with a modern developer toolset. ... Get started with the GuidesGo to API Reference ... Required cookies are necessary for basic website functionality.",
403
+ FirstSentences: null
404
+ },
405
+ {
406
+ title: "Salesforce Commerce API | B2C Commerce API",
407
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api",
408
+ printableUri:
409
+ "https://developer.salesforce.com/docs/commerce/commerce-api",
410
+ clickUri:
411
+ "https://developer.salesforce.com/docs/commerce/commerce-api",
412
+ uniqueId:
413
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api",
414
+ excerpt:
415
+ "Build headless commerce experiences fast with a modern developer toolset. ... Get started with the GuidesGo to API Reference ... Required cookies are necessary for basic website functionality.",
416
+ firstSentences: null,
417
+ summary: null,
418
+ flags: "HasHtmlVersion",
419
+ hasHtmlVersion: true,
420
+ hasMobileHtmlVersion: false,
421
+ score: 2572,
422
+ percentScore: 54.365818,
423
+ rankingInfo: null,
424
+ rating: 0,
425
+ isTopResult: false,
426
+ isRecommendation: false,
427
+ isUserActionView: false,
428
+ titleHighlights: [],
429
+ firstSentencesHighlights: [],
430
+ excerptHighlights: [
431
+ {
432
+ length: 9,
433
+ offset: 115
434
+ }
435
+ ],
436
+ printableUriHighlights: [],
437
+ summaryHighlights: [],
438
+ parentResult: null,
439
+ childResults: [],
440
+ totalNumberOfChildResults: 0,
441
+ absentTerms: [],
442
+ raw: {
443
+ sysauthor: "Salesforce",
444
+ sysurihash: "kopHZejdhgQuQtñF",
445
+ urihash: "kopHZejdhgQuQtñF",
446
+ permanentid:
447
+ "61166ba01e5bb3b3dfd2e9d6d961242a031ea1cbb45089722feeff2f5912",
448
+ syslanguage: ["English"],
449
+ sourcetype: "Sitemap",
450
+ syssource: "Sitemap - Developer Docs",
451
+ author: "Salesforce",
452
+ source: "Sitemap - Developer Docs",
453
+ collection: "default",
454
+ syssourcetype: "Sitemap",
455
+ language: ["English"],
456
+ syscollection: "default"
457
+ },
458
+ Title: "Salesforce Commerce API | B2C Commerce API",
459
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api",
460
+ PrintableUri:
461
+ "https://developer.salesforce.com/docs/commerce/commerce-api",
462
+ ClickUri:
463
+ "https://developer.salesforce.com/docs/commerce/commerce-api",
464
+ UniqueId:
465
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api",
466
+ Excerpt:
467
+ "Build headless commerce experiences fast with a modern developer toolset. ... Get started with the GuidesGo to API Reference ... Required cookies are necessary for basic website functionality.",
468
+ FirstSentences: null
469
+ },
470
+ {
471
+ title: "How-To Guides | B2C Commerce API",
472
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
473
+ printableUri:
474
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
475
+ clickUri:
476
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
477
+ uniqueId:
478
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide",
479
+ excerpt:
480
+ "You can see the full capabilities in the API Reference section of the Commerce Cloud Developer Center. ... Anyone can review the API reference and use the mocking service endpoints to try the ...",
481
+ firstSentences: null,
482
+ summary: null,
483
+ flags: "HasHtmlVersion",
484
+ hasHtmlVersion: true,
485
+ hasMobileHtmlVersion: false,
486
+ score: 2505,
487
+ percentScore: 53.653038,
488
+ rankingInfo: null,
489
+ rating: 0,
490
+ isTopResult: false,
491
+ isRecommendation: false,
492
+ isUserActionView: false,
493
+ titleHighlights: [],
494
+ firstSentencesHighlights: [],
495
+ excerptHighlights: [
496
+ {
497
+ length: 9,
498
+ offset: 45
499
+ },
500
+ {
501
+ length: 9,
502
+ offset: 133
503
+ }
504
+ ],
505
+ printableUriHighlights: [],
506
+ summaryHighlights: [],
507
+ parentResult: null,
508
+ childResults: [],
509
+ totalNumberOfChildResults: 0,
510
+ absentTerms: [],
511
+ raw: {
512
+ sysauthor: "Salesforce",
513
+ sysurihash: "zZfrUqHj8vvOCbZO",
514
+ urihash: "zZfrUqHj8vvOCbZO",
515
+ permanentid:
516
+ "c41d98dc483c4ff23be905f2c908e6d3b6fbff1b2af79b3e8f0f5f44cc19",
517
+ syslanguage: ["English"],
518
+ sourcetype: "Sitemap",
519
+ syssource: "Sitemap - Developer Docs",
520
+ author: "Salesforce",
521
+ source: "Sitemap - Developer Docs",
522
+ collection: "default",
523
+ syssourcetype: "Sitemap",
524
+ language: ["English"],
525
+ syscollection: "default"
526
+ },
527
+ Title: "How-To Guides | B2C Commerce API",
528
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
529
+ PrintableUri:
530
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
531
+ ClickUri:
532
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
533
+ UniqueId:
534
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide",
535
+ Excerpt:
536
+ "You can see the full capabilities in the API Reference section of the Commerce Cloud Developer Center. ... Anyone can review the API reference and use the mocking service endpoints to try the ...",
537
+ FirstSentences: null
538
+ },
539
+ {
540
+ title: "Headless Commerce | B2C Commerce API",
541
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
542
+ printableUri:
543
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
544
+ clickUri:
545
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
546
+ uniqueId:
547
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
548
+ excerpt:
549
+ "In a headless ecommerce system, the user experience front end runs separately from ... The sample app uses the back-end-for-front-end (sometimes referred to as BFF) design pattern.",
550
+ firstSentences: null,
551
+ summary: null,
552
+ flags: "HasHtmlVersion",
553
+ hasHtmlVersion: true,
554
+ hasMobileHtmlVersion: false,
555
+ score: 2392,
556
+ percentScore: 52.428936,
557
+ rankingInfo: null,
558
+ rating: 0,
559
+ isTopResult: false,
560
+ isRecommendation: false,
561
+ isUserActionView: false,
562
+ titleHighlights: [],
563
+ firstSentencesHighlights: [],
564
+ excerptHighlights: [
565
+ {
566
+ length: 8,
567
+ offset: 145
568
+ }
569
+ ],
570
+ printableUriHighlights: [],
571
+ summaryHighlights: [],
572
+ parentResult: null,
573
+ childResults: [],
574
+ totalNumberOfChildResults: 0,
575
+ absentTerms: [],
576
+ raw: {
577
+ sysauthor: "Salesforce",
578
+ sysurihash: "VHefh0obeMV6qfYJ",
579
+ urihash: "VHefh0obeMV6qfYJ",
580
+ permanentid:
581
+ "3862198e633c605ad7e2cc09fbeef2854346b5fc1054926b42c8c7f0e018",
582
+ syslanguage: ["English"],
583
+ sourcetype: "Sitemap",
584
+ syssource: "Sitemap - Developer Docs",
585
+ author: "Salesforce",
586
+ source: "Sitemap - Developer Docs",
587
+ collection: "default",
588
+ syssourcetype: "Sitemap",
589
+ language: ["English"],
590
+ syscollection: "default"
591
+ },
592
+ Title: "Headless Commerce | B2C Commerce API",
593
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
594
+ PrintableUri:
595
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
596
+ ClickUri:
597
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
598
+ UniqueId:
599
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
600
+ Excerpt:
601
+ "In a headless ecommerce system, the user experience front end runs separately from ... The sample app uses the back-end-for-front-end (sometimes referred to as BFF) design pattern.",
602
+ FirstSentences: null
603
+ },
604
+ {
605
+ title: "Using Mocking Services | B2C Commerce API",
606
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
607
+ printableUri:
608
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
609
+ clickUri:
610
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
611
+ uniqueId:
612
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
613
+ excerpt:
614
+ "Each Salesforce Commerce API resource has a corresponding mocking service—a service ... From the main menu, select Develop > API Reference. Select a tile (for example, ... checkbox label label",
615
+ firstSentences: null,
616
+ summary: null,
617
+ flags: "HasHtmlVersion",
618
+ hasHtmlVersion: true,
619
+ hasMobileHtmlVersion: false,
620
+ score: 2372,
621
+ percentScore: 52.209293,
622
+ rankingInfo: null,
623
+ rating: 0,
624
+ isTopResult: false,
625
+ isRecommendation: false,
626
+ isUserActionView: false,
627
+ titleHighlights: [],
628
+ firstSentencesHighlights: [],
629
+ excerptHighlights: [
630
+ {
631
+ length: 9,
632
+ offset: 129
633
+ }
634
+ ],
635
+ printableUriHighlights: [],
636
+ summaryHighlights: [],
637
+ parentResult: null,
638
+ childResults: [],
639
+ totalNumberOfChildResults: 0,
640
+ absentTerms: [],
641
+ raw: {
642
+ sysauthor: "Salesforce",
643
+ sysurihash: "um4oLðYkvaw4KH2k",
644
+ urihash: "um4oLðYkvaw4KH2k",
645
+ permanentid:
646
+ "1c2c918a3ad5204f8fe86cdc91168b1303a52603e7ce332dacccedc047da",
647
+ syslanguage: ["English"],
648
+ sourcetype: "Sitemap",
649
+ syssource: "Sitemap - Developer Docs",
650
+ author: "Salesforce",
651
+ source: "Sitemap - Developer Docs",
652
+ collection: "default",
653
+ syssourcetype: "Sitemap",
654
+ language: ["English"],
655
+ syscollection: "default"
656
+ },
657
+ Title: "Using Mocking Services | B2C Commerce API",
658
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
659
+ PrintableUri:
660
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
661
+ ClickUri:
662
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
663
+ UniqueId:
664
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
665
+ Excerpt:
666
+ "Each Salesforce Commerce API resource has a corresponding mocking service—a service ... From the main menu, select Develop > API Reference. Select a tile (for example, ... checkbox label label",
667
+ FirstSentences: null
668
+ },
669
+ {
670
+ title: "Security Considerations for Headless Commerce | B2C Commerce API",
671
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
672
+ printableUri:
673
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
674
+ clickUri:
675
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
676
+ uniqueId:
677
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
678
+ excerpt:
679
+ "In this design pattern, referred to as back-end-for-front-end (BFF), the back end of the custom head ... , and security for headless commerce applications, refer to the following documents.",
680
+ firstSentences: null,
681
+ summary: null,
682
+ flags: "HasHtmlVersion",
683
+ hasHtmlVersion: true,
684
+ hasMobileHtmlVersion: false,
685
+ score: 2368,
686
+ percentScore: 52.165253,
687
+ rankingInfo: null,
688
+ rating: 0,
689
+ isTopResult: false,
690
+ isRecommendation: false,
691
+ isUserActionView: false,
692
+ titleHighlights: [],
693
+ firstSentencesHighlights: [],
694
+ excerptHighlights: [
695
+ {
696
+ length: 8,
697
+ offset: 24
698
+ },
699
+ {
700
+ length: 5,
701
+ offset: 156
702
+ }
703
+ ],
704
+ printableUriHighlights: [],
705
+ summaryHighlights: [],
706
+ parentResult: null,
707
+ childResults: [],
708
+ totalNumberOfChildResults: 0,
709
+ absentTerms: [],
710
+ raw: {
711
+ sysauthor: "Salesforce",
712
+ sysurihash: "DddEPYErZyvouxB6",
713
+ urihash: "DddEPYErZyvouxB6",
714
+ permanentid:
715
+ "099ffe38332ec3f9d96ae3d53368ed47720467b85d48533f046bfe02176d",
716
+ syslanguage: ["English"],
717
+ sourcetype: "Sitemap",
718
+ syssource: "Sitemap - Developer Docs",
719
+ author: "Salesforce",
720
+ source: "Sitemap - Developer Docs",
721
+ collection: "default",
722
+ syssourcetype: "Sitemap",
723
+ language: ["English"],
724
+ syscollection: "default"
725
+ },
726
+ Title: "Security Considerations for Headless Commerce | B2C Commerce API",
727
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
728
+ PrintableUri:
729
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
730
+ ClickUri:
731
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
732
+ UniqueId:
733
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
734
+ Excerpt:
735
+ "In this design pattern, referred to as back-end-for-front-end (BFF), the back end of the custom head ... , and security for headless commerce applications, refer to the following documents.",
736
+ FirstSentences: null
737
+ },
738
+ {
739
+ title: "Throttle Rates | B2C Commerce API",
740
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
741
+ printableUri:
742
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
743
+ clickUri:
744
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
745
+ uniqueId:
746
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
747
+ excerpt:
748
+ "Customers can rely on a defined service availability and a consistent quality across ... For further details, please refer to Governance and Quotas in our Commerce Cloud B2C documentation.",
749
+ firstSentences: null,
750
+ summary: null,
751
+ flags: "HasHtmlVersion",
752
+ hasHtmlVersion: true,
753
+ hasMobileHtmlVersion: false,
754
+ score: 2225,
755
+ percentScore: 50.565636,
756
+ rankingInfo: null,
757
+ rating: 0,
758
+ isTopResult: false,
759
+ isRecommendation: false,
760
+ isUserActionView: false,
761
+ titleHighlights: [],
762
+ firstSentencesHighlights: [],
763
+ excerptHighlights: [
764
+ {
765
+ length: 5,
766
+ offset: 117
767
+ }
768
+ ],
769
+ printableUriHighlights: [],
770
+ summaryHighlights: [],
771
+ parentResult: null,
772
+ childResults: [],
773
+ totalNumberOfChildResults: 0,
774
+ absentTerms: [],
775
+ raw: {
776
+ sysauthor: "Salesforce",
777
+ sysurihash: "jcfvTjoFRxErSO99",
778
+ urihash: "jcfvTjoFRxErSO99",
779
+ permanentid:
780
+ "c69af9cb82b6ad94759867ec395c734aee28bf1b465bd58566f402990ab3",
781
+ syslanguage: ["English"],
782
+ sourcetype: "Sitemap",
783
+ syssource: "Sitemap - Developer Docs",
784
+ author: "Salesforce",
785
+ source: "Sitemap - Developer Docs",
786
+ collection: "default",
787
+ syssourcetype: "Sitemap",
788
+ language: ["English"],
789
+ syscollection: "default"
790
+ },
791
+ Title: "Throttle Rates | B2C Commerce API",
792
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
793
+ PrintableUri:
794
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
795
+ ClickUri:
796
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
797
+ UniqueId:
798
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
799
+ Excerpt:
800
+ "Customers can rely on a defined service availability and a consistent quality across ... For further details, please refer to Governance and Quotas in our Commerce Cloud B2C documentation.",
801
+ FirstSentences: null
802
+ },
803
+ {
804
+ title: "Commerce API Authentication | B2C Commerce API",
805
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
806
+ printableUri:
807
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
808
+ clickUri:
809
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
810
+ uniqueId:
811
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
812
+ excerpt:
813
+ "Shopper APIs target the persona of a storefront shopper. ... However if you do not have one, refer to the Add an API Client ID documentation in the Commerce Cloud Infocenter. ... Contents",
814
+ firstSentences: null,
815
+ summary: null,
816
+ flags: "HasHtmlVersion",
817
+ hasHtmlVersion: true,
818
+ hasMobileHtmlVersion: false,
819
+ score: 2135,
820
+ percentScore: 49.532402,
821
+ rankingInfo: null,
822
+ rating: 0,
823
+ isTopResult: false,
824
+ isRecommendation: false,
825
+ isUserActionView: false,
826
+ titleHighlights: [],
827
+ firstSentencesHighlights: [],
828
+ excerptHighlights: [
829
+ {
830
+ length: 5,
831
+ offset: 93
832
+ }
833
+ ],
834
+ printableUriHighlights: [],
835
+ summaryHighlights: [],
836
+ parentResult: null,
837
+ childResults: [],
838
+ totalNumberOfChildResults: 0,
839
+ absentTerms: [],
840
+ raw: {
841
+ sysauthor: "Salesforce",
842
+ sysurihash: "RELTQ5QY0nrmF1q4",
843
+ urihash: "RELTQ5QY0nrmF1q4",
844
+ permanentid:
845
+ "f370d4635ee77c76b56b3b3cc4f58a7d30da34ae9c0d9434eff1cae28f55",
846
+ syslanguage: ["English"],
847
+ sourcetype: "Sitemap",
848
+ syssource: "Sitemap - Developer Docs",
849
+ author: "Salesforce",
850
+ source: "Sitemap - Developer Docs",
851
+ collection: "default",
852
+ syssourcetype: "Sitemap",
853
+ language: ["English"],
854
+ syscollection: "default"
855
+ },
856
+ Title: "Commerce API Authentication | B2C Commerce API",
857
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
858
+ PrintableUri:
859
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
860
+ ClickUri:
861
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
862
+ UniqueId:
863
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
864
+ Excerpt:
865
+ "Shopper APIs target the persona of a storefront shopper. ... However if you do not have one, refer to the Add an API Client ID documentation in the Commerce Cloud Infocenter. ... Contents",
866
+ FirstSentences: null
867
+ }
868
+ ],
869
+ questionAnswer: {
870
+ answerSnippet: "",
871
+ documentId: {
872
+ contentIdKey: "",
873
+ contentIdValue: ""
874
+ },
875
+ question: "",
876
+ relatedQuestions: [],
877
+ score: 0
878
+ }
879
+ },
880
+ duration: 409,
881
+ queryExecuted: "reference",
882
+ error: null,
883
+ automaticallyCorrected: false,
884
+ isLoading: false,
885
+ results: [
886
+ {
887
+ title: "Reference | B2C Commerce API",
888
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/references",
889
+ printableUri:
890
+ "https://developer.salesforce.com/docs/commerce/commerce-api/references",
891
+ clickUri:
892
+ "https://developer.salesforce.com/docs/commerce/commerce-api/references",
893
+ uniqueId:
894
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/references",
895
+ excerpt:
896
+ "Documentation/B2C Commerce API ... We use three kinds of cookies on our websites: required, functional, and advertising. ... You can choose whether functional and advertising cookies apply.",
897
+ firstSentences: null,
898
+ summary: null,
899
+ flags: "HasHtmlVersion",
900
+ hasHtmlVersion: true,
901
+ hasMobileHtmlVersion: false,
902
+ score: 4719,
903
+ percentScore: 73.64028,
904
+ rankingInfo: null,
905
+ rating: 0,
906
+ isTopResult: false,
907
+ isRecommendation: false,
908
+ isUserActionView: false,
909
+ titleHighlights: [
910
+ {
911
+ length: 9,
912
+ offset: 0
913
+ }
914
+ ],
915
+ firstSentencesHighlights: [],
916
+ excerptHighlights: [],
917
+ printableUriHighlights: [
918
+ {
919
+ length: 10,
920
+ offset: 60
921
+ }
922
+ ],
923
+ summaryHighlights: [],
924
+ parentResult: null,
925
+ childResults: [],
926
+ totalNumberOfChildResults: 0,
927
+ absentTerms: [],
928
+ raw: {
929
+ sysauthor: "Salesforce",
930
+ sysurihash: "cHzA0IhN2DðbCGnt",
931
+ urihash: "cHzA0IhN2DðbCGnt",
932
+ permanentid:
933
+ "4ed7d69836cfd9eaeae9fbcbce6d335e8891208eff936600ec8be4772b26",
934
+ syslanguage: ["English"],
935
+ sourcetype: "Sitemap",
936
+ syssource: "Sitemap - Developer Docs",
937
+ author: "Salesforce",
938
+ source: "Sitemap - Developer Docs",
939
+ collection: "default",
940
+ syssourcetype: "Sitemap",
941
+ language: ["English"],
942
+ syscollection: "default"
943
+ },
944
+ Title: "Reference | B2C Commerce API",
945
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/references",
946
+ PrintableUri:
947
+ "https://developer.salesforce.com/docs/commerce/commerce-api/references",
948
+ ClickUri:
949
+ "https://developer.salesforce.com/docs/commerce/commerce-api/references",
950
+ UniqueId:
951
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/references",
952
+ Excerpt:
953
+ "Documentation/B2C Commerce API ... We use three kinds of cookies on our websites: required, functional, and advertising. ... You can choose whether functional and advertising cookies apply.",
954
+ FirstSentences: null
955
+ },
956
+ {
957
+ title: "Sample Application FAQ | B2C Commerce API",
958
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
959
+ printableUri:
960
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
961
+ clickUri:
962
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
963
+ uniqueId:
964
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
965
+ excerpt:
966
+ "However, the sample application is not a complete and fully functional storefront reference application. ... You can explore the full capabilities of this API with the API Reference. ... Back",
967
+ firstSentences: null,
968
+ summary: null,
969
+ flags: "HasHtmlVersion",
970
+ hasHtmlVersion: true,
971
+ hasMobileHtmlVersion: false,
972
+ score: 3115,
973
+ percentScore: 59.830063,
974
+ rankingInfo: null,
975
+ rating: 0,
976
+ isTopResult: false,
977
+ isRecommendation: false,
978
+ isUserActionView: false,
979
+ titleHighlights: [],
980
+ firstSentencesHighlights: [],
981
+ excerptHighlights: [
982
+ {
983
+ length: 9,
984
+ offset: 82
985
+ },
986
+ {
987
+ length: 9,
988
+ offset: 172
989
+ }
990
+ ],
991
+ printableUriHighlights: [],
992
+ summaryHighlights: [],
993
+ parentResult: null,
994
+ childResults: [],
995
+ totalNumberOfChildResults: 0,
996
+ absentTerms: [],
997
+ raw: {
998
+ sysauthor: "Salesforce",
999
+ sysurihash: "mlNUXbWDCBXL3aLd",
1000
+ urihash: "mlNUXbWDCBXL3aLd",
1001
+ permanentid:
1002
+ "a5e068a17668e4c78509478a042462176aa12a6564072a9dc2e1e3e0ab43",
1003
+ syslanguage: ["English"],
1004
+ sourcetype: "Sitemap",
1005
+ syssource: "Sitemap - Developer Docs",
1006
+ author: "Salesforce",
1007
+ source: "Sitemap - Developer Docs",
1008
+ collection: "default",
1009
+ syssourcetype: "Sitemap",
1010
+ language: ["English"],
1011
+ syscollection: "default"
1012
+ },
1013
+ Title: "Sample Application FAQ | B2C Commerce API",
1014
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
1015
+ PrintableUri:
1016
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
1017
+ ClickUri:
1018
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
1019
+ UniqueId:
1020
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/sample-application-faq",
1021
+ Excerpt:
1022
+ "However, the sample application is not a complete and fully functional storefront reference application. ... You can explore the full capabilities of this API with the API Reference. ... Back",
1023
+ FirstSentences: null
1024
+ },
1025
+ {
1026
+ title: "How-To Guides | B2C Commerce API",
1027
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
1028
+ printableUri:
1029
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
1030
+ clickUri:
1031
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
1032
+ uniqueId:
1033
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
1034
+ excerpt:
1035
+ "You can see the full capabilities in the API Reference section of the Commerce Cloud Developer Center. ... Anyone can review the API reference and use the mocking service endpoints to try the ...",
1036
+ firstSentences: null,
1037
+ summary: null,
1038
+ flags: "HasHtmlVersion",
1039
+ hasHtmlVersion: true,
1040
+ hasMobileHtmlVersion: false,
1041
+ score: 2573,
1042
+ percentScore: 54.37639,
1043
+ rankingInfo: null,
1044
+ rating: 0,
1045
+ isTopResult: false,
1046
+ isRecommendation: false,
1047
+ isUserActionView: false,
1048
+ titleHighlights: [],
1049
+ firstSentencesHighlights: [],
1050
+ excerptHighlights: [
1051
+ {
1052
+ length: 9,
1053
+ offset: 45
1054
+ },
1055
+ {
1056
+ length: 9,
1057
+ offset: 133
1058
+ }
1059
+ ],
1060
+ printableUriHighlights: [],
1061
+ summaryHighlights: [],
1062
+ parentResult: null,
1063
+ childResults: [],
1064
+ totalNumberOfChildResults: 0,
1065
+ absentTerms: [],
1066
+ raw: {
1067
+ sysauthor: "Salesforce",
1068
+ sysurihash: "l2ñg7FVX8CnF9ws5",
1069
+ urihash: "l2ñg7FVX8CnF9ws5",
1070
+ permanentid:
1071
+ "9fdfacd8798312738e4dab6182b11426e41bc540cc6b2522ef791e72bba6",
1072
+ syslanguage: ["English"],
1073
+ sourcetype: "Sitemap",
1074
+ syssource: "Sitemap - Developer Docs",
1075
+ author: "Salesforce",
1076
+ source: "Sitemap - Developer Docs",
1077
+ collection: "default",
1078
+ syssourcetype: "Sitemap",
1079
+ language: ["English"],
1080
+ syscollection: "default"
1081
+ },
1082
+ Title: "How-To Guides | B2C Commerce API",
1083
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
1084
+ PrintableUri:
1085
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
1086
+ ClickUri:
1087
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
1088
+ UniqueId:
1089
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/salesforce-commerce-api",
1090
+ Excerpt:
1091
+ "You can see the full capabilities in the API Reference section of the Commerce Cloud Developer Center. ... Anyone can review the API reference and use the mocking service endpoints to try the ...",
1092
+ FirstSentences: null
1093
+ },
1094
+ {
1095
+ title: "Salesforce Commerce API | B2C Commerce API",
1096
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
1097
+ printableUri:
1098
+ "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
1099
+ clickUri:
1100
+ "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
1101
+ uniqueId:
1102
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/overview",
1103
+ excerpt:
1104
+ "Build headless commerce experiences fast with a modern developer toolset. ... Get started with the GuidesGo to API Reference ... Required cookies are necessary for basic website functionality.",
1105
+ firstSentences: null,
1106
+ summary: null,
1107
+ flags: "HasHtmlVersion",
1108
+ hasHtmlVersion: true,
1109
+ hasMobileHtmlVersion: false,
1110
+ score: 2572,
1111
+ percentScore: 54.365818,
1112
+ rankingInfo: null,
1113
+ rating: 0,
1114
+ isTopResult: false,
1115
+ isRecommendation: false,
1116
+ isUserActionView: false,
1117
+ titleHighlights: [],
1118
+ firstSentencesHighlights: [],
1119
+ excerptHighlights: [
1120
+ {
1121
+ length: 9,
1122
+ offset: 115
1123
+ }
1124
+ ],
1125
+ printableUriHighlights: [],
1126
+ summaryHighlights: [],
1127
+ parentResult: null,
1128
+ childResults: [],
1129
+ totalNumberOfChildResults: 0,
1130
+ absentTerms: [],
1131
+ raw: {
1132
+ sysauthor: "Salesforce",
1133
+ sysurihash: "HBGhhqbDeh1tNe1S",
1134
+ urihash: "HBGhhqbDeh1tNe1S",
1135
+ permanentid:
1136
+ "738d371b87e5e3cd5c2744f4c2c85bee6bfef59c5127c55a6304978cb236",
1137
+ syslanguage: ["English"],
1138
+ sourcetype: "Sitemap",
1139
+ syssource: "Sitemap - Developer Docs",
1140
+ author: "Salesforce",
1141
+ source: "Sitemap - Developer Docs",
1142
+ collection: "default",
1143
+ syssourcetype: "Sitemap",
1144
+ language: ["English"],
1145
+ syscollection: "default"
1146
+ },
1147
+ Title: "Salesforce Commerce API | B2C Commerce API",
1148
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
1149
+ PrintableUri:
1150
+ "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
1151
+ ClickUri:
1152
+ "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
1153
+ UniqueId:
1154
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/overview",
1155
+ Excerpt:
1156
+ "Build headless commerce experiences fast with a modern developer toolset. ... Get started with the GuidesGo to API Reference ... Required cookies are necessary for basic website functionality.",
1157
+ FirstSentences: null
1158
+ },
1159
+ {
1160
+ title: "Salesforce Commerce API | B2C Commerce API",
1161
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api",
1162
+ printableUri:
1163
+ "https://developer.salesforce.com/docs/commerce/commerce-api",
1164
+ clickUri:
1165
+ "https://developer.salesforce.com/docs/commerce/commerce-api",
1166
+ uniqueId:
1167
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api",
1168
+ excerpt:
1169
+ "Build headless commerce experiences fast with a modern developer toolset. ... Get started with the GuidesGo to API Reference ... Required cookies are necessary for basic website functionality.",
1170
+ firstSentences: null,
1171
+ summary: null,
1172
+ flags: "HasHtmlVersion",
1173
+ hasHtmlVersion: true,
1174
+ hasMobileHtmlVersion: false,
1175
+ score: 2572,
1176
+ percentScore: 54.365818,
1177
+ rankingInfo: null,
1178
+ rating: 0,
1179
+ isTopResult: false,
1180
+ isRecommendation: false,
1181
+ isUserActionView: false,
1182
+ titleHighlights: [],
1183
+ firstSentencesHighlights: [],
1184
+ excerptHighlights: [
1185
+ {
1186
+ length: 9,
1187
+ offset: 115
1188
+ }
1189
+ ],
1190
+ printableUriHighlights: [],
1191
+ summaryHighlights: [],
1192
+ parentResult: null,
1193
+ childResults: [],
1194
+ totalNumberOfChildResults: 0,
1195
+ absentTerms: [],
1196
+ raw: {
1197
+ sysauthor: "Salesforce",
1198
+ sysurihash: "kopHZejdhgQuQtñF",
1199
+ urihash: "kopHZejdhgQuQtñF",
1200
+ permanentid:
1201
+ "61166ba01e5bb3b3dfd2e9d6d961242a031ea1cbb45089722feeff2f5912",
1202
+ syslanguage: ["English"],
1203
+ sourcetype: "Sitemap",
1204
+ syssource: "Sitemap - Developer Docs",
1205
+ author: "Salesforce",
1206
+ source: "Sitemap - Developer Docs",
1207
+ collection: "default",
1208
+ syssourcetype: "Sitemap",
1209
+ language: ["English"],
1210
+ syscollection: "default"
1211
+ },
1212
+ Title: "Salesforce Commerce API | B2C Commerce API",
1213
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api",
1214
+ PrintableUri:
1215
+ "https://developer.salesforce.com/docs/commerce/commerce-api",
1216
+ ClickUri:
1217
+ "https://developer.salesforce.com/docs/commerce/commerce-api",
1218
+ UniqueId:
1219
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api",
1220
+ Excerpt:
1221
+ "Build headless commerce experiences fast with a modern developer toolset. ... Get started with the GuidesGo to API Reference ... Required cookies are necessary for basic website functionality.",
1222
+ FirstSentences: null
1223
+ },
1224
+ {
1225
+ title: "How-To Guides | B2C Commerce API",
1226
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
1227
+ printableUri:
1228
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
1229
+ clickUri:
1230
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
1231
+ uniqueId:
1232
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide",
1233
+ excerpt:
1234
+ "You can see the full capabilities in the API Reference section of the Commerce Cloud Developer Center. ... Anyone can review the API reference and use the mocking service endpoints to try the ...",
1235
+ firstSentences: null,
1236
+ summary: null,
1237
+ flags: "HasHtmlVersion",
1238
+ hasHtmlVersion: true,
1239
+ hasMobileHtmlVersion: false,
1240
+ score: 2505,
1241
+ percentScore: 53.653038,
1242
+ rankingInfo: null,
1243
+ rating: 0,
1244
+ isTopResult: false,
1245
+ isRecommendation: false,
1246
+ isUserActionView: false,
1247
+ titleHighlights: [],
1248
+ firstSentencesHighlights: [],
1249
+ excerptHighlights: [
1250
+ {
1251
+ length: 9,
1252
+ offset: 45
1253
+ },
1254
+ {
1255
+ length: 9,
1256
+ offset: 133
1257
+ }
1258
+ ],
1259
+ printableUriHighlights: [],
1260
+ summaryHighlights: [],
1261
+ parentResult: null,
1262
+ childResults: [],
1263
+ totalNumberOfChildResults: 0,
1264
+ absentTerms: [],
1265
+ raw: {
1266
+ sysauthor: "Salesforce",
1267
+ sysurihash: "zZfrUqHj8vvOCbZO",
1268
+ urihash: "zZfrUqHj8vvOCbZO",
1269
+ permanentid:
1270
+ "c41d98dc483c4ff23be905f2c908e6d3b6fbff1b2af79b3e8f0f5f44cc19",
1271
+ syslanguage: ["English"],
1272
+ sourcetype: "Sitemap",
1273
+ syssource: "Sitemap - Developer Docs",
1274
+ author: "Salesforce",
1275
+ source: "Sitemap - Developer Docs",
1276
+ collection: "default",
1277
+ syssourcetype: "Sitemap",
1278
+ language: ["English"],
1279
+ syscollection: "default"
1280
+ },
1281
+ Title: "How-To Guides | B2C Commerce API",
1282
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
1283
+ PrintableUri:
1284
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
1285
+ ClickUri:
1286
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide",
1287
+ UniqueId:
1288
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide",
1289
+ Excerpt:
1290
+ "You can see the full capabilities in the API Reference section of the Commerce Cloud Developer Center. ... Anyone can review the API reference and use the mocking service endpoints to try the ...",
1291
+ FirstSentences: null
1292
+ },
1293
+ {
1294
+ title: "Headless Commerce | B2C Commerce API",
1295
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
1296
+ printableUri:
1297
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
1298
+ clickUri:
1299
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
1300
+ uniqueId:
1301
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
1302
+ excerpt:
1303
+ "In a headless ecommerce system, the user experience front end runs separately from ... The sample app uses the back-end-for-front-end (sometimes referred to as BFF) design pattern.",
1304
+ firstSentences: null,
1305
+ summary: null,
1306
+ flags: "HasHtmlVersion",
1307
+ hasHtmlVersion: true,
1308
+ hasMobileHtmlVersion: false,
1309
+ score: 2392,
1310
+ percentScore: 52.428936,
1311
+ rankingInfo: null,
1312
+ rating: 0,
1313
+ isTopResult: false,
1314
+ isRecommendation: false,
1315
+ isUserActionView: false,
1316
+ titleHighlights: [],
1317
+ firstSentencesHighlights: [],
1318
+ excerptHighlights: [
1319
+ {
1320
+ length: 8,
1321
+ offset: 145
1322
+ }
1323
+ ],
1324
+ printableUriHighlights: [],
1325
+ summaryHighlights: [],
1326
+ parentResult: null,
1327
+ childResults: [],
1328
+ totalNumberOfChildResults: 0,
1329
+ absentTerms: [],
1330
+ raw: {
1331
+ sysauthor: "Salesforce",
1332
+ sysurihash: "VHefh0obeMV6qfYJ",
1333
+ urihash: "VHefh0obeMV6qfYJ",
1334
+ permanentid:
1335
+ "3862198e633c605ad7e2cc09fbeef2854346b5fc1054926b42c8c7f0e018",
1336
+ syslanguage: ["English"],
1337
+ sourcetype: "Sitemap",
1338
+ syssource: "Sitemap - Developer Docs",
1339
+ author: "Salesforce",
1340
+ source: "Sitemap - Developer Docs",
1341
+ collection: "default",
1342
+ syssourcetype: "Sitemap",
1343
+ language: ["English"],
1344
+ syscollection: "default"
1345
+ },
1346
+ Title: "Headless Commerce | B2C Commerce API",
1347
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
1348
+ PrintableUri:
1349
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
1350
+ ClickUri:
1351
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
1352
+ UniqueId:
1353
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/headless-commerce",
1354
+ Excerpt:
1355
+ "In a headless ecommerce system, the user experience front end runs separately from ... The sample app uses the back-end-for-front-end (sometimes referred to as BFF) design pattern.",
1356
+ FirstSentences: null
1357
+ },
1358
+ {
1359
+ title: "Using Mocking Services | B2C Commerce API",
1360
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
1361
+ printableUri:
1362
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
1363
+ clickUri:
1364
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
1365
+ uniqueId:
1366
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
1367
+ excerpt:
1368
+ "Each Salesforce Commerce API resource has a corresponding mocking service—a service ... From the main menu, select Develop > API Reference. Select a tile (for example, ... checkbox label label",
1369
+ firstSentences: null,
1370
+ summary: null,
1371
+ flags: "HasHtmlVersion",
1372
+ hasHtmlVersion: true,
1373
+ hasMobileHtmlVersion: false,
1374
+ score: 2372,
1375
+ percentScore: 52.209293,
1376
+ rankingInfo: null,
1377
+ rating: 0,
1378
+ isTopResult: false,
1379
+ isRecommendation: false,
1380
+ isUserActionView: false,
1381
+ titleHighlights: [],
1382
+ firstSentencesHighlights: [],
1383
+ excerptHighlights: [
1384
+ {
1385
+ length: 9,
1386
+ offset: 129
1387
+ }
1388
+ ],
1389
+ printableUriHighlights: [],
1390
+ summaryHighlights: [],
1391
+ parentResult: null,
1392
+ childResults: [],
1393
+ totalNumberOfChildResults: 0,
1394
+ absentTerms: [],
1395
+ raw: {
1396
+ sysauthor: "Salesforce",
1397
+ sysurihash: "um4oLðYkvaw4KH2k",
1398
+ urihash: "um4oLðYkvaw4KH2k",
1399
+ permanentid:
1400
+ "1c2c918a3ad5204f8fe86cdc91168b1303a52603e7ce332dacccedc047da",
1401
+ syslanguage: ["English"],
1402
+ sourcetype: "Sitemap",
1403
+ syssource: "Sitemap - Developer Docs",
1404
+ author: "Salesforce",
1405
+ source: "Sitemap - Developer Docs",
1406
+ collection: "default",
1407
+ syssourcetype: "Sitemap",
1408
+ language: ["English"],
1409
+ syscollection: "default"
1410
+ },
1411
+ Title: "Using Mocking Services | B2C Commerce API",
1412
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
1413
+ PrintableUri:
1414
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
1415
+ ClickUri:
1416
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
1417
+ UniqueId:
1418
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/using-mocking-services",
1419
+ Excerpt:
1420
+ "Each Salesforce Commerce API resource has a corresponding mocking service—a service ... From the main menu, select Develop > API Reference. Select a tile (for example, ... checkbox label label",
1421
+ FirstSentences: null
1422
+ },
1423
+ {
1424
+ title: "Security Considerations for Headless Commerce | B2C Commerce API",
1425
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
1426
+ printableUri:
1427
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
1428
+ clickUri:
1429
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
1430
+ uniqueId:
1431
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
1432
+ excerpt:
1433
+ "In this design pattern, referred to as back-end-for-front-end (BFF), the back end of the custom head ... , and security for headless commerce applications, refer to the following documents.",
1434
+ firstSentences: null,
1435
+ summary: null,
1436
+ flags: "HasHtmlVersion",
1437
+ hasHtmlVersion: true,
1438
+ hasMobileHtmlVersion: false,
1439
+ score: 2368,
1440
+ percentScore: 52.165253,
1441
+ rankingInfo: null,
1442
+ rating: 0,
1443
+ isTopResult: false,
1444
+ isRecommendation: false,
1445
+ isUserActionView: false,
1446
+ titleHighlights: [],
1447
+ firstSentencesHighlights: [],
1448
+ excerptHighlights: [
1449
+ {
1450
+ length: 8,
1451
+ offset: 24
1452
+ },
1453
+ {
1454
+ length: 5,
1455
+ offset: 156
1456
+ }
1457
+ ],
1458
+ printableUriHighlights: [],
1459
+ summaryHighlights: [],
1460
+ parentResult: null,
1461
+ childResults: [],
1462
+ totalNumberOfChildResults: 0,
1463
+ absentTerms: [],
1464
+ raw: {
1465
+ sysauthor: "Salesforce",
1466
+ sysurihash: "DddEPYErZyvouxB6",
1467
+ urihash: "DddEPYErZyvouxB6",
1468
+ permanentid:
1469
+ "099ffe38332ec3f9d96ae3d53368ed47720467b85d48533f046bfe02176d",
1470
+ syslanguage: ["English"],
1471
+ sourcetype: "Sitemap",
1472
+ syssource: "Sitemap - Developer Docs",
1473
+ author: "Salesforce",
1474
+ source: "Sitemap - Developer Docs",
1475
+ collection: "default",
1476
+ syssourcetype: "Sitemap",
1477
+ language: ["English"],
1478
+ syscollection: "default"
1479
+ },
1480
+ Title: "Security Considerations for Headless Commerce | B2C Commerce API",
1481
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
1482
+ PrintableUri:
1483
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
1484
+ ClickUri:
1485
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
1486
+ UniqueId:
1487
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/security-considerations-for-headless-commerce",
1488
+ Excerpt:
1489
+ "In this design pattern, referred to as back-end-for-front-end (BFF), the back end of the custom head ... , and security for headless commerce applications, refer to the following documents.",
1490
+ FirstSentences: null
1491
+ },
1492
+ {
1493
+ title: "Throttle Rates | B2C Commerce API",
1494
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
1495
+ printableUri:
1496
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
1497
+ clickUri:
1498
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
1499
+ uniqueId:
1500
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
1501
+ excerpt:
1502
+ "Customers can rely on a defined service availability and a consistent quality across ... For further details, please refer to Governance and Quotas in our Commerce Cloud B2C documentation.",
1503
+ firstSentences: null,
1504
+ summary: null,
1505
+ flags: "HasHtmlVersion",
1506
+ hasHtmlVersion: true,
1507
+ hasMobileHtmlVersion: false,
1508
+ score: 2225,
1509
+ percentScore: 50.565636,
1510
+ rankingInfo: null,
1511
+ rating: 0,
1512
+ isTopResult: false,
1513
+ isRecommendation: false,
1514
+ isUserActionView: false,
1515
+ titleHighlights: [],
1516
+ firstSentencesHighlights: [],
1517
+ excerptHighlights: [
1518
+ {
1519
+ length: 5,
1520
+ offset: 117
1521
+ }
1522
+ ],
1523
+ printableUriHighlights: [],
1524
+ summaryHighlights: [],
1525
+ parentResult: null,
1526
+ childResults: [],
1527
+ totalNumberOfChildResults: 0,
1528
+ absentTerms: [],
1529
+ raw: {
1530
+ sysauthor: "Salesforce",
1531
+ sysurihash: "jcfvTjoFRxErSO99",
1532
+ urihash: "jcfvTjoFRxErSO99",
1533
+ permanentid:
1534
+ "c69af9cb82b6ad94759867ec395c734aee28bf1b465bd58566f402990ab3",
1535
+ syslanguage: ["English"],
1536
+ sourcetype: "Sitemap",
1537
+ syssource: "Sitemap - Developer Docs",
1538
+ author: "Salesforce",
1539
+ source: "Sitemap - Developer Docs",
1540
+ collection: "default",
1541
+ syssourcetype: "Sitemap",
1542
+ language: ["English"],
1543
+ syscollection: "default"
1544
+ },
1545
+ Title: "Throttle Rates | B2C Commerce API",
1546
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
1547
+ PrintableUri:
1548
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
1549
+ ClickUri:
1550
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
1551
+ UniqueId:
1552
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/throttle-rates",
1553
+ Excerpt:
1554
+ "Customers can rely on a defined service availability and a consistent quality across ... For further details, please refer to Governance and Quotas in our Commerce Cloud B2C documentation.",
1555
+ FirstSentences: null
1556
+ },
1557
+ {
1558
+ title: "Commerce API Authentication | B2C Commerce API",
1559
+ uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
1560
+ printableUri:
1561
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
1562
+ clickUri:
1563
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
1564
+ uniqueId:
1565
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
1566
+ excerpt:
1567
+ "Shopper APIs target the persona of a storefront shopper. ... However if you do not have one, refer to the Add an API Client ID documentation in the Commerce Cloud Infocenter. ... Contents",
1568
+ firstSentences: null,
1569
+ summary: null,
1570
+ flags: "HasHtmlVersion",
1571
+ hasHtmlVersion: true,
1572
+ hasMobileHtmlVersion: false,
1573
+ score: 2135,
1574
+ percentScore: 49.532402,
1575
+ rankingInfo: null,
1576
+ rating: 0,
1577
+ isTopResult: false,
1578
+ isRecommendation: false,
1579
+ isUserActionView: false,
1580
+ titleHighlights: [],
1581
+ firstSentencesHighlights: [],
1582
+ excerptHighlights: [
1583
+ {
1584
+ length: 5,
1585
+ offset: 93
1586
+ }
1587
+ ],
1588
+ printableUriHighlights: [],
1589
+ summaryHighlights: [],
1590
+ parentResult: null,
1591
+ childResults: [],
1592
+ totalNumberOfChildResults: 0,
1593
+ absentTerms: [],
1594
+ raw: {
1595
+ sysauthor: "Salesforce",
1596
+ sysurihash: "RELTQ5QY0nrmF1q4",
1597
+ urihash: "RELTQ5QY0nrmF1q4",
1598
+ permanentid:
1599
+ "f370d4635ee77c76b56b3b3cc4f58a7d30da34ae9c0d9434eff1cae28f55",
1600
+ syslanguage: ["English"],
1601
+ sourcetype: "Sitemap",
1602
+ syssource: "Sitemap - Developer Docs",
1603
+ author: "Salesforce",
1604
+ source: "Sitemap - Developer Docs",
1605
+ collection: "default",
1606
+ syssourcetype: "Sitemap",
1607
+ language: ["English"],
1608
+ syscollection: "default"
1609
+ },
1610
+ Title: "Commerce API Authentication | B2C Commerce API",
1611
+ Uri: "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
1612
+ PrintableUri:
1613
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
1614
+ ClickUri:
1615
+ "https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
1616
+ UniqueId:
1617
+ "42.47776$https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication",
1618
+ Excerpt:
1619
+ "Shopper APIs target the persona of a storefront shopper. ... However if you do not have one, refer to the Add an API Client ID documentation in the Commerce Cloud Infocenter. ... Contents",
1620
+ FirstSentences: null
1621
+ }
1622
+ ],
1623
+ searchResponseId: "8a6d9677-9727-4f7e-a8cc-57ced0979955",
1624
+ requestId: "fpSYkEKa1uki12G1LY3vi"
1625
+ },
1626
+ fields: {
1627
+ fieldsToInclude: [
1628
+ "author",
1629
+ "language",
1630
+ "urihash",
1631
+ "objecttype",
1632
+ "collection",
1633
+ "source",
1634
+ "permanentid",
1635
+ "sfhtml_url__c"
1636
+ ],
1637
+ fetchAllFields: false,
1638
+ fieldsDescription: []
1639
+ },
1640
+ pagination: {
1641
+ firstResult: 0,
1642
+ numberOfResults: 20,
1643
+ totalCountFiltered: 11
1644
+ },
1645
+ query: {
1646
+ q: "reference",
1647
+ enableQuerySyntax: false
1648
+ },
1649
+ querySuggest: {
1650
+ search_boxvffhkl7: {
1651
+ id: "search_boxvffhkl7",
1652
+ completions: [],
1653
+ responseId: "3f34c050-e2db-4fc6-ab1f-78bbb0b8cb8c",
1654
+ count: 3,
1655
+ q: "reference",
1656
+ currentRequestId: "UlYxJmU4rWLeHsPbK59qc",
1657
+ error: null,
1658
+ partialQueries: ["reference"],
1659
+ isLoading: false
1660
+ }
1661
+ },
1662
+ querySet: {
1663
+ search_boxvffhkl7: "reference"
1664
+ },
1665
+ advancedSearchQueries: {
1666
+ cq: "",
1667
+ cqWasSet: false,
1668
+ aq: '(@source=="Sitemap - Developer Docs")(@path_segment_3=="commerce-api")',
1669
+ aqWasSet: false,
1670
+ lq: "",
1671
+ lqWasSet: false,
1672
+ defaultFilters: {
1673
+ cq: "",
1674
+ aq: '(@source=="Sitemap - Developer Docs")(@path_segment_3=="commerce-api")',
1675
+ lq: ""
1676
+ }
1677
+ }
1678
+ };