Home > @shopware-pwa/shopware-6-client > ShopwareApiInstance

# ShopwareApiInstance interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

export interface ShopwareApiInstance 

# Properties

Property Type Description
config ClientSettings (BETA)
defaults AxiosInstance["defaults"] (BETA)
invoke { post: AxiosInstance["post"]; get: AxiosInstance["get"]; put: AxiosInstance["put"]; patch: AxiosInstance["patch"]; delete: AxiosInstance["delete"]; } (BETA)
onConfigChange (fn: (context: ConfigChangedArgs) => void) => void (BETA)
setup (config?: ClientSettings) => void (BETA)
update (config?: ClientSettings) => void (BETA)