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

# deleteBillingAddress() function

Endpoint for deleting saved billing address of the currently logged user based on provided ID. By default, it uses the deleteBillingAddressDefaultQuery GraphQL query

Signature:

export declare function deleteBillingAddress(context: Context, params: DeleteBillingAddressParams, customQuery?: CustomQuery): Promise<DeleteBillingAddressResponse>;

# Parameters

Parameter Type Description
context Context Automatically injected context. Refer to Context
params DeleteBillingAddressParams User and address information
customQuery CustomQuery Custom queries included in the request

Returns:

Promise<DeleteBillingAddressResponse>

Customer data