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

updateBillingAddress

Endpoint for updating billing address of the current user. By default, it uses the updateBillingAddressDefaultQuery GraphQL query

Signature

export declare function updateBillingAddress(
	context: SetupContext,
	params: UpdateBillingAddressParams,
	customQuery?: CustomQuery,
	responseOptions?: ResponseOptions
): Promise<UpdateBillingAddressResponse>;

Parameters

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

Returns

User information

Referenced Types

On this page