WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

OnboardingProfile::update_items() public WC 1.0

Update onboarding profile data.

{} It's a method of the class: OnboardingProfile{}

No Hooks.

Return

WP_Error|WP_REST_Response. Nothing.

Usage

$OnboardingProfile = new OnboardingProfile();
$OnboardingProfile->update_items( $request );
$request(WP_REST_Request) (required)
Request data.

Code of OnboardingProfile::update_items() WC 5.3.0

<?php
public function update_items( $request ) {
	$params          = $request->get_json_params();
	$query_args      = $this->prepare_objects_query( $params );
	$onboarding_data = (array) get_option( Onboarding::PROFILE_DATA_OPTION, array() );
	update_option( Onboarding::PROFILE_DATA_OPTION, array_merge( $onboarding_data, $query_args ) );

	$result = array(
		'status'  => 'success',
		'message' => __( 'Onboarding profile data has been updated.', 'woocommerce' ),
	);

	$response = $this->prepare_item_for_response( $result, $request );
	$data     = $this->prepare_response_for_collection( $response );

	return rest_ensure_response( $data );
}