You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
UpdateShippingAddressParams
Parameters for the updateShippingAddress API endpoint
export interface UpdateShippingAddressParams {
address: AddressInput & {
isDefault?: boolean;
};
user: {
defaultShippingAddressId: string;
version: string;
};
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
address | Required | AddressInput & { isDefault?: boolean; } | Updated shipping address |
user | Required | { defaultShippingAddressId: string; version: string; } | Current user |