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

# addBillingAddress() function

Endpoint for adding new billing address for the current user. By default, it uses the addBillingAddressDefaultQuery GraphQL query

Signature:

export declare function addBillingAddress(context: Context, params: AddBillingAddressParams, customQuery?: CustomQuery): Promise<AddBillingAddressResponse>;

# Parameters

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

Returns:

Promise<AddBillingAddressResponse>

User information