Home > @vsf-enterprise/bigcommerce-theme > UseUserShippingInterface
# UseUserShippingInterface interface
Data and methods returned from the useUserShipping() composable
Signature:
export interface UseUserShippingInterface
# Properties
Property | Type | Description |
---|---|---|
error | Ref<UseUserShippingErrors> | Contains errors from the composable methods. |
loading | Ref<boolean> | Indicates whether any of the methods is in progress. |
# Methods
Method | Description |
---|---|
addAddress(address) | Adds customers new shipping address. |
deleteAddress(address) | Removes customers shipping address. |
load(params) | Loads current customer shipping information. |
updateAddress(address) | Updates customers shipping address. |