• Preparing search index...
  • The search index is not available
@salesforce/commerce-sdk-react
  • @salesforce/commerce-sdk-react
  • useConfig

Function useConfig

  • useConfig(): Omit<CommerceApiProviderProps, "children" | "apiClients">
  • Returns Omit<CommerceApiProviderProps, "children" | "apiClients">

    Internal

    • Defined in src/hooks/useConfig.ts:14

Settings

Member Visibility

Theme

@salesforce/commerce-sdk-react
  • Components
    • CommerceApiProvider
  • Helpers
    • DNT
      • useDNT
    • Other
      • useCommerceApi
    • Shopper Authentication
      • AuthHelpers
      • AuthHelper
      • useAccessToken
      • useAuthHelper
      • useCustomerId
      • useCustomerType
      • useEncUserId
      • useTrustedAgent
      • useUsid
  • ShopperBaskets
    • Mutation
      • ShopperBasketsMutations
      • ShopperBasketsMutation
      • useShopperBasketsMutation
    • Query
      • useBasket
      • usePaymentMethodsForBasket
      • usePriceBooksForBasket
      • useShippingMethodsForShipment
      • useTaxesFromBasket
  • ShopperContexts
    • Mutation
      • ShopperContextsMutations
      • ShopperContextsMutation
      • useShopperContextsMutation
    • Query
      • useShopperContext
  • ShopperCustomers
    • Mutation
      • ShopperCustomersMutations
      • ShopperCustomersMutation
      • useShopperCustomersMutation
    • Query
      • useCustomer
      • useCustomerAddress
      • useCustomerBaskets
      • useCustomerOrders
      • useCustomerPaymentInstrument
      • useCustomerProductList
      • useCustomerProductListItem
      • useCustomerProductLists
      • useProductListItem
      • usePublicProductList
      • usePublicProductListsBySearchTerm
  • ShopperExperience
    • Query
      • usePage
      • usePages
  • ShopperGiftCertificates
    • Query
      • useGiftCertificate
  • ShopperLogin
    • Mutation
      • ShopperLoginMutations
      • ShopperLoginMutation
      • useShopperLoginMutation
    • Query
      • useJwksUri
      • useUserInfo
      • useWellknownOpenidConfiguration
  • ShopperOrders
    • Mutation
      • ShopperOrdersMutations
      • ShopperOrdersMutation
      • useShopperOrdersMutation
    • Query
      • useOrder
      • usePaymentMethodsForOrder
      • useTaxesFromOrder
  • ShopperProducts
    • Query
      • useCategories
      • useCategory
      • useProduct
      • useProducts
  • ShopperPromotions
    • Query
      • usePromotions
      • usePromotionsForCampaign
  • ShopperSearch
    • Query
      • useProductSearch
      • useSearchSuggestions
  • Functions
    • useConfig
    • useCustomMutation
    • useCustomQuery
    • useShopperBasketsMutationHelper
  • Interfaces
    • ApiClients
    • SDKClientTransformConfig
  • Modules
    • <internal>
  • SearchStores
    • Query
      • useSearchStores
      • useStores
  • ShopperSEO
    • Query
      • useUrlMapping
  • Type Aliases
    • ApiClient
    • ApiClientConfigParams
    • ApiMethod
    • ApiOptions
    • ApiQueryKey
    • ApiQueryOptions
    • Argument
    • CacheUpdate
    • CacheUpdateGetter
    • CacheUpdateInvalidate
    • CacheUpdateMatrix
    • CacheUpdateRemove
    • CacheUpdateUpdate
    • DataType
    • ErrorCallback
    • ExcludeTail
    • MergedOptions
    • NullToOptional
    • NullableParameters
    • OmitNullableParameters
    • OptionalCustomEndpointClientConfig
    • Prettify
    • RemoveStringIndex
    • RequireKeys
    • SDKClientTransformer
    • TMutationVariables
    • Tail
    • useCustomerType