Skip to main content

Type Alias: FetchProductForStoresProps

FetchProductForStoresProps = object & ProductIdentifier

Properties to look a single product up across several stores.

The product comes back once per store in storeIds that carries it, in the same order, and stores that don't carry it are omitted. SmartSortProduct.storeId on each item reports the store.

Type Declaration​

searchAttributes​

searchAttributes: string[]

storeIds​

storeIds: number[]

The stores to check, in priority order. At most 5; stores after the fifth are ignored.