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

# addShippingAddress() function

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

Signature:

export declare function addShippingAddress(context: Context, params: AddShippingAddressParams, customQuery?: CustomQuery): Promise<AddShippingAddressResponse>;

# Parameters

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

Returns:

Promise<AddShippingAddressResponse>

User information