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

addBillingAddress

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

Signature

export declare function addBillingAddress(
	context: SetupContext,
	params: AddBillingAddressParams,
	customQuery?: CustomQuery,
	responseOptions?: ResponseOptions
): Promise<any>;

Parameters

NameRequiredTypeDescription
contextRequiredSetupContextAutomatically injected context. Refer to SetupContext
paramsRequiredAddBillingAddressParamsAddress information and user version
customQueryOptionalCustomQueryCustom queries included in the request
responseOptionsOptionalResponseOptions

Returns

User information

Referenced Types

On this page