Type aliases
Static AsyncCreated
AsyncCreated: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:287
Static AttributeDefinition
Attribute
Definition: { defaultValue?: PropertyValueDefinition ; description: L10nString ; id?: string ; key?: boolean ; localizable?: boolean ; mandatory?: boolean ; max?: number ; min?: number ; minLength?: number ; multiValueType?: boolean ; name: L10nString ; possibleValues?: Array < PropertyValueDefinition > ; regularExpression?: string ; scale?: number ; searchable?: boolean ; siteSpecific?: boolean ; system?: boolean ; type: string ; unit?: L10nString ; visible?: boolean }
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:208
Type declaration
Optional id?: string
Optional key?: boolean
Optional localizable?: boolean
Optional mandatory?: boolean
Optional max?: number
Optional min?: number
Optional minLength?: number
Optional multiValueType?: boolean
Optional regularExpression?: string
Optional scale?: number
Optional searchable?: boolean
Optional siteSpecific?: boolean
Optional system?: boolean
type: string
Optional visible?: boolean
Static BadRequest
BadRequest: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:251
Static BoolFilter
Bool
Filter: { filters?: Array < Filter > ; operator: string } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:91
Static BoolQuery
Bool
Query: { must?: Array < Query > ; mustNot?: Array < Query > ; should?: Array < Query > } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:153
Static ChangeControlled
ChangeControlled: { createdBy?: string ; creationDate?: any ; lastModifiedBy?: string ; modificationDate?: any } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:264
Static ChangeControlledDataType
ChangeControlledDataType: { createdBy?: string ; creationDate?: any ; lastModifiedBy?: string ; modificationDate?: any } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:301
Static ClosedObject
ClosedObject: {} & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:72
Static DateConditionalRequest
DateConditionalRequest: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:281
Static DateRangeFilter
DateRangeFilter: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:271
Static DatetimeRangeFilter
DatetimeRangeFilter: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:299
Static Error
Error: { detail?: string ; instance?: string ; title?: string ; type: string } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:308
Static ErrorResponse
ErrorResponse: { detail?: string ; instance?: string ; title?: string ; type: string } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:257
Static EtagConditionalRequest
EtagConditionalRequest: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:285
Static EtagResponse
EtagResponse: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:273
Static Filter
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:172
Static FilteredQuery
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:108
Static IntegerRangeFilter
IntegerRangeFilter: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:275
Static L10nString
L10nString: {} & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:205
Static LocaleSpecific
LocaleSpecific: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:16
Static LocalizedString
LocalizedString: {} & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:60
Static MatchAllQuery
MatchAllQuery: {} & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:105
Static Money
Money: { currencyMnemonic?: string ; value?: number } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:18
Static MoneyMnemonic
MoneyMnemonic: { currencyMnemonic?: string ; value?: number } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:200
Static NestedQuery
Nested
Query: { path: string ; query: Query ; scoreMode?: string } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:166
Static NoPropertiesAllowed
NoPropertiesAllowed: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:86
Static NotFound
NotFound: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:255
Static NumericRangeFilter
NumericRangeFilter: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:297
Static OffsetPaginated
OffsetPaginated: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:293
Static OpenObject
OpenObject: {} & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:75
Static PaginatedSearchResult
Paginated
SearchResult: { hits?: Array < object > ; limit: number ; offset: any ; query: Query ; sorts?: Array < Sort > ; total: any } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:63
Static PaginatedSearchResultBase
Paginated
SearchResultBase: { hits?: Array < object > ; limit: number ; offset: any ; query: Query ; sorts?: Array < Sort > ; total: any } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:96
Static PropertyDefinition
Property
Definition: { defaultValue?: PropertyValueDefinition ; description: L10nString ; id?: string ; key?: boolean ; localizable?: boolean ; mandatory?: boolean ; max?: number ; min?: number ; minLength?: number ; multiValueType?: boolean ; name: L10nString ; possibleValues?: Array < PropertyValueDefinition > ; regularExpression?: string ; scale?: number ; searchable?: boolean ; siteSpecific?: boolean ; system?: boolean ; type: string ; unit?: L10nString ; visible?: boolean } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:37
Static PropertyValueDefinition
Property
ValueDefinition: { description: L10nString ; displayValue: L10nString ; id: string ; position?: number ; value: string }
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:230
Type declaration
id: string
Optional position?: number
value: string
Static Query
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:117
Static QueryFilter
Query
Filter: { query: Query } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:113
Static QueryParamsLimit
QueryParamsLimit: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:78
Static QueryParamsOffset
QueryParamsOffset: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:80
Static Range2Filter
Range2Filter: { filterMode?: string ; fromField: string ; fromInclusive?: boolean ; fromValue?: any ; toField: string ; toInclusive?: boolean ; toValue?: any } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:143
Static RangeFilter
RangeFilter: { field: string ; from?: any ; fromInclusive?: boolean ; to?: any ; toInclusive?: boolean } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:185
Static RateLimited
RateLimited: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:289
Static RateLimited2
RateLimited2: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:291
Static RateLimited3
RateLimited3: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:277
Static RateLimited4
RateLimited4: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:295
Static RateLimited5
RateLimited5: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:283
Static SearchRequest
Search
Request: { limit?: number ; offset?: any ; query: Query ; sorts?: Array < Sort > } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:30
Static SearchRequestBase
Search
RequestBase: { limit?: number ; offset?: any ; query: Query ; sorts?: Array < Sort > } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:193
Static Selectable
Selectable: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:84
Static SimpleSearchResult
SimpleSearchResult: { hits?: Array < object > ; limit: number ; offset: any ; total: any } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:23
Static SimpleSearchResultBase
SimpleSearchResultBase: { hits?: Array < object > ; limit: number ; offset: any ; total: any } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:159
Static SiteSpecific
SiteSpecific: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:82
Static Sort
Sort: { field: string ; sortOrder?: string } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:180
Static SpecifiedPropertiesAllowed
SpecifiedPropertiesAllowed: {} & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:88
Static SyncCreated
SyncCreated: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:279
Static TermFilter
TermFilter: { field: string ; operator: string ; values?: Array < any > } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:132
Static TermQuery
TermQuery: { fields: Array < string > ; operator: string ; values?: Array < any > } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:126
Static TextQuery
TextQuery: { fields: Array < string > ; searchPhrase: string } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:138
Static Unauthorized
Unauthorized: {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:253
Static UrlMapping
UrlMapping: { additionalUrlParams?: string ; copySourceParams?: boolean ; destinationUrl?: string ; productCategoryId?: string ; refinements?: {} & {} ; resourceId?: string ; resourceSubType?: string ; resourceType?: string ; statusCode?: number } & {}
Defined in renderedTemplates/customer/shopperSeo/shopperSeo.ts:237
Shopper Seo
**
Example with shopper auth
API Version: 1.0.9import { Customer, ClientConfig, Customer, slasHelpers } from "commerce-sdk"; // or const { Customer, ClientConfig, Customer, slasHelpers } = require("commerce-sdk"); const clientConfig: ClientConfig = { parameters: { clientId: "XXXXXX", organizationId: "XXXX", shortCode: "XXX", siteId: "XX" } }; // must be registered in SLAS. On server, redirectURI is never called const redirectURI = "http://localhost:3000/callback"; const slasClient = new Customer.ShopperLogin(clientConfig); token = await slasHelpers.loginGuestUser(slasClient, { redirectURI }); clientConfig.headers['authorization'] = `Bearer ${token.access_token}`; const shopperSeoClient = new Customer.ShopperSeo(clientConfig);
Last Updated: