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

setDefaultBillingAddressMutation

Portion of the GraphQL query used in the setDefaultBillingAddress API endpoint

setDefaultBillingAddressMutation = "\n  mutation setDefaultBillingAddress(
	$version: Long!,
	$actions: [MyCustomerUpdateAction!]!,
	$storeKey: KeyReferenceInput
) {\n    user: updateMyCustomer(version: $version,
	actions: $actions,
	storeKey: $storeKey) {\n      ...DefaultCustomer\n    }\n  }\n"