You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > ApiClientFactoryParams > onCreate

ApiClientFactoryParams.onCreate property

Signature:

onCreate: (config: T, headers?: Record<string, string>) => {
        config: T;
        client: any;
    };