• Access a set of initialized Commerce API clients, which are initialized using the configurations passed to the CommerceApiProvider.

    Returns ApiClients

    Commerce API clients

  • Access a specific initialized Commerce API client with validation.

    Type Parameters

    Parameters

    • clientName: T

      The name of the client to retrieve

    Returns NonNullable<ApiClients[T]>

    The specified Commerce API client (guaranteed to be non-null)

    Throws

    Error if the specified client is not initialized