Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

deleteBillingAddress

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: SetupContext,
	params: DeleteBillingAddressParams,
	customQuery?: CustomQuery,
	responseOptions?: ResponseOptions
): Promise<DeleteBillingAddressResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredSetupContextAutomatically injected context. Refer to SetupContext
paramsRequiredDeleteBillingAddressParamsUser and address information
customQueryOptionalCustomQueryCustom queries included in the request
responseOptionsOptionalResponseOptions

Returns

Customer data

Referenced Types

On this page