Home > @vsf-enterprise/commercetools-api > updateBillingAddress

# updateBillingAddress() function

Endpoint for updating billing address of the current user. By default, it uses the updateBillingAddressDefaultQuery GraphQL query

Signature:

export declare function updateBillingAddress(context: Context, params: UpdateBillingAddressParams, customQuery?: CustomQuery): Promise<UpdateBillingAddressResponse>;

# Parameters

Parameter Type Description
context Context Automatically injected context. Refer to Context
params UpdateBillingAddressParams Address and user information
customQuery CustomQuery Custom queries included in the request

Returns:

Promise<UpdateBillingAddressResponse>

User information