Alokai
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

NameRequiredTypeDescription
addressRequiredAddressInput & { isDefault?: boolean; }Updated shipping address
userRequired{ defaultShippingAddressId: string; version: string; }Current user

Referenced Types

On this page