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

Home > @vue-storefront/core > ApiClientExtensionHooks

ApiClientExtensionHooks interface

Signature:

export interface ApiClientExtensionHooks<C = any> 

Properties

Property Modifiers Type Description
afterCall? (params: AfterCallParams<C>) => AfterCallArgs (Optional)
afterCreate? (params: HookParams<C>) => C (Optional)
beforeCall? (params: BeforeCallParams<C>) => BeforeCallArgs (Optional)
beforeCreate? (params: HookParams<C>) => C (Optional)