You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
setDefaultShippingAddressMutation
Portion of the GraphQL query used in the setDefaultShippingAddress API endpoint
setDefaultShippingAddressMutation = "\n mutation setDefaultShippingAddress(
$version: Long!,
$actions: [MyCustomerUpdateAction!]!,
$storeKey: KeyReferenceInput
) {\n user: updateMyCustomer(version: $version,
actions: $actions,
storeKey: $storeKey) {\n ...DefaultCustomer\n }\n }\n"