Home > @shopware-pwa/shopware-6-client > ShopwareApiInstance
# ShopwareApiInstance interface
Signature:
export interface ShopwareApiInstance
# Properties
Property | Type | Description |
---|---|---|
_axiosInstance | AxiosInstance | We expose axios instance for advanced use. You might cause some side effects, use with caution. |
config | ClientSettings | |
defaults | AxiosInstance["defaults"] | |
invoke | { post: AxiosInstance["post"]; get: AxiosInstance["get"]; put: AxiosInstance["put"]; patch: AxiosInstance["patch"]; delete: AxiosInstance["delete"]; } | |
onConfigChange | (fn: (context: ConfigChangedArgs) => void) => void | |
setup | (config?: ClientSettings) => void | |
update | (config?: ClientSettings) => void |